Page MenuHomePhabricator

improve err experience when dagster_home not set
ClosedPublic

Authored by alangenfeld on Aug 9 2019, 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
Branch
load-runs (branched from master)
Lint
Lint OK
Unit
No Unit Test Coverage

Event Timeline

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