Statistics
| Branch: | Tag: | Revision:

root / kamaki / cli / utils.py @ 852a22e7

History | View | Annotate | Download (5 kB)

# Date Author Comment
db950b10 11/14/2012 05:26 pm Stavros Sachtouris

Use CLIErrors in shell

f551841a 11/14/2012 05:01 pm Stavros Sachtouris

Improve print_list/dict

6514457a 11/13/2012 05:54 pm Stavros Sachtouris

Adjust interactive shell to new kamaki order

0d249b3e 11/12/2012 07:19 pm Stavros Sachtouris

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...

f93854ae 11/05/2012 05:46 pm Stavros Sachtouris

Restore color dummys

3dabe5d2 11/02/2012 01:16 pm Stavros Sachtouris

Make all source pep8 compliant

fd5db045 10/31/2012 07:02 pm Stavros Sachtouris

pep8 part of kamaki (from root to cli)

67cea04c 10/29/2012 04:11 pm Stavros Sachtouris

Set colors off by default

d9325478 10/05/2012 06:03 pm Stavros Sachtouris

Refactor command-tree. Better code, still buggy

aa7f7bff 09/28/2012 05:58 pm Stavros Sachtouris

Complete one-command CLI, but still doesn't work

missing:
1. fix the command_specs with new argument system
2. Maybe take advantage of the arbitary length of command terms for more
expressive syntax/semantics

0b368c8c 09/27/2012 07:47 pm Stavros Sachtouris

Refactor CommandTree, parse and get cli class

017d37ce 09/25/2012 07:14 pm Stavros Sachtouris

Test CommandTree usage and notice it's no good

CommandTree is not as convinient to use as planned, maybe it should
be redesinged

dfee2caf 09/25/2012 05:48 pm Stavros Sachtouris

Fix CLI top level error handling

9bdc89da 09/25/2012 04:50 pm Stavros Sachtouris

Argument object handles part of the functionality

+minor fixes

926d6863 09/21/2012 07:01 pm Stavros Sachtouris

Basic CommandTree debugging and other minor fixes

f997679d 09/21/2012 06:07 pm Stavros Sachtouris

Start a great deal of CLI modifictions

Argument class wraps python ArgumentParser to provide a convinient arg system
CommandTree class manages (store, load, seek, etc) a tree of command paths
and loads them from command spec files.

Under heavy development...

7493ccb6 09/04/2012 06:57 pm Stavros Sachtouris

Correct repackaging, minor server list improvement