Allow runtime args when invoking interactive shell
authorStavros Sachtouris <saxtouri@admin.grnet.gr>
Mon, 13 May 2013 13:53:20 +0000 (16:53 +0300)
committerStavros Sachtouris <saxtouri@admin.grnet.gr>
Mon, 13 May 2013 13:53:20 +0000 (16:53 +0300)
commite3c2c890b117e4575814f7581f561d1205f7dde5
treeddc1162b1f2443fa7655b220c2bd5290270c63f4
parent54f5d0ca8fc57bba955a77037fe16fd93d8b4362
Allow runtime args when invoking interactive shell

Refs: #3716

Behavior After This:
kamaki -XXX -YY ... parses -XXX -YY
If not recognized: syntax error
If recognized, group them into shell args (e.g. -h) and command args (e.g. -d)
Whenever a command is run in this shell instance, apply the command args

Practically, users may pass the -d or -v args to the shell and enjoy streaming
debug or verbosity logs, without having to pass -d or -v args on each command
kamaki/cli/command_shell.py