-
Notifications
You must be signed in to change notification settings - Fork 2
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
a bit of design: namespace and imports #28
Comments
i was thinking about what we could do with the new nushell/nupm#33 and nushell/nupm#35 😏 as you can see in nushell/nu_scripts#650 and nushell/nu_scripts#648, we could have two directories
this would allow to install and use the main use nu-git-manager "gm clone"
use nu-git-manager-sugar git * # would import `git branches` and friends what do you think? 😋 |
Shouldn't we move that to discussions? I wanted to open a thread or a project to list things we talked about "privately" since I think we can pick up old ideas now that there is a good base |
Nice I will read up all that, I did not understand much about nupm for now, mainly its cli hasn't any documentation? (maybe I did not install it well, I only needed it for running the gm tests and it worked fine) |
i wouldn't mind 😋 |
i might give a short demo of Nupm tonight during the core-team meeting, feel free to join 😉 the only thing you'd need to do, and it's the same currently, is to run use nupm
nupm install --force --path /path/to/nu-git-manager currently, that would install |
let's wait for - #28 ## description ### new commands - `gm repo branch wipe` - `gm report` - `gm repo fetch branch` - `gm repo compare` - `gm repo branch interactive-delete` - `gm repo switch` - `gm repo ls` ### tests all the new commands have been tested and the ones that couldn't were marked as "ignored"
i've been thinking a bit about the user experience of
nu-git-manager
.with #26, i feel the command API is quite good and simple (:crossed_fingers:)
however, here i would like to talk about the way the library definitions are imported 😋
cc/ @melMass
the namespace
i think all the commands from
nu-git-manager
should be subcommands ofgm
, to havegit
orgh
which can break external completersimports
here is what i propose, the implementation is really a detail in the scope of this issue 👌
The text was updated successfully, but these errors were encountered: