jeftadlvw / git-nest

Nest external repositories into your project without git being bothered.
https://github.com/jeftadlvw/git-nest
Apache License 2.0
1 stars 1 forks source link

🚸 replace arguments in `add` with flags #20

Closed jeftadlvw closed 2 months ago

jeftadlvw commented 2 months ago

The arguments path and ref should not be positional arguments, but rather option flags:

So instead of

git-nest add example-repository.git main /lib/foo

The user is free to define either the reference, clone path or both

git-nest add example-repository -r main -p lib/foo