Revision c314fc10
b/docs/commands.rst | ||
---|---|---|
298 | 298 |
append : Append local file to remote |
299 | 299 |
cat : Print a file to console |
300 | 300 |
copy : Copy an object |
301 |
create : Create a container or a directory object
|
|
301 |
create : Create a container |
|
302 | 302 |
delete : Delete a container [or an object] |
303 | 303 |
delgroup : Delete a user group on an account |
304 | 304 |
delmeta : Delete an existing metadatum of account [, container [or object]] |
... | ... | |
323 | 323 |
setquota : Set new quota (in KB) for account [or container] |
324 | 324 |
setversioning : Set new versioning (auto, none) for account [or container] |
325 | 325 |
sharers : List the accounts that share objects with default account |
326 |
touch : Create an empty object (file) |
|
326 | 327 |
truncate : Truncate remote file up to a size |
327 | 328 |
unpublish : Unpublish an object |
328 | 329 |
upload : Upload a file |
... | ... | |
405 | 406 |
[store]:!diff rndm_local.file rndm_remote.file |
406 | 407 |
|
407 | 408 |
.. Note:: In kamaki shell, ! is used to execute OS shell commands (bash in the above) |
409 |
|
|
410 |
.. warning:: The container:object/path syntax does not function if the container and / or the object path contain one or more : characters. To use containers and objects with : use the --container and --dst-container arguments, e.g. to copy test.py object from grnet:dev container to grnet:deploy :: |
|
411 |
|
|
412 |
$ kamaki store copy --container=grnet:dev test.py --dst-container=grnet:deploy |
b/kamaki/cli/commands/cyclades_cli.py | ||
---|---|---|
55 | 55 |
_commands = [server_cmds, flavor_cmds, image_cmds, network_cmds] |
56 | 56 |
|
57 | 57 |
|
58 |
about_authentication = '\n User Authentication:\
|
|
58 |
about_authentication = '\nUser Authentication:\ |
|
59 | 59 |
\n* to check authentication: /astakos authenticate\ |
60 | 60 |
\n* to set authentication token: /config set token <token>' |
61 | 61 |
|
... | ... | |
84 | 84 |
|
85 | 85 |
@command(server_cmds) |
86 | 86 |
class server_list(_init_cyclades): |
87 |
"""List Virtual Machines accessible by user |
|
88 |
""" |
|
87 |
"""List Virtual Machines accessible by user""" |
|
89 | 88 |
|
90 | 89 |
__doc__ += about_authentication |
91 | 90 |
|
Also available in: Unified diff