From c52528dbf6dd09b7ccca1d5d6d2de2065f7f1d72 Mon Sep 17 00:00:00 2001 From: flying-sausages Date: Tue, 2 Jun 2020 21:48:38 +0100 Subject: [PATCH] Initial CLI tool page --- CLI-Tool.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 CLI-Tool.md diff --git a/CLI-Tool.md b/CLI-Tool.md new file mode 100644 index 0000000..73b01f0 --- /dev/null +++ b/CLI-Tool.md @@ -0,0 +1,23 @@ +You can use the mango CLI tool to perform management tasks. + +## `admin` + +### `user` +Using this subcommand, you can perform user administration from the command line. Below is a short list of example commands + +```bash +# list the users +mango admin user list + +# create a new user with admin access +mango admin user add -u new_user -p 123456 --admin + +# rename the user +mango admin user update new_user -u new_name --admin + +# remove admin access +mango admin user update new_name + +# delete the user +mango admin user delete new_name +``` \ No newline at end of file