summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-28Merge branch 'usage'HEADmasterAaron Ball
2022-06-28Improve usage helptext and add -h,--help argAaron Ball
2022-06-28Merge branch 'flexible-argv'Aaron Ball
2022-06-28Add runconfig codeAaron Ball
This adds a new struct, runconfig, which handles runtime configurations. It essentially stores the validated arguments passed by the user at runtime. Right now, this separation of code is a bit overkill, but later this will support things like unix and udp sockets, as well as additional configurations such as running in foreground and retry cooldown times.
2022-06-28Merge branch 'organize'Aaron Ball
2022-06-28Better organize codeAaron Ball
Move network code into new `net` library. This will allow better organization of code when udp and unix socket support is added. This also cleans up the main includes as it doesn't need any of the networking libraries. This also moves the argument parsing into the new `parse_args` function to clean up main a bit.
2022-06-28Initial commitAaron Ball
This works well, but is still very basic. Many more features and documentation to come.

Generated by cgit