Page MenuHomeElementl

Creates "dagster new-repo" CLI command.

Authored by bob on Feb 3 2021, 10:08 PM.



One "path" argument is required. The CLI command fails if a file or directory already exists at "path".

Try it out

To try out the Dagster skeleton generator, run the following in your dagster/ code repository:

  1. Pull and switch to my feature branch.
git pull origin chenbobby/new-repo-cli_1 
git checkout chenbobby/new-repo-cli_1
  1. Run the skeleton generator CLI, which is part of the dagster CLI.
dagster new-repo my_new_repo
Test Plan


Diff Detail

R1 dagster
Lint Not Applicable
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Feb 3 2021, 10:28 PM
Harbormaster failed remote builds in B25253: Diff 30781!
bob edited the summary of this revision. (Show Details)

Rebase on master

Revert application of changes from other stacked diffs.

This revision is now accepted and ready to land.Feb 8 2021, 9:20 PM

consider invoking the command as dagster new repo my_new_repo rather than dagster new-repo my_new_repo - this way, if scaffolding commands come, they can all go in dagster new.

This revision was automatically updated to reflect the committed changes.