forked from dagster-io/dagster
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exit gracefully with informative message when no arguments are passed
Summary: Alternatively, we could set required=True in the click argument. This would give: ``` ➜ Desktop dagster schedule start Usage: dagster schedule start [OPTIONS] SCHEDULE_NAME... Try "dagster schedule start --help" for help. Error: Missing argument "SCHEDULE_NAME...". ``` See: https://click.palletsprojects.com/en/7.x/arguments/#variadic-arguments Test Plan: Manual Reviewers: sashank, prha Reviewed By: sashank Differential Revision: https://dagster.phacility.com/D2351
- Loading branch information
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters