Browse Source

En cours de développement

master
mls-361 9 months ago
parent
commit
20854d3a65
  1. 2
      internal/cli/cli.go
  2. 4
      internal/demo/demo.go

2
internal/cli/cli.go

@ -77,7 +77,7 @@ func version(ccs *components.Components) {
func help() {
fmt.Println()
fmt.Println(" commands:")
fmt.Println("The commands are:")
fmt.Println()
fmt.Println(" decrypt <string>")
fmt.Println(" encrypt <string>")

4
internal/demo/demo.go

@ -21,10 +21,6 @@ type demo struct {
var _demo *demo
func Build(ccs *components.Components) error {
if _, ok := ccs.Application.LookupEnv("CONFIG"); ok {
return nil
}
if v, ok := ccs.Application.LookupEnv("DEMO"); !ok || (v != "t" && v != "true") {
return nil
}

Loading…
Cancel
Save