ploomber icon indicating copy to clipboard operation
ploomber copied to clipboard

ploomber {cmd} --help does not work if missing entry point

Open edublancas opened this issue 3 years ago • 1 comments

Commands that require an entry point (i.e. pipeline.yaml) throw an error if the entry point is missing. This is expected. However, this should not happen when the user passes --help:

ploomber build --help

Prints:

usage: ploomber build [-h] [--log LOG] [--log-file LOG_FILE] [--entry-point ENTRY_POINT] [--force] [--skip-upstream] [--partially PARTIALLY] [--debug]
ploomber build: error: Unable to find a pipeline entry point. Use --entry-point/-e to pass a entry point's location directly or place it in a standard location.

edublancas avatar Mar 06 '22 02:03 edublancas