| 1 | = Advanced Argument Parser for Trac Macros = |
| 2 | |
| 3 | == Description == |
| 4 | |
| 5 | This plug-in provides an advanced version of the `parse_args` function for Trac macros. |
| 6 | |
| 7 | == Documentation == |
| 8 | === Parameters === |
| 9 | `args`:: The argument string; 'content' in `expand_macro. |
| 10 | `strict`:: Enables strict checking of keys. |
| 11 | `multi`:: Enables folding of muliple given keys into list. |
| 12 | `listonly`:: If true only a list is returned, no directionary. |
| 13 | `minlen`:: Extend returned list to given minimum length. Only used when |
| 14 | `listonly=True`. |
| 15 | '''Parser parameters''' |
| 16 | `quotechar`:: The quote character to be used. |
| 17 | `escchar`:: The escape character to be used. |
| 18 | `delim`:: The delimiter character to be used. |
| 19 | `delquotes`:: Selects if quotes should be removed. |
| 20 | |
| 21 | |
| 22 | == Bugs/Feature Requests == |
| 23 | |
| 24 | Existing bugs and feature requests for AdvParseArgsPlugin are |
| 25 | [report:9?COMPONENT=AdvParseArgsPlugin here]. |
| 26 | |
| 27 | If you have any issues, create a |
| 28 | [http://trac-hacks.org/newticket?component=AdvParseArgsPlugin&owner=martin_s new ticket]. |
| 29 | |
| 30 | == Download == |
| 31 | |
| 32 | Download the zipped source from [download:advparseargsplugin here]. |
| 33 | |
| 34 | == Source == |
| 35 | |
| 36 | You can check out AdvParseArgsPlugin from [http://trac-hacks.org/svn/advparseargsplugin here] using Subversion, or [source:advparseargsplugin browse the source] with Trac. |
| 37 | |
| 38 | == Example == |
| 39 | |
| 40 | {{{ |
| 41 | from tracadvparseargs import parse_args |
| 42 | }}} |
| 43 | |
| 44 | == Recent Changes == |
| 45 | |
| 46 | [[ChangeLog(advparseargsplugin, 3)]] |
| 47 | |
| 48 | == Author/Contributors == |
| 49 | |
| 50 | '''Author:''' [wiki:martin_s] [[BR]] |
| 51 | '''Contributors:''' |