1
0
forked from x/icebergs
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-03-02 08:20:05 +08:00
parent 51f24bbc48
commit 1ab91f08ba

View File

@ -117,9 +117,9 @@ func Run(arg ...string) string {
os.Exit(kit.Int(Pulse.Option(EXIT))) os.Exit(kit.Int(Pulse.Option(EXIT)))
} }
default: default:
// if logs.Disable(true); len(arg) == 0 { if logs.Disable(true); len(arg) == 0 {
// arg = append(arg, HELP) arg = append(arg, HELP)
// } }
if Pulse.Cmdy(INIT).Cmdy(arg); Pulse.IsErrNotFound() { if Pulse.Cmdy(INIT).Cmdy(arg); Pulse.IsErrNotFound() {
Pulse.SetAppend().SetResult().Cmdy(SYSTEM, arg) Pulse.SetAppend().SetResult().Cmdy(SYSTEM, arg)
} }