Previous topic

lca_writer.LCAWriter.write_lca

Next topic

lca_writer.LCAWriterArgParser.add_argument

This Page

lca_writer.LCAWriterArgParser

class lca_writer.LCAWriterArgParser[source]

Command line argument parser for lca_writer script.

usage: lca_writer [-h] [-t [TEMPLATE]] [-v [VERSION]]
                  [lca_forms [lca_forms ...]]

positional arguments:
  lca_forms             Excel LCA form paths.

optional arguments:
  -h, --help            show this help message and exit
  -t [TEMPLATE], --template [TEMPLATE]
                        Path to save the Excel form template (optional).
  -v [VERSION], --version [VERSION]
                        LCA file version to write.

Methods

add_argument(dest, …[, name, name])
add_argument_group(*args, **kwargs)
add_mutually_exclusive_group(**kwargs)
add_subparsers(**kwargs)
convert_arg_line_to_args(arg_line)
error(message) Prints a usage message incorporating the message to stderr and exits.
exit([status, message])
format_help()
format_usage()
get_default(dest)
parse_args([args, namespace])
parse_known_args([args, namespace])
print_help([file])
print_usage([file])
register(registry_name, value, object)
set_defaults(**kwargs)