mirror of
https://github.com/jorgebucaran/fisher
synced 2024-06-28 23:01:50 +02:00
refactor: add more info to help command
Command line usage help now tells you that running fisher will update installed packages. Running fisher also commits fishfile changes, but I couldn't fit all the words on the same line.
This commit is contained in:
parent
76bb67b9c6
commit
207ccf00b6
13
fisher.fish
13
fisher.fish
|
@ -91,20 +91,23 @@ function _fisher_version -a file
|
|||
end
|
||||
|
||||
function _fisher_help
|
||||
echo "usage: fisher add <PACKAGES> add packages"
|
||||
echo "usage: "
|
||||
echo " fisher add <PACKAGES> add packages"
|
||||
echo " fisher rm <PACKAGES> remove packages"
|
||||
echo " fisher ls list installed packages"
|
||||
echo " fisher self-update update fisher"
|
||||
echo " fisher self-uninstall uninstall fisher & all packages"
|
||||
echo " fisher update installed packages"
|
||||
echo " fisher ls show installed packages"
|
||||
echo " fisher help show this help"
|
||||
echo " fisher version show version"
|
||||
echo " fisher self-update update fisher"
|
||||
echo " fisher self-uninstall uninstall fisher"
|
||||
echo
|
||||
echo "examples:"
|
||||
echo " fisher add jethrokuan/z rafaelrinaldi/pure"
|
||||
echo " fisher add gitlab.com/owner/foobar@v2"
|
||||
echo " fisher add ~/myfish/mypkg"
|
||||
echo " fisher add ~/path/to/myfish/pkg"
|
||||
echo " fisher rm rafaelrinaldi/pure"
|
||||
echo " fisher ls | fisher rm"
|
||||
echo " fisher add < bundle"
|
||||
end
|
||||
|
||||
function _fisher_self_update -a file
|
||||
|
|
Loading…
Reference in a new issue