From afc3e2c21c73c19d9ac04259d30150bd34f53a7d Mon Sep 17 00:00:00 2001 From: Giorgos Korfiatis <gkorf@grnet.gr> Date: Fri, 11 Sep 2015 16:35:22 +0300 Subject: [PATCH] rename agkyra-cli to agkyra cli in docs --- docs/user_guide/source/cli.rst | 18 +++++++++--------- docs/user_guide/source/setup.rst | 16 ++++++++-------- docs/user_guide/source/troubleshooting.rst | 4 ++-- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/docs/user_guide/source/cli.rst b/docs/user_guide/source/cli.rst index 40380ba..52b82c0 100644 --- a/docs/user_guide/source/cli.rst +++ b/docs/user_guide/source/cli.rst @@ -11,12 +11,12 @@ In this section it is assumed agkyra is installed and properly setup. Agkyra CLI manages the agkyra back-end daemon (the module that performs the actual syncing). -To run it, execute ``agkyra-cli`` from the command line. To get a list of +To run it, execute ``agkyra cli`` from the command line. To get a list of arguments, run it without any .. code-block:: console - $ agkyra-cli + $ agkyra cli Get help help <cmd> for an individual command help <--list | -l> for all commands @@ -38,7 +38,7 @@ Commands and examples List all settings - $ agkyra-cli config list + $ agkyra cli config list global agkyra_dir: /home/user/.agkyra default_sync: default @@ -64,7 +64,7 @@ Commands and examples Set a new token for cloud "default" - $ agkyra-cli config set cloud default token n3w-us3r-t0k3n + $ agkyra cli config set cloud default token n3w-us3r-t0k3n :command:`config delete` - delete a setting or group of settings @@ -72,7 +72,7 @@ Commands and examples Delete the "old_sync" sync - $ agkyra-cli config delete sync old_sync + $ agkyra cli config delete sync old_sync :command:`status` - print daemon status. Status may be one of the following: @@ -84,7 +84,7 @@ Commands and examples Check if a daemon is running - $ agkyra-cli status + $ agkyra cli status Not running :command:`start` - launch a daemon if ``not running``, start syncing if ``paused`` @@ -93,7 +93,7 @@ Commands and examples Launch the syncing daemon - $ agkyra-cli start + $ agkyra cli start No Agkyra daemons running, starting one ... OK Syncing @@ -103,7 +103,7 @@ Commands and examples Pause a syncing daemon - $ agkyra-cli pause + $ agkyra cli pause Pausing syncer ... OK Paused @@ -113,5 +113,5 @@ Commands and examples Shutdown the daemon - $ agkyra-cli shutdown + $ agkyra cli shutdown Shutting down Agkyra ... Stopped diff --git a/docs/user_guide/source/setup.rst b/docs/user_guide/source/setup.rst index f3d1149..db08326 100644 --- a/docs/user_guide/source/setup.rst +++ b/docs/user_guide/source/setup.rst @@ -96,24 +96,24 @@ closed without saving, all changes will be lost. CLI --- -Use the **agkyra-cli config** commands to set and update settings: +Use the **agkyra cli config** commands to set and update settings: .. code-block:: console --- Set up a cloud named CLD --- - $ agkyra-cli config set cloud CLD url http://www.example.org/identity/v2.0 - $ agkyra-cli config set cloud CLD token ex4mpl3-t0k3n + $ agkyra cli config set cloud CLD url http://www.example.org/identity/v2.0 + $ agkyra cli config set cloud CLD token ex4mpl3-t0k3n --- Set up a sync (cloud, local directory, container) named SNC --- - $ agkyra-cli config set sync SNC directory /my/local/directory - $ agkyra-cli config set sync SNC cloud CLD - $ agkyra-cli config set sync SNC container remote_container + $ agkyra cli config set sync SNC directory /my/local/directory + $ agkyra cli config set sync SNC cloud CLD + $ agkyra cli config set sync SNC container remote_container --- Set the SNC sync as the default --- - $ agkyra-cli config set default_sync CLD + $ agkyra cli config set default_sync CLD -.. note:: use the **agkyra-cli config list** command for the current settings +.. note:: use the **agkyra cli config list** command for the current settings Config file diff --git a/docs/user_guide/source/troubleshooting.rst b/docs/user_guide/source/troubleshooting.rst index 701dd8c..2b4eaef 100644 --- a/docs/user_guide/source/troubleshooting.rst +++ b/docs/user_guide/source/troubleshooting.rst @@ -12,7 +12,7 @@ check if the application is still running: .. code-block: console - $ agkyra-cli status + $ agkyra cli status If the status is ``Syncing``, ``Pausing`` or ``Paused``, then the application is running. Try running agkyra again and see if everything is OK. @@ -31,7 +31,7 @@ To do that, remove the files ``$agkyra_dir/session.db`` and .. code-block:: console - $ agkyra-cli config list global agkyra_dir + $ agkyra cli config list global agkyra_dir Agkyra is still not starting ---------------------------- -- GitLab