Skip to content
Snippets Groups Projects
Commit afc3e2c2 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

rename agkyra-cli to agkyra cli in docs

parent 729b7ad0
No related branches found
No related tags found
No related merge requests found
......@@ -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
......@@ -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
......
......@@ -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
----------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment