SirLagz / zerotier-console

CLI utility for managing ZeroTier self-hosted controllers and a frontend for zerotier-cli
GNU Affero General Public License v3.0
18 stars 2 forks source link

Add input checking, set defaults in config file, window resizing, etc. #4

Closed majik-sheff closed 1 year ago

majik-sheff commented 1 year ago

Add rudimentary checking to the values stored in the config file.

Inserted sane defaults for the config file. This fixes a bug where if you forget to set the port the program won't start.

Added automatic resizing to adjust for the terminal size.

Moved the version info to a single spot at the top of the file so multiple locations don't need to be updated for every version change.