From e94d79cf06590d9e2695c60c1139a590298890fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Fri, 9 Oct 2020 03:31:46 +0200 Subject: update usage.org --- usage.org | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/usage.org b/usage.org index c82c324..f0e4946 100644 --- a/usage.org +++ b/usage.org @@ -1,21 +1,24 @@ -This file contains the current targeted usage. +This file contains the current targeted usage. It works as both a design document +and a feature tracker. New commands and flags go here. * Basic usage overview Start the daemon with either one of: -- `$ mumd` for debugging -- `$ mumd &|` (disowning) +- `$ mumd`. Writes to stdout, ignores stdin. Can easily be disowned/started in + a screen/tmux. + +We want to support / explain how to do the following at some point: + - `$ mumd --daemon` - systemd-service -- Run in a `screen`/`tmux`/... -- Other ways of keeping a binary running -The daemon doesn't do anything by itself. Interface using `mumctl`. +The daemon doesn't do anything by itself. Interfacing with it is done through +`mumctl`. * Basic commands -** server -*** connect +** TODO server +*** TODO connect #+BEGIN_SRC bash $ mumctl server connect localhost connecting to localhost... @@ -25,8 +28,8 @@ root │ some person | you #+END_SRC -** channel -*** list +** TODO channel +*** TODO list #+BEGIN_SRC bash $ mumctl channel list root [3](4) @@ -44,6 +47,7 @@ root [3](4) someone eating food #+END_SRC +**** TODO --short #+BEGIN_SRC bash $ mumctl channel list --short root [3](4) @@ -53,15 +57,13 @@ root [3](4) │ └─ subsubchannel [2] └─ AFK [1] #+END_SRC - -*** connect +*** TODO connect #+BEGIN_SRC bash $ mumctl channel connect some channel connecting to some channel... connected #+END_SRC - -** status +** TODO status #+BEGIN_SRC bash $ mumctl status connected to localhost:65837 -- cgit v1.2.1