Joel Elkins
60a3ba71bb
Use contMask to ignore categories beginning with . by default
2022-11-01 15:36:51 -05:00
Joel Elkins
ca5f956ef2
Complete linting for whole project
2022-08-17 10:21:46 -05:00
Joel Elkins
b91eb62c34
Huge amount of linting
...
Linting
2022-08-17 02:25:12 -05:00
Joel Elkins
158e4353f4
Rename the special 'disabled' category to '.'
2022-07-31 00:21:17 -05:00
Joel Elkins
10bb8b9d68
show does not need connection
2022-07-29 22:13:01 -05:00
Joel Elkins
d58402ab6f
Allow for connection failures for some commands
2022-07-29 22:10:12 -05:00
Joel Elkins
1a0c00cb27
Move connection opening to PersistentPreRun, and only attempt when needed
2022-07-29 19:43:35 -05:00
Joel Elkins
ddd391c8b0
Mask disabled category from action by default
2022-07-27 21:48:47 -05:00
Joel Elkins
c5dc8ba3ed
Clean up error handling, logging, and completion
2022-07-26 15:22:38 -05:00
Joel Elkins
b758f04a50
Migrate to podman API rather than cli
...
Large change greatly expanding the linked footprint of this little
utility, but it is much faster and adds a couple of very nice features:
- set container sysctl settings to disable router advertisements as part
of container definition. this means we no longer need to do this via
`ip netns exec <container> sysctl -w ...` (followed by
`ip netns exec ip -6 a flush...`). Major win.
- able to very quickly ascertain creation and run state of defined
containers.
2022-07-25 10:13:36 -05:00
Joel Elkins
94c29f9d6e
Don't bomb out when config file not found, just warn
2022-07-19 19:05:23 -05:00
Joel Elkins
f74dc50392
Rest of commands; tooling including conditional command types
2022-07-18 19:47:05 -05:00
Joel Elkins
61b7fe55a0
Convert project structure to cobra; many other changes. WIP.
...
- Factor out various components to different packages
- Add abstract command package to allow for calling go funcs etc. at
runtime.
2022-07-18 10:10:24 -05:00