| t | TBWiki includes a command line client, that can be used to perform | t | |
| operations on the wiki without going through a regular web browser. | | |
| <p> | | |
| You can get, set or locally edit an item on the wiki, where the item | | |
| can be a page, section, block, record, or field. | | |
| <p> | | |
| Here is the usage for the tool: | | |
| <ul><div style="background-color:#ffffe0; padding:5px; border-style: solid solid solid solid; border-width: 1px 1px 1px 1px;"> | | |
| <pre>Usage: tbclient [options] get|put|edit <item-ref> [<new_value>] | | |
| | | |
| where the action is one of: get, put or edit, and | | |
| item-ref can refer to a page, section, block, record or field. | | |
| | | |
| On a set, a <new_value> must be provided. if -i is specified, | | |
| then the data for the new_value comes from the file specified. | | |
| | | |
| References must be fully qualified: | | |
| page = SomePageName | | |
| section = SomePageName@section_name | | |
| block = SomePageName:BlockName | | |
| record = SomePageName:TableBlockName:record_id | | |
| field = SomePageName:TableBlockName:record_id::field_name | | |
| | | |
| and options are from: | | |
| -h, --help Show usage help | | |
| -i, --infile <file> Get <new_value> from file <file> | | |
| If <file> is 'stdin', then get new_value from stdin. | | |
| -w, --wiki <wiki-ref> Specify a wiki (default bird.org/test)</pre></div></ul> | | |
| | | |
| <p> | | |
| <h1><a name="Developer_information">Developer information</a> | | |
| <span align=right class="section_edit_link">[<a href="/tbwiki/DocCommandLineClient?action=edit§ion=Developer_information">edit section</a>]</font></span> | | |
| </h1> | | |
| The server side of the interactions for this are handled by | | |
| the DataHandler processor (ie plugins/ProcessorDatahandler.py) | | |
| <p> | | |
| <h1><a name="Ideas_for_future_actions">Ideas for future actions</a> | | |
| <span align=right class="section_edit_link">[<a href="/tbwiki/DocCommandLineClient?action=edit§ion=Ideas_for_future_actions">edit section</a>]</font></span> | | |
| </h1> | | |
| <ul><li>tbclient list [<type>] - list the items in the wiki (of the indicated type, if a type is provided) | | |
| </ul> | | |
| <p> | | |