Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a --dry-run option #16

Open
mattxwang opened this issue Mar 7, 2023 · 0 comments
Open

Add a --dry-run option #16

mattxwang opened this issue Mar 7, 2023 · 0 comments
Labels
status: ready to implement is ready to be worked on by someone

Comments

@mattxwang
Copy link
Member

What is the problem you're trying to solve?

Most tools that perform destructive actions have a --dry-run option, where the tool prints out everything it would have done normally, but doesn't actually touch the filesystem (or perform other actions). This can be helpful to validate how the tool would work before committing to it, or debugging.

In implementing #1, I tabled this feature for a follow-up.

What solution would you like to see?

A --dry-run option for this tool.

Since this would be one of our first options, we can decide what our approach is for argument parsing; I've seen yargs used frequently, including in create-astro. That being said, I'm not wedded to any implementation.

I'm happy to contribute this feature, especially as it's a follow-up to #1.

@ybiquitous ybiquitous added the status: needs discussion triage needs further discussion label Mar 7, 2023
@jeddy3 jeddy3 added status: ready to implement is ready to be worked on by someone and removed status: needs discussion triage needs further discussion labels Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: ready to implement is ready to be worked on by someone
Projects
None yet
Development

No branches or pull requests

3 participants