cars.cars
Main CARS Command Line Interface user main argparse wrapper to CARS 3D pipelines submodules
Module Contents
Classes
Filter stream (for stdout) with a re pattern |
Functions
|
Main CLI argparse parser function |
|
Main for command line management |
|
Main initial cars cli entry point |
- class cars.cars.StreamCapture(stream, re_pattern)
Filter stream (for stdout) with a re pattern From https://stackoverflow.com/a/63662744
- __getattr__(attr_name)
Redefine assignment
- write(data)
Change write function of stream and deals for loops
- flush()
- cars.cars.cars_parser() argparse.ArgumentParser
Main CLI argparse parser function It builds argparse objects and constructs CLI interfaces parameters.
- Returns
CARS arparse CLI interface object
- cars.cars.main_cli(args, dry_run=False)
Main for command line management
- Parameters
dry_run – activate only arguments checking
- cars.cars.main()
Main initial cars cli entry point Configure and launch parser before main_cli function