arades79 / hyperdome

the safest place to reach out
Other
27 stars 1 forks source link

Server admin cli #75

Closed arades79 closed 4 years ago

arades79 commented 4 years ago

Summary

This PR replaces the argparse CLI in the hyperdome server with a much more robust one using click. This new CLI has interfaces for more rich interactions with server configuration and administration. The interfaces in place will allow administrators to change settings, import and export settings, and manage allowed counselors for the server.

The CLI works when pyinstaller is run for binaries.

Currently the CLI interfaces are 'empty' in that they only print to the screen and make none of the underlying changes that one would expect. The underlying systems for these interactions such as a settings schema and counselor database, are not yet implemented and would make this PR too big.

The placement of the cli.py file is subject to change as well. The current project structure is messy and likely difficult for an incoming developer to develop for.

The CLI added makes progress on issue #38 but does not close it due to lack of counselor DB implementation.

Checklist