Page MenuHomePhabricator

improve err experience when dagster_home not set
ClosedPublic

Authored by alangenfeld on Fri, Aug 9, 4:37 PM.

Details

Reviewers
natekupp
Group Reviewers
Restricted Project
Commits
R1:8f0a6efb5041: improve err experience when dagster_home not set
Test Plan
(dagenv36) ~/dagster/examples:load-runs$ dagit --log
Will be watching for file changes...
Usage: dagit-cli [OPTIONS]

Error: $DAGSTER_HOME is not set and log-dir is not provided. Set the home directory for dagster by exporting DAGSTER_HOME in your .bashrc or .bash_profile, or pass in a default directory using the --log-dir flag
Examples:
  1. export DAGSTER_HOME="~/dagster"
  2. --log --logdir="/dagster_logs"

Diff Detail

Repository
R1 dagster
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

alangenfeld created this revision.Fri, Aug 9, 4:37 PM
natekupp accepted this revision.Fri, Aug 9, 4:56 PM
This revision is now accepted and ready to land.Fri, Aug 9, 4:56 PM
This revision was automatically updated to reflect the committed changes.