|
|
|
@ -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() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|