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

Command Line Interface #7

Open
3 of 12 tasks
travispotterBH opened this issue Jun 2, 2023 · 0 comments
Open
3 of 12 tasks

Command Line Interface #7

travispotterBH opened this issue Jun 2, 2023 · 0 comments

Comments

@travispotterBH
Copy link
Owner

travispotterBH commented Jun 2, 2023

Use Clap: https://docs.rs/clap/4.3.0/clap/

Commands

  • init
  • go (take in a bunch name, and then run needed commands to switch over all the branches)
  • prev (go to the previous bunch) (only got back and forth, it is less like undo, and more like a carousel)
  • add (to bunch)
  • new (create new set of branches in repos based on bunch template)
  • remove (branch from bunch)
  • config (opens toml config file in text editor to set global settings) or flags/args inline to set
  • pull (switch to branches from bunch collection, and pull down latest, just fail on merge conflicts)
  • push(switch to brances from bunch collection, and push to remote, does not handle tracking files or committing -- user to do this)
  • template (takes in arguments vector of repo names to be used for common development workflows) ex. three repos are commonly involved in each feature development. allow for quickly creating a branch on each of the repos of the same name
  • list (list all currently defined bunches, hold up to 15?)

Options

  • set build command/file config for the repos to be used on switch
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