wellcast.cli¶
cli ¶
Command-line interface, installed as the wellcast command.
Commands::
wellcast --version
wellcast qc <file> # data-quality report
wellcast dca <file> --well <name> # decline fit and EUR
wellcast demo # write a synthetic data set to CSV
wellcast app # launch the Streamlit app
Exit codes: 0 success, 1 a wellcast error (bad data, failed fit, missing extra), 2 invalid command-line usage.
find_app ¶
Locate the Streamlit entry script.
Returns:
| Type | Description |
|---|---|
Path
|
|
Raises:
| Type | Description |
|---|---|
WellcastError
|
If neither location exists. |
build_parser ¶
Build the argument parser for the wellcast command.
Returns:
| Type | Description |
|---|---|
ArgumentParser
|
Parser with the |