Age | Commit message (Collapse) | Author |
|
|
|
|
|
Make the tab reload work based on the flag instead of always reloading.
|
|
Print errors in a consistent way instead of using `log`, which was just
for rapid development.
Also exit using codes that make sense.
|
|
Condition printing debug output on the presence of this flag.
|
|
|
|
Run the reload on multiple extensions.
|
|
|
|
In order to print a custom error message for missing extension IDs, I
needed to set a default value for it.
Looks like the type assertions are necessary. Not the cleanest, but no
matter.
|
|
Found Claw from a search for "argument parser" on https://godocs.io. I
did a quick comparison with a few other argument parsing libraries I
found in a GitHub search:
* https://github.com/alexflint/go-arg
* https://github.com/docopt/docopt.go
* https://github.com/fred1268/go-clap
Claw ended up being the most straightforward to me.
|
|
|
|
Put the executable in a cmd/ directory.
|