Rob Muhlestein
72f64a8244
Add separation and MissingVar to errors
2022-11-06 20:07:16 -05:00
Rob Muhlestein
a135921e96
Add VarDefs default Var and move to Cmd scope
2022-11-05 16:27:34 -04:00
Rob Muhlestein
494d2d684c
Add VarDefsFromConf
2022-11-05 16:02:41 -04:00
Rob Muhlestein
60020822cb
Remove shell refs and fix execonfdir
2022-11-03 20:52:03 -04:00
Rob Muhlestein
8e91d11210
Fix bug with paragraph trucation, update deps
2022-08-11 17:00:58 -04:00
rwxrob
c72353dee5
Fix missing Hidden support
2022-04-30 11:06:42 -04:00
rwxrob
be33c58d60
Update to latest scan.R
2022-04-29 15:38:09 -04:00
rwxrob
24b75e139a
Overhaul the Block parser
2022-04-25 22:51:29 -04:00
rwxrob
a50f023f74
Update Emph scanner
2022-04-25 15:22:47 -04:00
rwxrob
e941cc7a96
Fix wrapping
2022-04-25 13:39:18 -04:00
rwxrob
26dded5d30
Add Z.Dynamic, closes #86
2022-04-24 09:22:41 -04:00
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