Version 2 (modified by 15 years ago) (diff) | ,
---|
Advanced Argument Parser for Trac Macros
Description
This plug-in provides an advanced version of the parse_args
function for Trac macros.
Documentation
(pending)
Parameters
args
- The argument string; 'content' in `expand_macro.
strict
- Enables strict checking of keys.
multi
- Enables folding of muliple given keys into list.
listonly
- If true only a list is returned, no directionary.
minlen
- Extend returned list to given minimum length. Only used when
listonly=True
.
Parser parameters
quotechar
- The quote character to be used.
escchar
- The escape character to be used.
delim
- The delimiter character to be used.
delquotes
- Selects if quotes should be removed.
Bugs/Feature Requests
Existing bugs and feature requests for AdvParseArgsPlugin are here.
If you have any issues, create a new ticket.
Download
Download the zipped source from [download:advparseargsplugin here].
Source
You can check out AdvParseArgsPlugin from here using Subversion, or browse the source with Trac.
Example
from tracadvparseargs import parse_args
Recent Changes
Author/Contributors
Author: martin_s
Contributors: