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

Clean up CLI for configuration #36

Open
stefpiatek opened this issue Nov 16, 2023 · 0 comments
Open

Clean up CLI for configuration #36

stefpiatek opened this issue Nov 16, 2023 · 0 comments

Comments

@stefpiatek
Copy link
Collaborator

Should rationalise our CLI so we have a single qw configure

Maybe something like qw configure --initialise which:

  • writes local config file
  • waits for user to say they have generated the access token
  • prompts for github PAT
  • updates local repo with templates and actions
  • wait for continue prompt to say that the files are in the default branch of the remote repository so that the remote rules have been added
  • uses REST request to add rulesets

Then CLI arguments for each action step like

qw configure --set-repo
qw configure --add-login
qw configure --update-local
qw configure --add-remote-rules

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