component_generate_baseline

component_generate_baseline is a script in CIMEROOT/CIME/Tools.

$ ./component_generate_baseline --help
usage: 
component_generate_baseline [<casedir>] [--verbose]
OR
component_generate_baseline --help

EXAMPLES:
    # Generate baselines 
    > component_generate_baseline

Copies current component history files into baselines

positional arguments:
  caseroot              Case directory (default:
                        /home/runner/work/cime/cime/CIME/Tools)

options:
  -h, --help            show this help message and exit
  -b BASELINE_DIR, --baseline-dir BASELINE_DIR
                        Use custom baseline dir (default: None)
  -o, --allow-baseline-overwrite
                        By default an attempt to overwrite an existing
                        baseline directory will raise an error. Specifying
                        this option allows existing baseline directories to be
                        silently overwritten. (default: False)

Logging options:
  -d, --debug           Print debug information (very verbose) to file /home/r
                        unner/work/cime/cime/CIME/Tools/component_generate_bas
                        eline.log (default: False)
  -v, --verbose         Add additional context (time and file) to log messages
                        (default: False)
  -s, --silent          Print only warnings and error messages (default:
                        False)