Allow clis to overide command load implementation
authorStavros Sachtouris <saxtouri@admin.grnet.gr>
Mon, 12 Nov 2012 17:19:05 +0000 (19:19 +0200)
committerStavros Sachtouris <saxtouri@admin.grnet.gr>
Mon, 12 Nov 2012 17:19:05 +0000 (19:19 +0200)
commit0d249b3e4487029533e04c2b22b7a662cbcaf0df
tree8fdbcf1d9d1a8318bc34cd96bdbbbece1cca11cf
parent78496d42ce7a91d48926efde41be787dea6afa52
Allow clis to overide command load implementation

Still buggy and experimental, but if a cli don't use the command
decorator, but implement another way of loading class info to
a _commands list of CommandTrees, kamaki can still use this cli.

This will allow clis to extent CommandTrees in order to provide
commands and command informationon demmand (dynamically)
kamaki/cli/argument.py
kamaki/cli/command_tree.py
kamaki/cli/commands/test_cli.py
kamaki/cli/new.py
kamaki/cli/utils.py