rwxrob
a4a073847b
Simplify error messages
2022-04-24 09:22:01 -04:00
rwxrob
1198faaa5d
Remove Z.Shortcuts
2022-04-22 08:59:31 -04:00
rwxrob
a29bdb8c54
Fix bug with shortcut completion
2022-04-21 23:45:18 -04:00
rwxrob
492ee10da6
Add UsageCmdShortcuts
2022-04-21 22:43:09 -04:00
rwxrob
c7583b8f82
Add Cmd.Shortcuts
2022-04-21 22:19:54 -04:00
rwxrob
c5d6bb50aa
Rename Z.Aliases to Z.Shortcuts
2022-04-21 18:49:27 -04:00
rwxrob
0c2e737c18
Add homedir to markfunc.go
2022-04-18 11:34:38 -04:00
rwxrob
c804f69060
Remove references to rwxrob in docs
2022-04-17 19:26:44 -04:00
rwxrob
e3dc6a52db
Fix Cmd.C and Cmd.Get return values
...
Cmd.C was not trimming white space.
Cmd.Get was only returning string. Should have been converted to
double return values with error.
2022-04-15 12:43:52 -04:00
rwxrob
96fb962b51
Add better usage and error messages
2022-04-15 05:56:28 -04:00
rwxrob
2075530694
Add UsageError and MissingConf back
2022-04-14 10:33:47 -04:00
rwxrob
de68606750
Add breaking change to Configurer, returns error
2022-04-14 09:25:08 -04:00
rwxrob
a1fc87eba6
Extend Path() with optional args
2022-04-14 09:10:21 -04:00
rwxrob
168892da24
Rename ReqConf/Vars to UseConf/Vars
2022-04-14 09:03:33 -04:00
rwxrob
1abb85778c
Add MaxArgs, NumArgs, clean up returns
2022-04-14 07:51:13 -04:00
rwxrob
7a319fdcc2
Add CallDummy function for easier testing
2022-04-14 07:49:57 -04:00
rwxrob
2501602891
Factor all errors into custom errors.go
2022-04-14 07:40:27 -04:00
rwxrob
a770d8250e
Rename CacheMap to Vars
2022-04-12 09:35:43 -04:00
rwxrob
c81f800235
Complete factoring of comp to own modules
2022-04-12 08:46:18 -04:00
rwxrob
499a9d1f83
Add better Run completion docs
2022-04-12 05:52:24 -04:00
rwxrob
1492aaf15a
Add Cmd.Root and Cmd.PathCmds
2022-04-11 14:08:31 -04:00
rwxrob
04ef25b40f
Change Q to C, add Set/Get
2022-04-11 07:47:36 -04:00
rwxrob
a3b8f82b5e
Drop (and fix) UsageFunc
2022-04-11 05:41:40 -04:00
rwxrob
7bcd340a40
Add https:// assumed note to site,source,issues
2022-04-11 04:29:58 -04:00
rwxrob
4e281d0314
Drop unused Cmd.UsageFunc (keep Z.UsageFunc)
2022-04-11 04:05:42 -04:00
rwxrob
7a241ea37d
Clean up and clarify fields
2022-04-11 04:01:29 -04:00
rwxrob
1cbae4c543
Add template support and Vars
2022-04-10 17:05:53 -04:00
rwxrob
87300a5828
Replace Dynamic with template.FuncMap
...
Must better and more resilient. Also allows the creation of template
domain languages by individual Cmd authors.
First `indent` builtin created.
2022-04-10 07:30:53 -04:00
rwxrob
966dc7ac29
Add Z.Out, capture shell command output
2022-04-09 17:26:03 -04:00
rwxrob
f7287f4f68
Add Cmd.Dynamic attributes and Dyn template method
2022-04-09 17:03:10 -04:00
rwxrob
692fbb7333
Add Cache, Cmd.ReqCache
2022-04-09 16:27:24 -04:00
rwxrob
d01674c3e0
Add text/template rendering to Get* methods
2022-04-09 15:29:37 -04:00
rwxrob
a3e22c48f8
Fix Cmd.Q, tighten Query interface reqs
2022-04-09 04:46:39 -04:00
rwxrob
fa90cf0850
Fix and close #64 , broken aliases
2022-04-09 02:51:43 -04:00
rwxrob
97ff92d4c8
Complete major refactor and simplification
...
* Pulled all the interfaces up and into `bonzai` package
* Command interface supplemented to match all Cmd
* Removed `config` dependency, now optional `Z.Conf`
2022-04-08 13:38:25 -04:00
rwxrob
dda3fe68f5
Factor help out, add TrapPanic/AllowPanic
2022-04-08 06:46:02 -04:00
rwxrob
98845b112a
Add TrapPanic and AllowPanic
2022-04-08 03:59:50 -04:00
rwxrob
a9acfa8a91
Remove work on update command
2022-04-07 05:36:25 -04:00
rwxrob
6b76c5919f
Add TrapPanic
2022-04-06 12:39:55 -04:00
rwxrob
3aea8cbeca
Add TrapPanic
2022-04-06 12:36:27 -04:00
rwxrob
f823eadc0b
Fix help nil Caller bug
2022-04-06 09:05:10 -04:00
rwxrob
e1eceeee5f
Fix help and mark, ready for 1.0
2022-04-06 07:29:29 -04:00
rwxrob
40b96f4174
Fix Blocks and Mark, plus new scan.R
2022-04-06 05:13:42 -04:00
rwxrob
199a74b181
Add all variation for BonzaiMark
2022-04-05 14:24:53 -04:00
rwxrob
717693ff6f
Completed Mark
2022-04-05 13:16:22 -04:00
rwxrob
fa625e5337
Create Block types for formatting
2022-04-05 12:26:24 -04:00
rwxrob
98ac4f744a
Blocks working
2022-04-05 10:40:49 -04:00
rwxrob
dcbcc5d34f
Blocks working
2022-04-05 10:40:22 -04:00
rwxrob
e2da6a2dbf
Working commit, just need to.Dedent
2022-04-02 16:38:16 -04:00
rwxrob
51d622e1c1
Working commit to preserve refactoring
2022-04-02 07:40:00 -04:00