This PR should add the trace option, used by +trace and --trace
TODO
- [x] Making the trace work properly
- [x] Documentation adding
- [x] Completion adding
Co-authored-by: grumbulon <grumbulon@grumbulon.xyz>
Reviewed-on: #162
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
Instead of copying the opts struct every time it gets passed around, it should be created once and passed through reference.
This should reduce memory utilization, unfortunately I cannot test it since this program runs so fast pprof won't report anything useful.
I think I found all of them 🙂
Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #132
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
...when not using the standard print
(JSON/XML/YAML)
This should make making an API for this even easier :)
Reviewed-on: #91
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>