command

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2024-12-21
23:59
set flag.Usage early in case operation handler calls CheckUsage Leaf check-in: 638a45479c user: dnc tags: trunk
01:24
fix bug when nesting subcommands check-in: 90ef7610a7 user: dnc tags: trunk
2024-12-07
00:54
fix arg list when descending into sub operation check-in: 68f0714b3b user: dnc tags: trunk
2024-11-20
10:09
introduce Check for non-fatal errors check-in: 717e5afe18 user: dnc tags: trunk
2024-11-04
12:47
Route.New for sub-commands and Route.Operation for operations check-in: ed4dace4b5 user: dnc tags: trunk
2024-11-03
10:41
introduce v3, still work-in-progress check-in: 74b908c8c5 user: dnc tags: trunk
10:40
tweak log prefix check-in: 597ac1cc79 user: dnc tags: trunk
2023-08-05
03:48
readme and small fixes check-in: 9c1191dd30 user: dnc tags: trunk
03:25
simplified command/v2 supports operations and little else check-in: cd6d58564d user: dnc tags: trunk
2020-12-30
09:36
sort operations in usage, to have consistent order check-in: a8448f374b user: dnc tags: trunk
08:49
fix help (broken prior commit); do not export operation handler check-in: 06b97bf0f7 user: dnc tags: trunk
08:43
comments and cleanup check-in: 50844d2a8c user: dnc tags: trunk
08:23
misc fixes; show operation usage on -h or help check-in: d4db054d7f user: dnc tags: trunk
2020-12-29
19:40
fix show usage error; cosmetic changes check-in: a0ce25deea user: dnc tags: trunk
07:34
remove non-stdlib errors package dependency (now use "errors" package) check-in: fa476d9e9c user: dnc tags: trunk
07:29
remove html helpers and associated dependencies check-in: be1bb59c99 user: dnc tags: trunk
07:25
removed complex logging; go mod tidy to remove unwanted dependencies check-in: dfa3d513dd user: dnc tags: trunk
06:53
parse flags deeply, finding flags both before and after operation name; remove config file parsing check-in: aee90d6623 user: dnc tags: trunk
04:55
refactor command package to support flags before or after operation name check-in: 9c6968e3f4 user: dnc tags: trunk
2020-12-27
17:53
Create new branch named "v0.1.0" Leaf check-in: 5e7a50e479 user: dnc tags: v0.1.0
2020-07-24
19:35
profile flags (cpu, mem) only when debug build tag check-in: 9d89771902 user: dnc tags: trunk
2020-06-11
13:26
genvironment: filter environment by regexp Avoid leaking entire development environment which may contain sensitive information. check-in: d62a71abf5 user: dnc tags: trunk
2020-05-22
07:10
initialize operation flag set only if there are registered operations check-in: f30aed918c user: dnc tags: trunk
07:08
verbose helper, should have been committed earlier check-in: a8ff3d1fb3 user: dnc tags: trunk
07:00
genvironment: generate code that reflects the environment at build time check-in: 3aa8fd2fe3 user: dnc tags: trunk
06:56
html: prepare to deprecate html package check-in: 0bcc6f40ec user: dnc tags: trunk
2020-05-16
00:09
error check stack trace with debug build flag; simple logging on wasm builds check-in: 2b3d2da392 user: dnc tags: trunk
2020-04-28
16:27
improve generic usage syntax check-in: 8204e5d441 user: dnc tags: trunk
2020-04-26
17:41
html: helper function to check/add errors when building html pages check-in: 180e3e5a0e user: dnc tags: trunk
2020-04-25
04:35
html: introduce Section helper type, allow apps to define custom page sections check-in: 4746f9f52d user: dnc tags: trunk
2020-04-20
01:53
html: clean up README check-in: 55587babb3 user: dnc tags: trunk
01:52
html: iterate helper function for templates check-in: 80e3239257 user: dnc tags: trunk
2020-04-04
15:37
html: helpers for HTML user interfaces (i.e. web browser); work in progress check-in: 772c492a24 user: dnc tags: trunk
2020-02-11
20:04
avoid panic when "v" flag set by glog check-in: e3f4ab4853 user: dnc tags: trunk
2020-01-27
21:34
now a go module check-in: a7326c726f user: dnc tags: trunk
21:34
fix test for profile flags check-in: 679d8f6765 user: dnc tags: trunk
2020-01-09
18:41
top level flags cpuprofile and memprofile Note that ideally these would be conditionally compiled. Perhaps with a devel tag during build. check-in: 7e3e7c7af8 user: dnc tags: trunk
17:45
fix for command name when rendering usage now showing tail of os.Args[0] check-in: 058bba33f1 user: dnc tags: trunk
2019-11-24
12:45
merged help mode fixes check-in: 5bbf179d98 user: dnc tags: trunk
2019-11-21
00:33
clean up copyright removed LICENSE.txt (hoping to fix issue with pkg.go.dev site) check-in: 1f2b0c324b user: dnc tags: trunk
2019-10-31
11:41
usage less wordy removed redundant "Supported" check-in: 14c529968c user: dnc tags: trunk
2019-10-25
01:37
avoid errors when current operation is nil check-in: 404af4fb5a user: dnc tags: trunk
00:22
improve help mode check-in: 254b4a3dbb user: dnc tags: trunk
2019-06-13
17:17
show usage only once check-in: 28cb06f9a3 user: user tags: trunk
2019-06-09
11:20
fix non-zero status on error; also documentation edits check-in: 2ac1e9d885 user: user tags: trunk
2019-06-08
21:07
remove debug hacks check-in: b1e43c7314 user: user tags: trunk
21:06
gluten-free help mode (less spaghetti!) reverted recent change to handlers with modes instead cleaned up help mode to take advantage of flag.ErrHelp check-in: 7294677672 user: user tags: trunk
19:41
fix use of deprecated handlers check-in: 954b91fd0e user: user tags: trunk
2019-06-07
15:12
clean up help operation introduce help mode to discover operation flags check-in: 819f2e9fd8 user: user tags: trunk
15:11
string set helper Strings() check-in: 0384c58631 user: user tags: trunk