This is an automated email from the ASF dual-hosted git repository.
msciabarra pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openserverless-task.git
The following commit(s) were added to refs/heads/main by this push:
new f89e09c docopts
f89e09c is described below
commit f89e09cf0669f9ed491a20fb993d6e674dc4882e
Author: Michele Sciabarra <[email protected]>
AuthorDate: Sat Aug 3 14:31:50 2024 +0200
docopts
---
docopts.txt | 21 ++++++++++++++++-----
opsfile.yml | 5 -----
util/opsfile.yml | 1 +
3 files changed, 17 insertions(+), 10 deletions(-)
diff --git a/docopts.txt b/docopts.txt
index ed903c1..13b786e 100644
--- a/docopts.txt
+++ b/docopts.txt
@@ -1,11 +1,22 @@
Welcome to Ops, the all-mighty Apache OpenServerless Build Tool
-The top level commands all have subcommands.
-Just type nuv <command> to see its subcommands.
+General usage is:
+
+ ops <command> <subcommand>... <args|-options>...
+ ops -<tool> <args|-options>...
+
+Type ops <command> to see its subcommands and the help of a subcommand
+Type ops -<tool> -h to see the help of a tool
Commands:
config Manage the Apache OpenServerless configuration
setup Setup the Apache OpenServerless platform on multiple environments
- tests Tests
- util Utility
- version
\ No newline at end of file
+ util Utilities
+
+Tools:
+ -version Current version
+ -info Configuration informations
+ -login Login in an Apache Operverless Cluster
+ -update Update ops
+ -help More info on the tools
+
\ No newline at end of file
diff --git a/opsfile.yml b/opsfile.yml
index d1207c3..f80ebd9 100644
--- a/opsfile.yml
+++ b/opsfile.yml
@@ -19,11 +19,6 @@
version: "3"
tasks:
- version:
- desc: version
- silent: true
- cmds:
- - echo ops v$NUV_VERSION
tests:
desc: tests
diff --git a/util/opsfile.yml b/util/opsfile.yml
index 59a9ac0..8b383ba 100644
--- a/util/opsfile.yml
+++ b/util/opsfile.yml
@@ -14,3 +14,4 @@ tasks:
silent: true
cmds:
- echo "TODO checking the running operator version"
+