aboutsummaryrefslogtreecommitdiff
path: root/CLI.md
diff options
context:
space:
mode:
authorMarvin Borner2021-01-28 13:48:52 +0100
committerMarvin Borner2021-01-28 13:48:52 +0100
commit0bfd98fa5efd429288460e5714926cf574fb13a0 (patch)
treee4fe0f1e632a65c2350c162aa3a8ffae009abdbe /CLI.md
parent0c45adc72d0f5c276509f2a6c5971be5dc7679aa (diff)
parent5feb9b1af9f6ff5b2e08bf9c7cc85ffc0f313945 (diff)
Merge branch 'master' into crop
Diffstat (limited to 'CLI.md')
-rw-r--r--CLI.md13
1 files changed, 10 insertions, 3 deletions
diff --git a/CLI.md b/CLI.md
index 9fa8d44..0e49905 100644
--- a/CLI.md
+++ b/CLI.md
@@ -3,10 +3,17 @@
`node cli.js [option] [param]`
## -r
-Recreates and reinitializes database tables: `node -r [all|motto|poll|profile|quote]`
+
+Recreates and reinitializes database tables: `node cli -r [all|motto|poll|profile|quote]`
+
+## -d
+
+Dump the database into a LaTeX-compatible format `node cli -d` (in the appropriate `zeitung` subdir)
## -U
-Updates database values: `node -U [all|motto|poll|profile]`
+
+Updates database values: `node cli -U [all|motto|poll|profile]`
## --user
-Regenerates user password: `node --user [user_id]` \ No newline at end of file
+
+Regenerates user password: `node cli --user [user_id]`