Skip to content
Renaud Guillard edited this page Jun 3, 2013 · 6 revisions

build-pyscript

Python script builder which use program interface XML definition file to automatically generate command line processing and help messages

Author
Renaud Guillard
Version
1.0

Usage

build-pyscript [-uSd] -p <path> [-m <...>] -x <path> [--help]

Global options

	-p, --python: Python script path
		Location of the Python script body. The parser module will be created at the 
		same place
	-m, --module-name, --module: Python module name
		Set the name of the command line parser python module	
		Default value: Program
	-u, --update: Update pythom module if already exists
	-x, --xml-description: Program description file
		If the program description file is provided, the xml file will be validated 
		before any XSLT processing
	-S, --skip-validation, --no-validation: Skip XML Schema validations
		The default behavior of the program is to validate the given xml-based 
		file(s) against its/their xml schema (http://xsd.nore.fr/program etc.). This 
		option will disable schema validations
	-d, --debug: Generate debug messages in help and command line parsing functions
	--help: Display program usage

Copyright & Licensing

Copyright © 2011-2012 by Renaud Guillard (dev@nore.fr) Distributed under the terms of the MIT License, see LICENSE

Clone this wiki locally