Browse Source

En cours de développement

master
mls-361 9 months ago
parent
commit
d7b37009d8
  1. 43
      internal/cli/cli.go

43
internal/cli/cli.go

@ -66,31 +66,32 @@ func version(ccs *components.Components) {
fmt.Println(" copyright :", "mls-361")
fmt.Println(" license :", "MIT")
fmt.Println()
fmt.Println("--@(°_°)@----------------------------------")
fmt.Println("--@(°_°)@-------------------------------")
fmt.Println()
}
func help() {
fmt.Println()
fmt.Println("The commands are:")
fmt.Println()
fmt.Println(" decrypt <string>")
fmt.Println(" encrypt <string>")
fmt.Println(" jobs")
fmt.Println(" create")
fmt.Println(" -name <string>")
fmt.Println(" -namespace <string> (required)")
fmt.Println(" -type <string> (required)")
fmt.Println(" -origin <string>")
fmt.Println(" -priority <int>")
fmt.Println(" -private <json>")
fmt.Println(" -run_after <datetime> (RFC3339)")
fmt.Println(" -retries <int>")
fmt.Println(" -category <string>")
fmt.Println(" version")
fmt.Println()
fmt.Println("--@(°_°)@----------------------------------")
fmt.Println()
fmt.Print(`
The commands are:
decrypt <string>
encrypt <string>
jobs
create
-name <string>
-namespace <string> (required)
-type <string> (required)
-origin <string>
-priority <int>
-private <json>
-run_after <datetime> (RFC3339)
-retries <int>
-category <string>
version
--@(°_°)@-------------------------------
`)
}
func Run(ccs *components.Components, args []string) error {

Loading…
Cancel
Save