diff options
author | Roger Gonzalez <roger@rogs.me> | 2023-01-10 19:12:17 -0300 |
---|---|---|
committer | Roger Gonzalez <roger@rogs.me> | 2023-01-10 19:12:17 -0300 |
commit | 81a9aaa7e7eb560b2cabe4305a17965295eb5ba4 (patch) | |
tree | 2eaf0a4ba45c1b415c34caf45662064ff6525e91 /content/install/using-the-cli.md | |
parent | b99cba3bc36d17a163fd6f590bb93b12f3339437 (diff) |
Changed "docs" for "install"
Diffstat (limited to 'content/install/using-the-cli.md')
-rw-r--r-- | content/install/using-the-cli.md | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/content/install/using-the-cli.md b/content/install/using-the-cli.md new file mode 100644 index 0000000..9613d79 --- /dev/null +++ b/content/install/using-the-cli.md @@ -0,0 +1,35 @@ +--- +title: "Using the CLI" +date: 2023-01-10T17:55:41-03:00 +draft: false +weight: 3 +summary: YAMS comes with a very handy CLI to manage all your media server. Here's where you'll learn how to use it. +--- + +YAMS comes with a very handy CLI to manage all your media server. Here's where you'll learn how to use it. + +On your server, you can type: +```bash +yams --help +``` + +And you'll get the following message: + +```bash +yams - Yet Another Media Server + +Usage: yams [--help|restart|stop|start] +options: +--help displays this help message +restart restarts yams services +stop stops all yams services +start starts yams services +destroy destroy yams services so you can start from scratch +``` + +Everything is very self-explanatory, but I'll go in more detail here: + +- `restart`: Restarts all the services. It stops them gracefully and starts them again. +- `stop`: Stops all the services gracefully. +- `start`: Starts all the services. +- `destroy`: Destroys all the services so you can start the configuration from scrath. ⚠️ Be careful! ⚠️ There's no going back after this! |