Skip to content

add 'rootstock new-env <env-name>' command#22

Merged
hholb merged 1 commit intomainfrom
hholb/new-env
Mar 23, 2026
Merged

add 'rootstock new-env <env-name>' command#22
hholb merged 1 commit intomainfrom
hholb/new-env

Conversation

@hholb
Copy link
Copy Markdown
Member

@hholb hholb commented Mar 20, 2026

Resolves: #19

This PR adds a new command rootstock new-env <env-name> that scaffolds an empty environment file making it easier to quickly define a new environment.

Screen.Recording.2026-03-20.at.9.54.50.AM.mov

I am open to other names if anything make sense or feels better than new-env. Things I thought about but didn't like any better:

  • create-env
  • create
  • init-env

Other features:

  • -o <output-file> to control where the output goes
  • automatically appends _env if not given in the name
  • if the environment already exists, it will not clobber it unless you pass --force

Copy link
Copy Markdown
Contributor

@WillEngler WillEngler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dig it!

@hholb hholb merged commit 9490d09 into main Mar 23, 2026
@hholb hholb deleted the hholb/new-env branch March 23, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

roostock new-env command

2 participants