gcli
gcli copied to clipboard
🖥 Go CLI application, tool library, running CLI commands, support console color, user interaction, progress display, data formatting display, generate bash/zsh completion add more features. Go的命令行...
@inhere Command Cli时好像无法正确解析`bool`类型    _Originally posted by @hb0730 in https://github.com/gookit/gcli/issues/58#issuecomment-1196278556_
关于交互式建议
1. interact.ReadLine 是否新增**必填**选项 2. interact.SelectOne ```golang SelectOne(title string, options interface{}, defOpt string, allowQuit ...bool) ``` 既然默认值已经是`string`,那`options`的`interface`是否能够确认类型, 好像`defOpt`只能是字符串下标  这种可能想要的只是`bool` 参考 [promptui](https://github.com/manifoldco/promptui)
- [x] refactor the app and cmd event handle logic - [x] app and command running logic - [x] refactor flags parse logic
Bumps [github.com/gookit/goutil](https://github.com/gookit/goutil) from 0.5.11 to 0.5.12. Release notes Sourced from github.com/gookit/goutil's releases. v0.5.12 Change Log Refactor refactor: refactoring the pkg /common to /comdef, will be deleted common pkg at soon...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.20.0 to 0.22.0. Commits d042a39 go.mod: update golang.org/x dependencies b92bf94 ssh: respect MaxAuthTries also for "none" auth attempts 6f79b5a ssh: add server side multi-step authentication 8d0d405 x/crypto/chacha20:...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.24.0 to 0.26.0. Commits 5bcd010 go.mod: update golang.org/x dependencies 3375612 ssh: add support for unpadded RSA signatures bb80217 ssh: don't use dsa keys in integration tests 6879722...
Bumps [morphy2k/revive-action](https://github.com/morphy2k/revive-action) from 2.5.7 to 2.5.9. Release notes Sourced from morphy2k/revive-action's releases. v2.5.9 What's Changed Change target container image by @morphy2k in morphy2k/revive-action#136 Full Changelog: https://github.com/morphy2k/revive-action/compare/v2.5.8...v2.5.9 v2.5.8 What's Changed Bump...
**System (please complete the following information):** - OS: `windows 10` - GO Version: `1.21.6` - Pkg Version: `v3.2.3` **Describe the bug** I set a ‘run’ command for the app through...