2016-02-29 14:13:29 +00:00
fisher-help(1) -- Show help about Fisherman
===========================================
2016-01-01 21:12:40 +00:00
## SYNOPSIS
2016-02-29 14:13:29 +00:00
fisher help [*keyword*] [--all] [--guides] [--usage[=*command*]] [--help]< br >
2016-01-01 21:12:40 +00:00
## USAGE
2016-02-29 14:13:29 +00:00
fisher help *command* < br >
fisher help *guide* < br >
fisher help --usage=[*command*]< br >
2016-01-01 21:12:40 +00:00
## DESCRIPTION
Help displays *command* documentation, usage, guides and tutorials.
2016-02-29 14:13:29 +00:00
Help is based in man(1) pages. To supply help with your own plugin or command, create one or more man.1~7 pages and add them to your project under the corresponding man/man% directory.
2016-01-01 21:12:40 +00:00
```
my_plugin
|-- my_plugin.fish
2016-02-27 02:08:32 +00:00
`-- man
`-- man1
`-- my_plugin.1
2016-01-01 21:12:40 +00:00
```
2016-02-29 14:13:29 +00:00
Help for my_plugin is available via man(1). To add documentation to a fisher command, prepend the keyword fisher- to the man file, e.g., fisher-my-command.1. This will teach Fisherman how to access the man page using fisher help my-command.
2016-01-01 21:12:40 +00:00
2016-02-29 14:13:29 +00:00
There are utilities that can help you generate man pages from other text formats, such as Markdown. For example pandoc(1) or ronn(1).
2016-01-01 21:12:40 +00:00
## OPTIONS
2016-02-29 14:13:29 +00:00
* -a, --all:
2016-02-07 11:06:04 +00:00
List all available commands and guides.
2016-01-01 21:12:40 +00:00
2016-02-29 14:13:29 +00:00
* -g, --guides[=*bare*]:
2016-01-10 07:01:07 +00:00
List guides / tutorials. Use *bare* to generate easy to parse output.
2016-01-01 21:12:40 +00:00
2016-02-29 14:13:29 +00:00
* --commands[=*bare*]:
List commands. This is the default behavior of fisher help. Use *bare* to generate easy to parse output.
2016-01-01 21:12:40 +00:00
2016-02-29 14:13:29 +00:00
* --usage[=*command*]:
Display usage help for *command* . To teach Fisherman how to display help for your command, *command* must implement a -h flag.
2016-01-01 21:12:40 +00:00
2016-02-29 14:13:29 +00:00
* -h, --help:
2016-01-01 21:12:40 +00:00
Show usage help.
## EXAMPLES
2016-02-29 14:13:29 +00:00
* Show all the existing documentation.
2016-01-10 07:01:07 +00:00
```
2016-02-29 14:13:29 +00:00
fisher help --all
2016-01-10 07:01:07 +00:00
```
2016-02-29 14:13:29 +00:00
* Show help about help.
2016-01-10 07:01:07 +00:00
```
fisher help help
```
2016-02-29 14:13:29 +00:00
* Show usage help for all available commands.
2016-01-01 21:12:40 +00:00
```
fisher help --commands=bare | fisher help --usage
```
## SEE ALSO
2016-02-29 14:13:29 +00:00
man(1), fisher(1)