1
0
mirror of https://github.com/gogf/gf.git synced 2025-04-05 11:18:50 +08:00

20 Commits

Author SHA1 Message Date
Wlynxg
3f24b4da2e
feat(os/gcmd): add default value display for an argument (#4083) 2025-01-13 09:26:59 +08:00
John Guo
e3e5c89ba7
fix(os/gcmd): cannot retrieve all args if no subcommand defined for a root command (#3850) 2024-10-10 09:17:34 +08:00
John Guo
ea5d52cb2f
fix issue #3147 (#3161) 2023-11-22 21:05:39 +08:00
Hunk Zhu
0b407c5e6d
fix "gf gen pb" api and ctrl not working well. (#3076) 2023-11-08 21:26:51 +08:00
John Guo
da8297d770
improve AddObject to support Command/*Command parameter for package gcmd (#2587) 2023-04-18 10:09:07 +08:00
John Guo
a2905977ec improve package gcmd, adding CaseSensitive option for options parsing, default is CaseInsensitive 2022-05-13 15:24:10 +08:00
John Guo
80daed6bdf add repeated checks for command name, argument name and short name for package gcmd 2021-12-13 20:18:13 +08:00
John Guo
f25f8e8033 add argument feature for package gcmd 2021-12-09 23:49:39 +08:00
John Guo
9c41f2e3f8 improve package gcmd 2021-12-07 22:10:19 +08:00
John Guo
a8d6363e79 inject Command into context and add function CommandFromCtx for package gcmd 2021-12-07 21:55:06 +08:00
John Guo
6a82fdb888 add config feature for package gcmd 2021-12-07 19:08:52 +08:00
John Guo
80e8a58f45 add NeedArgs feature for package gcmd 2021-12-02 23:50:29 +08:00
John Guo
be0df90d05 add strict attribute for gcmd.Command for strict option parsing 2021-11-25 14:56:15 +08:00
John Guo
7b22355abb expose package internal/structs as os/gstructs; add package gtag for custom tag storage feature 2021-11-24 16:17:50 +08:00
John Guo
0622b517c5 command object feature for package gcmd 2021-11-23 20:26:55 +08:00
John Guo
dc1ad3dda4 gcmd manager feature 2021-11-22 11:23:46 +08:00
John Guo
dde4b75022 improve command feature for package gcmd 2021-11-21 13:11:28 +08:00
John Guo
e936b376fb improve command feature for package gcmd 2021-11-21 13:09:45 +08:00
John Guo
dbee5810dc merge master 2021-11-21 00:54:40 +08:00
John Guo
9ee0f04e58 add command feature for package gcmd 2021-05-26 22:08:13 +08:00