Command line#

python -m toycoronagraph COMMAND

new        write a parameter file holding only the modules you choose (+ its JSON schema)
describe   explain a key, a section or a module
migrate    rewrite an old-layout parameter file ([target], [telescope], ...) in the new layout
schema     write the JSON schema (editor hover, completion and checks)
reference  print the parameter reference (Markdown)
toycoronagraph.__main__.main(argv=None)[source]#

Run one command (see the module docstring); the text is generated by toycoronagraph.params_docs.

Parameters:

argv (list of str) – the arguments after “python -m toycoronagraph”; None = sys.argv[1:].

Raises:

SystemExit – bad arguments (argparse), or new would overwrite a file without –force.