Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
O
oh-my-fish
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
oh-my-fish
Commits
8ce0f3bd
Commit
8ce0f3bd
authored
Jul 05, 2016
by
Stephen M. Coakley
Committed by
GitHub
Jul 05, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Align help text to use less extra space (#356)
parent
da36946e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
124 additions
and
125 deletions
+124
-125
pkg/omf/functions/cli/omf.cli.help.fish
pkg/omf/functions/cli/omf.cli.help.fish
+124
-125
No files found.
pkg/omf/functions/cli/omf.cli.help.fish
View file @
8ce0f3bd
function omf.cli.help -a command
function omf.cli.help -a command
switch "$command"
switch "$command"
case "c" "cd"
case "c" "cd"
echo
\n
"\
echo "\
Change directory to root or plugin/theme directory.
Change directory to root or plugin/theme directory.
"(omf::dim)"Usage:"(omf::off)"
"(omf::dim)"Usage:"(omf::off)"
omf cd Change to Oh My Fish root folder
omf cd Change to Oh My Fish root folder
omf cd "(omf::em)"<package name>"(omf::off)" | "(omf::em)"<theme name>"(omf::off)" Change to plugin or theme directory by name
omf cd "(omf::em)"<package name>"(omf::off)" | "(omf::em)"<theme name>"(omf::off)" Change to plugin or theme directory by name
"(omf::dim)"Examples:"(omf::off)"
"(omf::dim)"Examples:"(omf::off)"
omf cd
omf cd
omf cd brew
omf cd brew
omf cd l
omf cd l
"
"
case "d" "describe"
case "d" "describe"
echo
\n
"\
echo "\
Get information about what packages do.
Get information about what packages do.
"(omf::dim)"Usage:"(omf::off)"
"(omf::dim)"Usage:"(omf::off)"
omf describe Get information from all available packages
omf describe Get information from all available packages
omf describe "(omf::em)"<name>"(omf::off)" Get information from package by name
omf describe "(omf::em)"<name>"(omf::off)" Get information from package by name
"(omf::dim)"Examples:"(omf::off)"
"(omf::dim)"Examples:"(omf::off)"
omf describe
omf describe
omf describe brew
omf describe brew
"
"
case "destroy"
case "destroy"
echo
\n
"\
echo "\
Uninstall Oh My Fish.
Uninstall Oh My Fish.
"(omf::dim)"Usage:"(omf::off)"
"(omf::dim)"Usage:"(omf::off)"
omf destroy
omf destroy
"
"
case "doctor"
case "doctor"
echo
\n
"\
echo "\
Troubleshoot Oh My Fish.
Troubleshoot Oh My Fish.
"(omf::dim)"Usage:"(omf::off)"
"(omf::dim)"Usage:"(omf::off)"
omf doctor
omf doctor
"
"
case "i" "install" "get"
case "i" "install" "get"
echo
\n
"\
echo "\
Install packages.
Install packages.
"(omf::dim)"Usage:"(omf::off)"
"(omf::dim)"Usage:"(omf::off)"
omf install Install missing packages from bundle
omf install Install missing packages from bundle
omf install "(omf::em)"<name>"(omf::off)" | "(omf::em)"<url>"(omf::off)" Install package by name or URL
omf install "(omf::em)"<name>"(omf::off)" | "(omf::em)"<url>"(omf::off)" Install package by name or URL
"(omf::dim)"Examples:"(omf::off)"
"(omf::dim)"Examples:"(omf::off)"
omf install
omf install
omf install brew
omf install brew
omf install https://github.com/oh-my-fish/plugin-brew
omf install https://github.com/oh-my-fish/plugin-brew
"
"
case "l" "ls" "list"
case "l" "ls" "list"
echo
\n
"\
echo "\
List local packages.
List local packages.
"(omf::dim)"Usage:"(omf::off)"
"(omf::dim)"Usage:"(omf::off)"
omf list [ --available | -a ]
omf list [ --available | -a ]
omf list [ --installed | -i ]
omf list [ --installed | -i ]
omf list [ --database | -d ]
omf list [ --database | -d ]
"
"
case "n" "new"
case "n" "new"
echo
\n
"\
echo "\
Create a new package from a template.
Create a new package from a template.
"(omf::dim)"Usage:"(omf::off)"
"(omf::dim)"Usage:"(omf::off)"
omf new ("(omf::dim)"pkg"(omf::off)" | "(omf::dim)"theme"(omf::off)") "(omf::em)"<name>"(omf::off)" Create a new package from a template
omf new ("(omf::dim)"pkg"(omf::off)" | "(omf::dim)"theme"(omf::off)") "(omf::em)"<name>"(omf::off)" Create a new package from a template
"(omf::dim)"Examples:"(omf::off)"
"(omf::dim)"Examples:"(omf::off)"
omf new pkg mypkg
omf new pkg mypkg
omf new theme mytheme
omf new theme mytheme
"
"
case "r" "rm" "remove" "uninstall"
case "r" "rm" "remove" "uninstall"
echo
\n
"\
echo "\
Remove a theme or package.
Remove a theme or package.
"(omf::dim)"Usage:"(omf::off)"
"(omf::dim)"Usage:"(omf::off)"
omf remove "(omf::em)"<package name>"(omf::off)" | "(omf::em)"<theme name>"(omf::off)" Removes a theme or package by name
omf remove "(omf::em)"<package name>"(omf::off)" | "(omf::em)"<theme name>"(omf::off)" Removes a theme or package by name
"(omf::dim)"Examples:"(omf::off)"
"(omf::dim)"Examples:"(omf::off)"
omf remove brew
omf remove brew
omf remove l
omf remove l
"
"
case "search"
case "search"
echo
\n
"\
echo "\
Search for a package or theme.
Search for a package or theme.
"(omf::dim)"Usage:"(omf::off)"
"(omf::dim)"Usage:"(omf::off)"
omf search ("(omf::dim)"-pkg/--package"(omf::off)" | "(omf::dim)"-t/--theme"(omf::off)") "(omf::em)"<name>"(omf::off)" Search for a package or theme
omf search ("(omf::dim)"-pkg/--package"(omf::off)" | "(omf::dim)"-t/--theme"(omf::off)") "(omf::em)"<name>"(omf::off)" Search for a package or theme
"(omf::dim)"Examples:"(omf::off)"
"(omf::dim)"Examples:"(omf::off)"
omf search -pkg nvm
omf search -pkg nvm
omf search -t bobthefish
omf search -t bobthefish
omf search vi
omf search vi
"
"
case "s" "submit"
case "s" "submit"
echo
\n
"\
echo "\
Submit a package to the registry.
Submit a package to the registry.
"(omf::dim)"Usage:"(omf::off)"
"(omf::dim)"Usage:"(omf::off)"
omf submit ("(omf::dim)"pkg"(omf::off)" | "(omf::dim)"theme"(omf::off)") "(omf::em)"<url>"(omf::off)" Submit a package or theme to the registry
omf submit ("(omf::dim)"pkg"(omf::off)" | "(omf::dim)"theme"(omf::off)") "(omf::em)"<url>"(omf::off)" Submit a package or theme to the registry
"(omf::dim)"Examples:"(omf::off)"
"(omf::dim)"Examples:"(omf::off)"
omf submit pkg https://github.com/oh-my-fish/plugin-mypkg
omf submit pkg https://github.com/oh-my-fish/plugin-mypkg
omf submit theme https://github.com/oh-my-fish/plugin-mythemes
omf submit theme https://github.com/oh-my-fish/plugin-mythemes
"
"
case "t" "theme"
case "t" "theme"
echo
\n
"\
echo "\
Install and list themes.
Install and list themes.
"(omf::dim)"Usage:"(omf::off)"
"(omf::dim)"Usage:"(omf::off)"
omf theme List available themes to install
omf theme List available themes to install
omf theme "(omf::em)"<name>"(omf::off)" Install theme by name
omf theme "(omf::em)"<name>"(omf::off)" Install theme by name
"(omf::dim)"Examples:"(omf::off)"
"(omf::dim)"Examples:"(omf::off)"
omf theme
omf theme
omf theme l
omf theme l
"
"
case "u" "update"
case "u" "update"
echo
\n
"\
echo "\
Update Oh My Fish.
Update Oh My Fish.
"(omf::dim)"Usage:"(omf::off)"
"(omf::dim)"Usage:"(omf::off)"
omf update
omf update
"
"
case "*"
case "*"
echo \n"\
echo "\
\$ omf [command] [arguments]
\$ omf [command] [arguments]
"(omf::dim)"Usage:"(omf::off)"
"(omf::dim)"Usage:"(omf::off)"
omf "(omf::em)"install"(omf::off)" [<name>|<url>]
omf "(omf::em)"install"(omf::off)" [<name>|<url>]
omf "(omf::em)"theme"(omf::off)" [<name>]
omf "(omf::em)"theme"(omf::off)" [<name>]
omf "(omf::em)"remove"(omf::off)" [<name>]
omf "(omf::em)"remove"(omf::off)" [<name>]
omf "(omf::em)"search"(omf::off)" [<name>]
omf "(omf::em)"search"(omf::off)" [<name>]
omf "(omf::em)"update"(omf::off)"
omf "(omf::em)"update"(omf::off)"
omf "(omf::em)"help"(omf::off)" [<command>]
omf "(omf::em)"help"(omf::off)" [<command>]
"(omf::dim)"Commands:"(omf::off)"
"(omf::dim)"Commands:"(omf::off)"
"(omf::em)"l"(omf::off)"ist List local packages.
"(omf::em)"l"(omf::off)"ist List local packages.
"(omf::em)"d"(omf::off)"escribe Get information about what packages do.
"(omf::em)"d"(omf::off)"escribe Get information about what packages do.
"(omf::em)"i"(omf::off)"nstall Install one or more packages.
"(omf::em)"i"(omf::off)"nstall Install one or more packages.
"(omf::em)"t"(omf::off)"heme List / Use themes.
"(omf::em)"t"(omf::off)"heme List / Use themes.
"(omf::em)"r"(omf::off)"emove Remove a theme or package.
"(omf::em)"r"(omf::off)"emove Remove a theme or package.
"(omf::em)"u"(omf::off)"pdate Update Oh My Fish.
"(omf::em)"u"(omf::off)"pdate Update Oh My Fish.
"(omf::em)"c"(omf::off)"d Change directory to plugin/theme directory.
"(omf::em)"c"(omf::off)"d Change directory to plugin/theme directory.
"(omf::em)"n"(omf::off)"ew Create a new package from a template.
"(omf::em)"n"(omf::off)"ew Create a new package from a template.
"(omf::em)"search"(omf::off)" Search for a package or theme.
"(omf::em)"search"(omf::off)" Search for a package or theme.
"(omf::em)"s"(omf::off)"ubmit Submit a package to the registry.
"(omf::em)"s"(omf::off)"ubmit Submit a package to the registry.
"(omf::em)"destroy"(omf::off)" Uninstall Oh My Fish.
"(omf::em)"destroy"(omf::off)" Uninstall Oh My Fish.
"(omf::em)"doctor"(omf::off)" Troubleshoot Oh My Fish.
"(omf::em)"doctor"(omf::off)" Troubleshoot Oh My Fish.
"(omf::em)"help"(omf::off)" Shows help about a specific action.
"(omf::em)"help"(omf::off)" Shows help about a specific action.
"(omf::dim)"Options:"(omf::off)"
"(omf::dim)"Options:"(omf::off)"
"(omf::em)"--h"(omf::off)"elp Display this help.
"(omf::em)"--h"(omf::off)"elp Display this help.
"(omf::em)"--v"(omf::off)"ersion Display version."
"(omf::em)"--v"(omf::off)"ersion Display version.
echo \n"\
For more information visit → "(omf::em)"git.io/oh-my-fish"(omf::off)\n
For more information visit → "(omf::em)"git.io/oh-my-fish"(omf::off)\n
end
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment