Statistics
| Branch: | Tag: | Revision:

root / kamaki / cli / argument.py @ 60c42f9f

History | View | Annotate | Download (15.9 kB)

# Date Author Comment
e3f01d64 06/26/2013 12:28 pm Stavros Sachtouris

Update the copyright dates everywhere

144b3551 06/12/2013 03:02 pm Stavros Sachtouris

Change term "remote" to "cloud" when proper

Refs: #3934

362adf50 06/05/2013 07:00 pm Stavros Sachtouris

Decide a cloud term, use it if no cloud.url

Refs: #3934

cb4a5d9c 06/03/2013 12:58 pm Stavros Sachtouris

Implement --cloud arg to switch between clouds

Refs: #3913

Config file can (optionaly) contain:

[remotes]
example = https://www.example.org/astakos/identity/v2.0/
old_version = https://www.example.org/astakos/identity/v1.0/
...

Now, user can explicitely request for a remote cloud authentication URI:...

f724cd35 05/31/2013 05:37 pm Stavros Sachtouris

Get endpoint urls for all CLI operations

Refs: #3874

Use kamaki.clients.astakos.AstakosClient as a cached astakos client to get
user information and, most importantly, endpoints. Allow users to authenticate
multiple tokens on the same session. In every session there must be at most...

7637d600 05/10/2013 07:24 pm Stavros Sachtouris

Move logger module to kamaki.cli

9986e569 05/09/2013 07:06 pm Stavros Sachtouris

Globalize logger usage

Unsolved bug: redudant info in logfile

1736e06d 04/24/2013 03:35 pm Stavros Sachtouris

Fix typo with --config and --property args (#3658)

91e9bf7f 03/21/2013 06:57 pm Stavros Sachtouris

Add redudant -c argument to mean --config (global)

a517ff50 02/26/2013 12:19 pm Stavros Sachtouris

Allow non-ascii paramters on path2url

Replace calls of the form unicode(v) to the equivalent" '%s' % v

d00fd070 02/19/2013 03:46 pm Stavros Sachtouris

Recover default value of non-None default args

06eccea2 02/13/2013 12:32 pm Stavros Sachtouris

Remove list2str() (clients.utils) 4 simplicity

ea4a21b8 02/11/2013 07:45 pm Stavros Sachtouris

Make DateArgument to return timestamp by default

24ff0a35 02/11/2013 05:19 pm Stavros Sachtouris

Fix pep8 compliance issues everywhere

de73876b 02/08/2013 07:25 pm Stavros Sachtouris

Attempt to pep8-fix some source files

ca092af4 01/25/2013 05:58 pm Stavros Sachtouris

Adjust up to store-overwrite

1a3c18fd 01/17/2013 01:32 pm Stavros Sachtouris

Add include option to control conn-content print

04d01cd4 01/03/2013 07:13 pm Stavros Sachtouris

Move DateArgument to argument from pithos

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

Formated output in long command description

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

b6a99832 12/18/2012 05:44 pm Stavros Sachtouris

Restructure interface code

aa5c0458 12/17/2012 07:11 pm Stavros Sachtouris

Propagate warning-logging

db8d1766 12/17/2012 06:44 pm Stavros Sachtouris

Introduce warning logger

365280ca 12/17/2012 05:53 pm Stavros Sachtouris

Use a non-unicode progress-bar instead

6df4aa6e 12/11/2012 01:59 pm Stavros Sachtouris

Bugfix shell with custom config file

a39163c8 12/10/2012 06:18 pm Stavros Sachtouris

Remove config from shell arguments (careful!)

config module is needed for initializing stuff, but should not be
allowd after shell is up and running

b06eb654 12/10/2012 01:31 pm Stavros Sachtouris

Merge branch 'features/rfctr-argument' into develop

5ad77121 12/10/2012 01:21 pm Stavros Sachtouris

Fix unwanted argument inheritance bug in shell

b696ed2c 12/07/2012 06:34 pm Stavros Sachtouris

Propagate error handling at cli.argument

120126f1 12/06/2012 05:52 pm Stavros Sachtouris

Fix shell extra args bug

ee4c47d7 12/06/2012 03:36 pm Stavros Sachtouris

Cleanup deprecated method in argument

7c2247a0 12/06/2012 02:25 pm Stavros Sachtouris

Propagate-debug changes for one-cmd

b3dd8f4b 12/06/2012 01:22 pm Stavros Sachtouris

Design ArgumentParseManager, implement fnctionlity

7dbd52f5 12/06/2012 12:23 pm Stavros Sachtouris

Create ArgumentParseManager, with init

constructor replaces init_parser,
update_parser member method replaces upadte_argument (not tested)

e0da0f90 12/06/2012 12:21 pm Stavros Sachtouris

rid of init_parser

1d329d27 12/05/2012 07:24 pm Stavros Sachtouris

Better pithos upload progressbar

a10f5561 12/05/2012 12:08 pm Stavros Sachtouris

Progress bar apears asap

606fe15f 11/30/2012 03:16 pm Stavros Sachtouris

Restructure kamaki.clients.compute

40a9c357 11/30/2012 01:47 pm Stavros Sachtouris

Recover accidentaly removed usefull code line

439926dd 11/30/2012 01:09 pm Stavros Sachtouris

Complete kamaki.cli.argument documentation

edb7fc1a 11/29/2012 07:11 pm Stavros Sachtouris

End of day: argument docs tomorrow

e0f40c94 11/23/2012 12:39 pm Stavros Sachtouris

Fix quoted-input bug in one-cmd

329753ae 11/21/2012 12:39 pm Stavros Sachtouris

Update docs, fix bug when progress not installed

1c1a0941 11/20/2012 01:15 pm Stavros Sachtouris

Parse quoted strings in interactive shell

e9a92550 11/19/2012 04:42 pm Stavros Sachtouris

Fix config-forget bug

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