Following is a example:
$: test_command -a 'aaa' -b 'bbb' content
$: test_command content -a 'aaa' -b 'bbb'
$: test_command -a 'aaa' content -b 'bbb'
I want to get the content
for above all cases, is there a robust way to do this use OptionParser?
Thanks