Skip to content
Martin Asser Hansen edited this page Oct 2, 2015 · 6 revisions

Biopiece: print_usage

Description

Biopiece usage is kept in separate wiki files, one for each biopiece. The usage files are written in Google's wiki format, and are thus independent of programming language. So if a developer in e.g. Python creates a Biopiece - he just have to copy an existing wiki file and modify it - and then use print_wiki to render the usage information.

The usage files are kept in ~/biopieces/src/wiki/.

For more about Google's wiki format:

http://code.google.com/p/support/wiki/WikiSyntax

Usage

print_usage [options] -i <wiki file>

Options

[-?         | --help]             #  Print full usage description.
[-i <file!> | --data_in=<file!>]  #  wiki file to read.
[-v         | --verbose]          #  Verbose output.

Examples

To display the short version of this wiki page:

print_usage

To display the full version of this wiki page:

print_usage -?

To display the short version of another wiki page:

print_usage -i ~/biopieces/src/wiki/add_ident.md

And finally to display the full version of another wiki page:

print_usage -i ~/biopieces/src/wiki/add_ident.md -?

See also

Author

Martin Asser Hansen - Copyright (C) - All rights reserved.

mail@maasha.dk

August 2007

License

GNU General Public License version 2

http://www.gnu.org/copyleft/gpl.html

Help

print_wiki is part of the Biopieces framework.

http://www.biopieces.org

Clone this wiki locally