| Branch: | Tag: | Revision:

root / kamaki / cli / @ 1716a15d

History | View | Annotate | Download (12.4 kB)

# Date Author Comment
a7aacf12 07/16/2013 06:22 pm Stavros Sachtouris

Complete ConfigArgument testing

Refs: #4058

d252a7a8 07/15/2013 05:16 pm Stavros Sachtouris

Fully test CommandTree

Refs: #4058

eb46e9a1 07/12/2013 02:50 pm Stavros Sachtouris

Spot and remove unused Command methods

320aac17 07/08/2013 02:21 pm Stavros Sachtouris

Exclude unset optional cmd groups

Refs: #4114

E.g. the cyclades spec package contains the non-optional group "server" and
the optional group "floatingip". Now kamaki can load only the "server"
group, except if the user requests the loading of "floatingip" group too.

6a2a28bd 06/28/2013 02:58 pm Stavros Sachtouris

Add name and uuid of session user to shell greet

Refs: 3632

e3f01d64 06/26/2013 12:28 pm Stavros Sachtouris

Update the copyright dates everywhere

0ec19fd3 06/25/2013 05:49 pm Stavros Sachtouris

Restore history-run functionality

f55d3a15 06/25/2013 01:50 pm Stavros Sachtouris

Simplify listings

Modify print_list/dict/items methods of kamaki.cli.utils to be simpler
and print output in a simpler form
key: value
key: value
key: value
99085b30 06/06/2013 02:20 pm Stavros Sachtouris

Make sure user and history commands work fine

Refs: #3934

844a6bdb 06/06/2013 01:32 pm Stavros Sachtouris

Adjust config cli commands to serve remotes

Refs: #3934

config set remote.smth.option value
inserts option=value in remote smth
config get remote.smth
lists the contents (key=val) of remote smth
config delete remote.smth.option
deletes this specific option from the remote smth...

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

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

Refs: #3934

8cec3671 06/03/2013 02:22 pm Stavros Sachtouris

Use explicitely set services urls if no auth_url

Refs: #3874

In current configuration, kamaki checks for auth_url. If that fails,
it raises an error. If it is not set, it prints a warning and attempts
to read the <service>.url option from the configuration file....

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

030c0d3a 05/15/2013 04:12 pm Stavros Sachtouris

Restore 2nd level command sysntax in shell

Refs: #3736

e3c2c890 05/13/2013 04:53 pm Stavros Sachtouris

Allow runtime args when invoking interactive shell

Refs: #3716

Behavior After This:
kamaki -XXX -YY ... parses -XXX -YY
If not recognized: syntax error
If recognized, group them into shell args (e.g. -h) and command args (e.g. -d)
Whenever a command is run in this shell instance, apply the command args...

0d4a6d0a 05/10/2013 06:33 pm Stavros Sachtouris

Stop shell from destroying config instance

This caused warnings about preset variables

8741c407 04/02/2013 12:46 pm Stavros Sachtouris

Create an image compute cmd group, make it work

- image compute group contains all Compute Image API commands, as oposed to
Plankton API commands.

- definition of a kamaki cli command slightly changed: a command with
subcommands can have a class without being a command itself, as long as it has...

a6aced18 03/21/2013 06:07 pm Stavros Sachtouris

Fix typo in shell intro (bug #3444)

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

Attempt to pep8-fix some source files

53e1f8d5 01/03/2013 06:51 pm Stavros Sachtouris

Allow params starting with - (e.g. history run)

af569ab9 01/03/2013 02:30 pm Stavros Sachtouris

Catch and handle KeyboardInterrupt in shell

4e01956e 12/19/2012 06:38 pm Stavros Sachtouris

In shell, ignore unknown - args

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

2fbca093 12/19/2012 12:29 pm Stavros Sachtouris

Show long description in all places it could be

a71bb904 12/18/2012 06:12 pm Stavros Sachtouris

Show long description if available

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

Restructure interface code

519d8639 12/18/2012 12:32 pm Stavros Sachtouris

Debug history run

1f383ea0 12/17/2012 07:52 pm Stavros Sachtouris

Clean up code

451a7992 12/17/2012 07:33 pm Stavros Sachtouris

Allow general options to run a@ initial kamaki

kamaki -v runs a kamaki shell with verbose on!

65b8765b 12/14/2012 03:03 pm Stavros Sachtouris

Merge branch 'features/output' into develop

53254b46 12/14/2012 03:03 pm Stavros Sachtouris

Make shell prompt sustainable to modifications

and add a space after :

f2e2663e 12/12/2012 04:30 pm Stavros Sachtouris

Rename history.recall to load, allow multiple ids

load 1 3 5-7 8 ...
also can repeat commands:
load 1 4 1 3-5 (repeats 1 and 4)

fce93ff6 12/12/2012 01:56 pm Stavros Sachtouris

History in shell can execute commands ('recall')

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

Bugfix shell with custom config file

54d800e8 12/10/2012 08:55 pm Stavros Sachtouris

shell help messages are full

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

129bd843 12/10/2012 01:37 pm Stavros Sachtouris

Remove unused shell options

f9af2848 12/07/2012 07:05 pm Stavros Sachtouris

Let shell be ready for unexpected errors

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

Fix shell extra args bug

074f5027 12/06/2012 04:50 pm Stavros Sachtouris

Propagate-debug changes for shell + debug

efbcdc41 11/20/2012 02:13 pm Stavros Sachtouris

Move split_line code to cli.utils

c530c456 11/20/2012 02:01 pm Stavros Sachtouris

Match more quoted text

Single quotes have now higher priority than double quotes
and they can be used together. E.g.

[server]: create 'Name "middle name" surname' 43 im@g31d5tr1ng

will push
Name "middle name" surname
as the name of the VM to the server

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

Parse quoted strings in interactive shell

2b74ab4a 11/19/2012 06:23 pm Stavros Sachtouris

Unittest parallel server creation

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

Fix config-forget bug

cad39033 11/16/2012 05:31 pm Stavros Sachtouris

Gradual thread inc/decrease in up/download

Thread inc/decrease is now generic for all clients that might need it
with the method _watch_thread_limit

Algorithm: set a small thread limit and when reached wait for active threads to
finish. Measure avg time. If avg time decreases, increase thread limit...

a6ad7781 11/16/2012 12:00 pm Stavros Sachtouris

Context roll-back in case of exit

77e7bef7 11/15/2012 06:48 pm Stavros Sachtouris

Complete top-level commands from everywhere

Usage: in kamaki shell, from any context, user can write:

/<command> <subcmds... and params...>

524dc2f8 11/15/2012 06:09 pm Stavros Sachtouris

Fix top-level from top-level call bug

Idea: in pre: add top level commands as /<command>
slightly different registration

834200da 11/15/2012 06:07 pm Stavros Sachtouris

Access top-level commands from anywhere in shell

Execs top-level commands but doesn't roll back correctly

d53062bd 11/15/2012 02:27 pm Stavros Sachtouris

Modify history commands

75c3fc42 11/15/2012 01:50 pm Stavros Sachtouris

Fix new deep-level bug in shell

42c739c0 11/14/2012 05:46 pm Stavros Sachtouris

START FEAT. DEV. cmd accessibility in shell

shell commands should be accessible from all contexts e.g.:
[kamaki] server #new context
[server] /config list #call command from top context
[server] ../config list #call command from previous context...

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

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

Complete UI/cli interface refactoring, minor bugs

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)

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

ca1eb93f 10/18/2012 03:37 pm Stavros Sachtouris

Minor fix

2340a44a 10/18/2012 03:36 pm Stavros Sachtouris

Merge branch 'develop' of into develop

5af9a6df 10/18/2012 03:35 pm Stavros Sachtouris

Improve interactive shell help

affb6442 10/18/2012 03:25 pm Stavros Sachtouris

Improve interactive shell help msg

e9d42f72 10/16/2012 06:38 pm Stavros Sachtouris

Fix arguments in context switching

489a1047 10/16/2012 05:47 pm Stavros Sachtouris

Minor fixes

ef5f9c89 10/16/2012 05:07 pm Stavros Sachtouris

Tide up a little

ce48608f 10/16/2012 04:22 pm Stavros Sachtouris

Kamaki now has interactive shell + minor fixes

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

Seperate shell from one-command cli