Browse Source

En cours de développement

master
mls-361 1 year ago
parent
commit
31cc3cab03
  1. 8
      internal/cmdline/cmdline.go

8
internal/cmdline/cmdline.go

@ -76,23 +76,23 @@ func encrypt(app *application.Application) error {
func version(app *application.Application) {
fmt.Println()
fmt.Println("------------------------------------------------")
fmt.Println(" application :", app.Name(), "v"+app.Version())
fmt.Println(" built at :", app.BuiltAt().Format("2006-01-02 15:04:05"))
fmt.Println(" copyright :", "mls-361")
fmt.Println(" license :", "MIT")
fmt.Println("--------------------------------------@(°_°)@---")
fmt.Println()
fmt.Println("--@(°_°)@----------------------------------")
fmt.Println()
}
func help(app *application.Application) {
fmt.Println()
fmt.Println("------------------------------------------------")
fmt.Println(" commands:")
fmt.Println(" [-[-]]decrypt|-d|-D <string>")
fmt.Println(" [-[-]]encrypt|-e|-E <string>")
fmt.Println(" [-[-]]version|-v|-V")
fmt.Println("--------------------------------------@(°_°)@---")
fmt.Println()
fmt.Println("--@(°_°)@----------------------------------")
fmt.Println()
}

Loading…
Cancel
Save