Commit Graph

46 Commits (main)

Author SHA1 Message Date
Rob Muhlestein 7f457a1b75
Remove dubious log print 2 years ago
Rob Muhlestein 3b302d0394
Fix edge case infinite loop with Get 2 years ago
Rob Muhlestein 4419500e80
Fix missing ref from UseVars and UseConf 2 years ago
Rob Muhlestein cbb7b625a4 Add pre-Call initialization and validation 2 years ago
Rob Muhlestein d219f79b9f Update comment on Dynamic to included embedded files 2 years ago
Rob Muhlestein a135921e96 Add VarDefs default Var and move to Cmd scope 2 years ago
Rob Muhlestein 494d2d684c Add VarDefsFromConf 2 years ago
Rob Muhlestein 60020822cb Remove shell refs and fix execonfdir 2 years ago
rwxrob c72353dee5
Fix missing Hidden support 2 years ago
rwxrob 26dded5d30
Add Z.Dynamic, closes #86 2 years ago
rwxrob a4a073847b
Simplify error messages 2 years ago
rwxrob 1198faaa5d
Remove Z.Shortcuts 2 years ago
rwxrob a29bdb8c54
Fix bug with shortcut completion 2 years ago
rwxrob 492ee10da6
Add UsageCmdShortcuts 2 years ago
rwxrob c7583b8f82
Add Cmd.Shortcuts 2 years ago
rwxrob c5d6bb50aa
Rename Z.Aliases to Z.Shortcuts 2 years ago
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.
2 years ago
rwxrob 96fb962b51
Add better usage and error messages 2 years ago
rwxrob 2075530694
Add UsageError and MissingConf back 2 years ago
rwxrob de68606750
Add breaking change to Configurer, returns error 2 years ago
rwxrob a1fc87eba6
Extend Path() with optional args 2 years ago
rwxrob 168892da24
Rename ReqConf/Vars to UseConf/Vars 2 years ago
rwxrob 1abb85778c
Add MaxArgs, NumArgs, clean up returns 2 years ago
rwxrob 2501602891
Factor all errors into custom errors.go 2 years ago
rwxrob c81f800235
Complete factoring of comp to own modules 2 years ago
rwxrob 499a9d1f83
Add better Run completion docs 2 years ago
rwxrob 1492aaf15a
Add Cmd.Root and Cmd.PathCmds 2 years ago
rwxrob 04ef25b40f
Change Q to C, add Set/Get 2 years ago
rwxrob a3b8f82b5e
Drop (and fix) UsageFunc 2 years ago
rwxrob 7bcd340a40
Add https:// assumed note to site,source,issues 2 years ago
rwxrob 4e281d0314
Drop unused Cmd.UsageFunc (keep Z.UsageFunc) 2 years ago
rwxrob 7a241ea37d
Clean up and clarify fields 2 years ago
rwxrob 1cbae4c543
Add template support and Vars 2 years ago
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.
2 years ago
rwxrob f7287f4f68
Add Cmd.Dynamic attributes and Dyn template method 2 years ago
rwxrob 692fbb7333
Add Cache, Cmd.ReqCache 2 years ago
rwxrob d01674c3e0
Add text/template rendering to Get* methods 2 years ago
rwxrob a3e22c48f8
Fix Cmd.Q, tighten Query interface reqs 2 years ago
rwxrob fa90cf0850
Fix and close #64, broken aliases 2 years ago
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`
2 years ago
rwxrob dda3fe68f5
Factor help out, add TrapPanic/AllowPanic 2 years ago
rwxrob 98845b112a
Add TrapPanic and AllowPanic 2 years ago
rwxrob f823eadc0b
Fix help nil Caller bug 2 years ago
rwxrob e1eceeee5f
Fix help and mark, ready for 1.0 2 years ago
rwxrob e2da6a2dbf
Working commit, just need to.Dedent 2 years ago
rwxrob 51d622e1c1
Working commit to preserve refactoring 2 years ago