summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2020-02-26 22:16:00 -0500
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2020-02-26 22:16:00 -0500
commitf9aa9e9810b58ff44faa5fa80865f9a35211f4ba (patch)
treedee5149e17f953849e396db30fd97caef6141bdf
parent7d258616412046deb22611d7a906b909f919ef2b (diff)
Change CLI init arguments
-rw-r--r--src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 7afba14..e21873a 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -48,12 +48,15 @@ enum Command {
/// Initialize config table in the database
Init {
/// Secret passed to rocket for encrypting cookies
+ #[structopt(long)]
rocket_secret_key: String,
/// Client secret for strava authentication
+ #[structopt(long)]
strava_client_secret: String,
/// Client id for strava authentication
+ #[structopt(long)]
strava_client_id: String,
},
/// Add a user account