amtoine / nu-git-manager

A collection of Nushell tools to manage Git repositories.
GNU General Public License v3.0
26 stars 2 forks source link

add `--personal` to `run` in `toolkit.nu` #132

Closed amtoine closed 9 months ago

amtoine commented 9 months ago

the idea is to allow testing new commands in the real store of repos.

example

tk run --interactive --personal --sugar ["extra", "github"]

will run the currently checked out revision

Important using both --personal and --clean will pull up a prompt with all defaults set to false to make sure the user is conscious of what is about to happen... deletion of all their repos :scream:

  • in case they explicitely answer yes, the store will be emptied
  • in case they answer no, the cleaning step will be skipped and the rest will run as if --clean was not raised