From 0e54ae528c9ecd2579efc6f6750d724add9c1524 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Mon, 1 Jul 2019 15:17:53 -0400 Subject: [PATCH] Add --config --sections explanation --- admin/commands.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/admin/commands.md b/admin/commands.md index 26b6f5b..e2bcd95 100644 --- a/admin/commands.md +++ b/admin/commands.md @@ -21,6 +21,22 @@ Use these flags to perform certain actions as part of the setup process. | `--gen-keys` | Generate encryption keys | No | | `--init-db` | Initialize the database by creating the necessary tables | No | +### Setup options + +#### `--config --sections="..."` + +You can optionally choose which configuration sections to walk through during the configuration process with the `--sections` flag. Values are space-separated and must be one of the following: + +* `app` +* `db` +* `server` + +Example usage: + +``` +writefreely --config --sections="app db server" +``` + ## Upgrade These flags assist with upgrading an instance.