Revision 457cb69b
b/docs/commands.rst | ||
---|---|---|
8 | 8 |
|
9 | 9 |
.. automodule:: kamaki.cli.commands.cyclades_cli |
10 | 10 |
:members: |
11 |
:show-inheritance: |
|
12 | 11 |
:undoc-members: |
13 | 12 |
|
14 | 13 |
|
... | ... | |
34 | 33 |
|
35 | 34 |
.. automodule:: kamaki.cli.commands.astakos_cli |
36 | 35 |
:members: |
37 |
:show-inheritance: |
|
38 | 36 |
:undoc-members: |
39 | 37 |
|
40 | 38 |
config_cli |
... | ... | |
42 | 40 |
|
43 | 41 |
.. automodule:: kamaki.cli.commands.config_cli |
44 | 42 |
:members: |
45 |
:show-inheritance: |
|
46 | 43 |
:undoc-members: |
47 | 44 |
|
48 | 45 |
history_cli |
... | ... | |
50 | 47 |
|
51 | 48 |
.. automodule:: kamaki.cli.commands.history_cli |
52 | 49 |
:members: |
53 |
:show-inheritance: |
|
54 | 50 |
:undoc-members: |
b/docs/conf.py | ||
---|---|---|
17 | 17 |
|
18 | 18 |
import sys, os |
19 | 19 |
|
20 |
sys.path.append('/home/saxtouri/src/synnefo/snf-common') |
|
20 | 21 |
try: |
21 | 22 |
from synnefo import lib |
22 | 23 |
except ImportError: |
/dev/null | ||
---|---|---|
1 |
Installation |
|
2 |
============ |
b/docs/installation.rst | ||
---|---|---|
1 |
Installation |
|
2 |
============ |
|
3 |
|
|
4 |
This guide describes the standard installation proccess for kamaki, with the aspiration of covering as much cases as possible. Although kamaki was initially targeted to advanced Linux/Unix-like users, it should be quite straigh forward to install and have it up and running in most popular platforms. |
|
5 |
|
|
6 |
Linux and Unix-like enviroments |
|
7 |
------------------------------- |
|
8 |
|
|
9 |
Installing from source (git repos.) |
|
10 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
11 |
|
|
12 |
Ubuntu and Debian packages |
|
13 |
^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
14 |
|
|
15 |
Max OS |
|
16 |
------ |
|
17 |
|
|
18 |
Windows |
|
19 |
------- |
|
20 |
|
|
21 |
Installing from source (git repos.) |
|
22 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
b/docs/usage.rst | ||
---|---|---|
1 | 1 |
Usage |
2 | 2 |
===== |
3 | 3 |
|
4 |
Kamaki offers two command line interfaces: an one-command tool and an interactive shell. Both systems implement exactly the same command specifications. More details on the exact command specifications can be found in `Command Line Interfaces' section under 'Commands`. This guide covers the generic usage of both interfaces. |
|
5 |
|
|
6 |
One-command interface |
|
7 |
--------------------- |
|
8 |
|
|
9 |
Interactive shell |
|
10 |
----------------- |
b/kamaki/cli/utils.py | ||
---|---|---|
56 | 56 |
|
57 | 57 |
def pretty_keys(d, delim='_', recurcive=False): |
58 | 58 |
"""Transform keys of a dict from the form |
59 |
str1_str2_..._strN to the form strN |
|
60 |
where _ is the delimeter |
|
59 |
str1_str2_..._strN to the form strN
|
|
60 |
where _ is the delimeter
|
|
61 | 61 |
""" |
62 | 62 |
new_d = {} |
63 | 63 |
for key, val in d.items(): |
Also available in: Unified diff