mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-01-10 13:03:45 +08:00
62a45e9ec2
Instead of clobbering the actions with both version and help, use options instead. They are also going to be used for subcommands (e.g. omf list --help) once they support options.
23 lines
953 B
Fish
23 lines
953 B
Fish
function omf.help
|
|
echo \n"\
|
|
"(omf::dim)"Usage"(omf::off)"
|
|
omf "(omf::em)"action"(omf::off)" [options]
|
|
|
|
"(omf::dim)"Actions"(omf::off)"
|
|
"(omf::em)"l"(omf::off)"ist List local packages.
|
|
"(omf::em)"i"(omf::off)"nstall Install one or more packages.
|
|
"(omf::em)"t"(omf::off)"heme List / Use themes.
|
|
"(omf::em)"r"(omf::off)"emove Remove a theme or package.
|
|
"(omf::em)"u"(omf::off)"pdate Update Oh My Fish.
|
|
"(omf::em)"n"(omf::off)"ew Create a new package from a template.
|
|
"(omf::em)"s"(omf::off)"ubmit Submit a package to the registry.
|
|
"(omf::em)"q"(omf::off)"uery Query environment variables.
|
|
"(omf::em)"destroy"(omf::off)" Uninstall Oh My Fish.
|
|
|
|
"(omf::dim)"Options"(omf::off)"
|
|
"(omf::em)"--h"(omf::off)"elp Display this help.
|
|
"(omf::em)"--v"(omf::off)"ersion Display version.
|
|
|
|
For more information visit → "(omf::em)"git.io/oh-my-fish"(omf::off)\n
|
|
end
|