Skip to content

Instantly share code, notes, and snippets.

@neilfws
Created February 22, 2010 22:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neilfws/311630 to your computer and use it in GitHub Desktop.
Save neilfws/311630 to your computer and use it in GitHub Desktop.
boson/pubmed issue
sau103@gymea-nh:~$ ruby -v
ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]
sau103@gymea-nh:~$ boson -hv
boson [GLOBAL OPTIONS] [COMMAND] [ARGS] [COMMAND OPTIONS]
GLOBAL OPTIONS
+-------------------+-------+---------+-------------------------------------------------------------------+------------------+
| Name | Alias | Type | Desc | Values |
+-------------------+-------+---------+-------------------------------------------------------------------+------------------+
| --console | -c | boolean | Drops into irb with default and explicit libraries loaded | |
| --execute | -e | string | Executes given arguments as a one line script | |
| --help | -h | boolean | Displays this help message or a command's help if given a command | |
| --index | -i | array | Libraries to index. Libraries must be passed with '='. | pubmed,menu_pipe |
| --load | -l | array | A comma delimited array of libraries to load | pubmed,menu_pipe |
| --option_commands | -o | boolean | Toggles on all commands to be defined as option commands | |
| --pager_toggle | -p | boolean | Toggles Hirb's pager | |
| --render | -r | boolean | Renders a Hirb view from result of command without options | |
| --unload | -u | string | Acts as a regular expression to unload default libraries | |
| --verbose | -v | boolean | Verbose description of loading libraries, errors or help | |
+-------------------+-------+---------+-------------------------------------------------------------------+------------------+
sau103@gymea-nh:~$ boson query -t genome --mail="me@me.com"
Error: wrong number of arguments (3 for 1)
sau103@gymea-nh:~$ boson query -t genome -a smith --email="me@me.com"
Error: wrong number of arguments (5 for 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment