aboutsummaryrefslogtreecommitdiffstats
path: root/usage.org
blob: f0e4946022c373df566a4eaf1e72ffb05c91ef35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
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`. 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

The daemon doesn't do anything by itself. Interfacing with it is done through
`mumctl`.

* Basic commands
** TODO server
*** TODO connect
#+BEGIN_SRC bash
$ mumctl server connect localhost
connecting to localhost...
connected
root
│  another person
│  some person
|  you
#+END_SRC
** TODO channel
*** TODO list
#+BEGIN_SRC bash
$ mumctl channel list
root                 [3](4)
│  another person
│  some person
|  you
├─ some channel      [1]
│     someone alone
├─ other channel     [0]
├─ third channel     [0](2)
│  └─ subsubchannel  [2]
│        a user
│        and another user
└─ AFK               [1]
      someone eating food
#+END_SRC

**** TODO --short
#+BEGIN_SRC bash
$ mumctl channel list --short
root                 [3](4)
├─ some channel      [1]
├─ other channel     [0]
├─ third channel     [0](2)
│  └─ subsubchannel  [2]
└─ AFK               [1]
#+END_SRC
*** TODO connect
#+BEGIN_SRC bash
$ mumctl channel connect some channel
connecting to some channel...
connected
#+END_SRC
** TODO status
#+BEGIN_SRC bash
$ mumctl status
connected to localhost:65837
currently in root with 2 other clients:
  root
  │  another person
  │  some person
  |  you
#+END_SRC

#+BEGIN_SRC bash
$ mumctl status --short
you@localhost:65387/root (3)
  another person
  some person
  you
#+END_SRC