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

ReposVerb: alternate names for add/remove #286

Closed
derrickstolee opened this issue Jan 9, 2020 · 0 comments · Fixed by #292
Closed

ReposVerb: alternate names for add/remove #286

derrickstolee opened this issue Jan 9, 2020 · 0 comments · Fixed by #292

Comments

@derrickstolee
Copy link
Contributor

The words "add" and "remove" are overloaded. Can we change the names of the scalar repos (add|remove) commands?

Options:

  • watch/unwatch
  • register/unregister
  • Move into the MaintenanceVerb: maintenance start / maintenance stop
derrickstolee added a commit that referenced this issue Jan 14, 2020
This PR is probably too large and I'll need to split it into smaller parts. However, it has the full story of how to redo our command-line interface:

* Commands `clone`, `diagnose`, `config`, `cache-server` are untouched.

* The `repos` command is dropped in favor of `register`, `list`, and `unregister`. Resolves #286.

* Created the `pause` and `resume` commands. Starts #284.

* Replaced `remove` with `delete`. Resolves #274.

* Reorganized the `docs` folder. Instead of a command reference page for each command, commands are grouped by purpose and documented together. These sections are:

  - **Getting Started:** `clone`, `register`, `unregister`, `delete`.
  - **Advanced:** `run`, `pause`, `resume`.
  - **Troubleshooting:** `upgrade`, `diagnose`, `config`, `cache-server`.

Not done yet, but can be done in a later PR:

* Update the `README.md` with new information and point to the docs.

* `scalar run all` to run all maintenance tasks on an enlistment. (See #287)
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

Successfully merging a pull request may close this issue.

1 participant