| Branch: | Tag: | Revision:

root / kamaki / cli / commands @ e15d78e2

Name Size 3.2 kB 3.2 kB 3.3 kB 19.3 kB 7.1 kB 11.5 kB 47.7 kB 5.9 kB

Latest revisions

# Date Author Comment
e15d78e2 12/22/2012 08:14 pm Stavros Sachtouris

Apply new argument strategy on server list

Suggested use:
- declare:
(self.)arguments = dict(argname=Argument())
- set/update:
self['argname'] = Argument(...)
- use:
- get arg object:

b113e74b 12/22/2012 08:01 pm Stavros Sachtouris

Modify getitem semantics

Not getitem of cli.commands does return arg.value
- to set:
mycmd['argname'] = Argument(…)
mycmd.argument['argname'] = Argument(…)
- to get Argument object:

5a37a189 12/22/2012 07:38 pm Stavros Sachtouris

Make arguments an internal feature of cli.commands

Now any cli.commands subclass instance:
- sets args like this:
mycmd['myargname'] = Argument()
instead of
- gets args like this:
mycmd['myargname'] = Argument()
instead of...

c5bcc3e3 12/20/2012 05:52 pm Stavros Sachtouris

Improve help for history run

0663d8d6 12/20/2012 05:20 pm Stavros Sachtouris

Nice instructions for astakos_cli

2703cceb 12/20/2012 05:06 pm Stavros Sachtouris

Formated output in long command description

93542587 12/20/2012 02:24 pm Stavros Sachtouris

Correct publish output, more details in storelist

a494a741 12/20/2012 01:14 pm Stavros Sachtouris

Improve print_items, use it in flavor_list

flavor_list now prints id name instead of order. name

c8e17a67 12/19/2012 06:06 pm Stavros Sachtouris

Deal with with argparse stupid error handling

argparse people must be sadists or they just hate other programers

2d7ce81e 12/19/2012 04:33 pm Stavros Sachtouris

Extent store_list to use path as prefix

kamaki store list mycontainer:phot

will list all objects in mycontainer prefixed with phot

View revisions

Also available in: Atom