From a0041ee0439252bef802c17fca4775229134f91e Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Tue, 4 Oct 2016 11:57:45 -0400 Subject: [docs] document invitecodes --- docs/cli/index.rst | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) (limited to 'docs') 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 -- cgit v1.2.3