summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-10-04 11:57:45 -0400
committerKali Kaneko (leap communications) <kali@leap.se>2016-10-04 11:57:45 -0400
commita0041ee0439252bef802c17fca4775229134f91e (patch)
treec29bd10f58839312fb3953d469b8986d9cb2f826 /docs
parentaf27100e35f30f91f3c8f3eb4b8fcef978d11eae (diff)
[docs] document invitecodes
Diffstat (limited to 'docs')
-rw-r--r--docs/cli/index.rst30
1 files changed, 28 insertions, 2 deletions
diff --git a/docs/cli/index.rst b/docs/cli/index.rst
index 130a1601..8ea7801a 100644
--- a/docs/cli/index.rst
+++ b/docs/cli/index.rst
@@ -7,7 +7,33 @@
Bitmask CLI
================================
-The command line interface
+``bitmaskctl`` is the command line interface.
-Using bitmask from the command line
+It will try to launch the bitmask backend.
+
+Creating an user
+-----------------------------------
+
+::
+
+ bitmaskctl user create user@example.org
+
+If the provider needs invite codes to register new users, you can pass one::
+
+ bitmaskctl user create --invitecode xxxxxxx user@example.org
+
+
+Authenticating
-----------------------------------
+
+To authenticate, start a session and start configured services::
+
+ bitmaskctl user auth user@example.org
+
+
+Uploading logs
+---------------
+
+(This needs ``pastebinit`` installed in your system) ::
+
+ bitmaskctl logs send