From a2d60427da07de981af28ac374438038994985bf Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Wed, 3 Jul 2024 21:06:31 -0300 Subject: [PATCH] docopt for secret subcommand, not implemented --- src/main.cr | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main.cr b/src/main.cr index b9e3aa5..78a28d1 100644 --- a/src/main.cr +++ b/src/main.cr @@ -37,10 +37,11 @@ doc = <<-DOC FaaSO CLI tool. Usage: - faaso build FOLDER ... [-l] [-v=] - faaso scale FUNKO_NAME [SCALE] [-l] [-v=] - faaso status FUNKO_NAME [-l] [-v=] + faaso build FOLDER ... [-v=] [-l] + faaso scale FUNKO [SCALE] [-v=] [-l] + faaso status FUNKO_NAME [-v=] [-l] faaso export SOURCE DESTINATION [-v=] + faaso secret [-d|-a] FUNKO NAME [-v=] [-l] Options: -l --local Run commands locally instead of against a FaaSO server. @@ -50,6 +51,7 @@ Options: DOC ans = Docopt.docopt(doc, ARGV) +pp! ans LogFormat.setup(ans["-v"].to_s.to_i) case ans