Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (9.4 kB)

# Date Author Comment
852a22e7 11/19/2012 02:01 pm Stavros Sachtouris

Upgrade progress compatibility to 1.0.2

New progress uses a different interface with start and finish methods
that they are now used

71882bca 11/14/2012 03:10 pm Stavros Sachtouris

Apply total error handling

d486baec 11/14/2012 01:38 pm Stavros Sachtouris

Complete UI/cli interface refactoring, minor bugs

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

af6de846 11/09/2012 03:45 pm Stavros Sachtouris

Start refactoring main CLI

Aims:
- cleaner cli load-point code
- move more argument logic to argument module
- move command loading to the seperate service cli modules:
each command spec module will provide a mechanism for loading
command interfaces (all of them or specific cmds)

fd1f1d96 11/08/2012 02:48 pm Stavros Sachtouris

NEW server method: wait_server + cli command

wait for server to reach state (e.g. while building)

0a0b9fb6 11/07/2012 04:26 pm Stavros Sachtouris

Modify KeyValueArgument and CmdConfigArgument

KeyValueArgument now accepts only one key=value pair but can be
repeated:
--property key1=val1 --property key2=val2

CmdCondigArguemtn sets global prefix by default
-o account=
is now equivalent to...

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)

455b362d 10/29/2012 03:52 pm Stavros Sachtouris

Change syntax for KeyValue properties

old syntax: --property "key1=val1 key2=val2 ..."
new syntax: --property key1=val1,key2-val2,...

23803b28 10/29/2012 02:47 pm Stavros Sachtouris

Fix parse error in argument parsing

c270fe96 10/26/2012 04:18 pm Stavros Sachtouris

Remove relative imports from all pkgs, fix astakos

astakos imports an anused (and soon deprecated) module

b9331a9f 10/15/2012 04:32 pm Stavros Sachtouris

Seperate shell from one-command cli

e5fb02b4 10/12/2012 03:01 pm Stavros Sachtouris

Remove some debug msgs

ffaf6783 10/12/2012 02:57 pm Stavros Sachtouris

Shell can run cmds with args ony from context

0f653327 10/11/2012 12:47 pm Stavros Sachtouris

Minor improvements

b46307af 10/08/2012 07:15 pm Stavros Sachtouris

History as command

bd04712a 10/08/2012 06:14 pm Stavros Sachtouris

Remove History Argument

f3e94e06 10/08/2012 05:55 pm Stavros Sachtouris

Adjust cyclades clis, rearange command locations

f247bcb4 10/08/2012 01:20 pm Stavros Sachtouris

Add history handling - no history storage yet

e3d4d442 10/02/2012 04:31 pm Stavros Sachtouris

Completed Pithos_cli adjustment

efdee310 10/02/2012 12:32 pm Stavros Sachtouris

Show command-specific help

c41a86b2 10/01/2012 02:14 pm Stavros Sachtouris

Adjust store list to new arg/config mechanism

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

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

c9e706b2 09/21/2012 06:14 pm Stavros Sachtouris

First version of error managing system for CLI