Command-line Interface¶
Quick Reference¶
Commands¶
Cli Differences¶
In datamodel 0.2.1, the command-line tools switched from
argparse to
click for improved cli handling and
consolidation of sub-commands under an umbrella cli. The behavior and syntax is
mostly the same with the exception of the following:
commands are no longer snake case, but rather two separate words. i.e.
datamodel_generate->datamodel generateeach
-k,--keywordsargument todatamodel generatemust now be specified individually, asclickdoes not allow the equivalent ofnarg="*". See click multiple vs argparse nargs. i.e.-k plate=8485 ifu=1901->-k plate=8485 -k ifu=1901
For backwards compatibility, we retain the original snake_case scripts, which call the underlying
click command. If you pip-install the datamodel product, you can call ``