Thank you @xigoi, @cblake, unfortunately on Windows (my environment) the smart
trick to pass the literal Tab to program
cmdtest --sep:$'\t'
Run
on CMD shell produces
$'\t'a$'\t'test
Run
and I didn't yet found alternatives. However on Windows PowerShell
.\cmdtest -s:`t
just a test
Run
does work. However this OS environment + shell dependency does not make it the
right way to go. While \t is pretty "standard" convention for Tab, `t is not.
Thank you for your suggestion of cligen, it seems pretty powerful (the --help
API auto-documentation alone is well worth to consider it).