Skip to content

CLI needs documentation how to run a pipeline with extra sources (or possibly fix bug) #199

Description

@lisad

I'm trying to setup a pipeline with an additional data source called "counters". The documentation for the CLI doesn't explain how to do this and I'm not sure we built it in yet.

>  python3 -m phaser run newyork output "sources/NYC Bicycle Counts.csv"
usage: phaser run [-h] [--error-policy {ON_ERROR_WARN,ON_ERROR_COLLECT,ON_ERROR_DROP_ROW,ON_ERROR_STOP_NOW}] --counters COUNTERS
                  pipeline_name working_dir source
phaser run: error: the following arguments are required: --counters

> python3 -m phaser run --counters "sources/NYC Bicycle Counters.csv" newyork output "sources/NYC Bicycle Counts June 2025.csv"

Traceback (most recent call last):
  ... 
  ModuleNotFoundError: No module named 'pipelines.sources/NYC Bicycle Counters'

> python3 -m phaser run --counters="sources/NYC Bicycle Counters.csv" newyork output "sources/NYC Bicycle Counts June.csv"

Traceback (most recent call last):
  ... 
  ModuleNotFoundError: No module named 'pipelines.--counters=sources/NYC Bicycle Counters'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions