Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor config functions #28

Open
madeddie opened this issue May 13, 2024 · 0 comments
Open

Refactor config functions #28

madeddie opened this issue May 13, 2024 · 0 comments
Milestone

Comments

@madeddie
Copy link
Owner

madeddie commented May 13, 2024

  • define list of functions that require auth and which are optional
  • on executing subcommands that require auth if config doesn't exist fail and ask to run config creation
  • idem if auth is not required, warn of lack of auth
  • make sure the correct directories exist, ask permission to create them
  • Prompt user or handle file overwrite scenario
  • check libraries that deal with plastform independent config file locations (click?) [fixed in pr Split off session module #56]
  • check validity of config after creation (can we log in?)
  • when running the config subcommand; try to read an existing config file and give the values as default values
@madeddie madeddie added this to the 0.3.0 milestone May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant