Commit Graph

94 Commits

Author SHA1 Message Date
John Guo
1e8237446e add tracing logging content if trace id is available in context for package gcmd 2022-06-17 17:42:49 +08:00
John Guo
b2b2044786 add tracing logging content if trace id is available in context for package gcmd 2022-06-17 17:41:10 +08:00
John Guo
c2e742335b add otel support for package gcmd 2022-06-17 15:16:35 +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
b63e01adf6 add internal log content for package gcmd 2022-05-13 14:48:22 +08:00
John Guo
d8d9996464 fix issue #1662 2022-03-11 10:24:42 +08:00
John Guo
546b6b1724 t.Assert(err, nil) -> t.AssertNil(err) 2022-03-10 11:36:40 +08:00
huangqian
f08c18594b Merge branch 'master' of https://github.com/gogf/gf 2022-03-07 22:35:39 +08:00
John Guo
3fcd6ef877 fix issue orphan value parsing for sructured arguments of command for package gcmd 2022-03-03 21:03:42 +08:00
huangqian
0516159ae3 Improving gcmd Code Coverage 2022-02-28 21:11:53 +08:00
huangqian
8acffd1186 Improving gcmd Code Coverage 2022-02-27 21:00:23 +08:00
huangqian
814450fd17 gcmd example 2022-02-27 13:22:26 +08:00
John Guo
43f1354e79 fix configuration support for package gcmd 2022-01-24 10:32:19 +08:00
John Guo
7401fb09c9 add examples for package gcmd 2022-01-19 23:35:23 +08:00
John Guo
bb37e5ac88 remove Handler feature for gcmd.Parser 2022-01-19 21:07:48 +08:00
John Guo
69935f3d1c remove ContainsOpt from package gcmd 2022-01-19 20:25:04 +08:00
John Guo
3bbbe1db9c change pointer receiver that implements interface MarshalJSON to struct receiver for all packages 2022-01-19 16:55:57 +08:00
John Guo
9486f6e7e9 improve package gcmd/ghttp 2022-01-12 19:39:38 +08:00
John Guo
ee25d696eb improve package gcmd 2022-01-01 20:20:49 +08:00
John Guo
c17530a6db improve command not found error for package gcmd 2022-01-01 19:57:43 +08:00
John Guo
c1586a3b81 improve package gcmd 2022-01-01 00:58:10 +08:00
John Guo
09f9d1cb7a improve package gcmd 2022-01-01 00:18:50 +08:00
John Guo
63d384b676 help content update for pakcga egcmd 2021-12-18 23:27:41 +08:00
John Guo
3658faafae improve help content printing for package gcmd 2021-12-17 15:47:48 +08:00
John Guo
f4e8eff813 improve help content printing for package gcmd 2021-12-16 12:45:00 +08:00
John Guo
4c7e409e61 improve argument/option printing content for package gcmd 2021-12-14 22:34:06 +08:00
John Guo
7d84ab761b improve package gcmd for help content printing 2021-12-13 20:30:56 +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
1015fb5338 improve package gcmd 2021-12-13 19:59:41 +08:00
John Guo
a1fb5f18dc improve package gcmd 2021-12-11 01:11:40 +08:00
John Guo
780d06b19e improve package gcmd 2021-12-11 00:57:26 +08:00
John Guo
3a20883a81 improve package gcmd 2021-12-11 00:12:58 +08:00
John Guo
f0c25d8476 improve package gcmd/gtag 2021-12-10 23:58:10 +08:00
John Guo
f25f8e8033 add argument feature for package gcmd 2021-12-09 23:49:39 +08:00
John Guo
01930c9899 improve package gcmd 2021-12-08 19:50:28 +08:00
John Guo
4f0b45aeac improve package gcmd 2021-12-08 19:21:25 +08:00
John Guo
b7b71795a4 improve package gcmd 2021-12-07 22:19:28 +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
71399d1f65 improve package gcmd 2021-12-04 00:26:45 +08:00
John Guo
80e8a58f45 add NeedArgs feature for package gcmd 2021-12-02 23:50:29 +08:00
John Guo
26ef8c5872 add root tag in matadata of struct to specify the root command function for the object for package gcmd 2021-12-02 23:31:06 +08:00
John Guo
c1b75b9071 improve package gcmd 2021-12-02 20:27:26 +08:00
John Guo
dd0045e36f improve package gcmd 2021-11-30 16:43:42 +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
f91b5b558a improve package gcmd 2021-11-24 22:45:34 +08:00
John Guo
0db3a9f0f6 improve package gcmd 2021-11-24 22:27:09 +08:00
John Guo
8442bab164 improve package gcmd 2021-11-24 22:15:23 +08:00
John Guo
332de30fba improve package gcmd 2021-11-24 21:57:41 +08:00