commit | fe7243df553e590cb0c5948015d7e3bef684189d | [log] [tgz] |
---|---|---|
author | Marc-Antoine Ruel <maruel@chromium.org> | Sat Sep 20 18:57:48 2014 -0400 |
committer | Marc-Antoine Ruel <maruel@gmail.com> | Sun Sep 12 11:11:45 2021 -0400 |
tree | 337ccd50056fecf6366aed0797c89f6c5918266d | |
parent | 9c2bbaba0d70de28cb39a9edf339dd560410cf04 [diff] |
Add sample-complex.
This package permits a Go application to implement subcommands support similar to what is supported by the ‘go’ tool.
The library is designed so that the test cases can run concurrently. Using global flags variables is discouraged to keep your program testable concurrently.
The intended command is found via heuristic search;
lo
will run longcommand
as long as there's no command with the same prefix.longcmmand
or longcmomand
will properly trigger longcommand
.