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

Change debug option to boolean #58

Merged
merged 5 commits into from
Mar 4, 2023
Merged

Change debug option to boolean #58

merged 5 commits into from
Mar 4, 2023

Conversation

bobbyiliev
Copy link
Collaborator

@bobbyiliev bobbyiliev commented Mar 4, 2023

What type of PR is this? (check all applicable)

  • ♻️ Refactor
  • ✨ Feature
  • 🐛 Bug Fix
  • 👷 Optimization
  • 📝 Documentation Update
  • 🚩 Other

Description

As per the documentation here, changing the --debug and --dry-run options to be a boolean rather than true|false strings.

Now as soon as the -d|--debug flag is passed it will always be evaluated to true, it does not accept a value. If you want the -d to be false, you should just omit passing it as an argument.

Related Tickets & Documents

Closes #56

Added to documentation?

  • 📜 readme
  • 🙅 no documentation needed

[optional] What gif best describes this PR or how it makes you feel?

Copy link
Collaborator

@chuck-alt-delete chuck-alt-delete left a comment

Choose a reason for hiding this comment

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

Now that clean option has merged, could you also make that Boolean?

@bobbyiliev
Copy link
Collaborator Author

Now that clean option has merged, could you also make that Boolean?

Just updated this! Also bumped the version to 0.1.2 so we could do a new release with the latest changes once we merge this

@bobbyiliev bobbyiliev merged commit b8fb63e into main Mar 4, 2023
@bobbyiliev bobbyiliev deleted the debug-boolean branch March 4, 2023 13:38
recursethis pushed a commit to recursethis/materialize-datagen that referenced this pull request Feb 26, 2024
* Change debug option to boolean

* Change dryRun to bool

* Fix merge conflicts

* Change clean option to bool
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.

Use boolean options
2 participants