Closed jeftadlvw closed 2 months ago
The arguments path and ref should not be positional arguments, but rather option flags:
path
ref
--reference
-r
--path
-p
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
The arguments
path
andref
should not be positional arguments, but rather option flags:--reference
/-r
: reference to check out after cloning--path
/-p
: path to clone intoSo instead of
The user is free to define either the reference, clone path or both