Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

Add --clean-output parameter to allow overwriting existing files#789

Merged
darrelmiller merged 4 commits intovnextmicrosoft/OpenAPI.NET:vnextfrom
enhancement/add-clean-output-parammicrosoft/OpenAPI.NET:enhancement/add-clean-output-paramCopy head branch name to clipboard
Mar 13, 2022
Merged

Add --clean-output parameter to allow overwriting existing files#789
darrelmiller merged 4 commits intovnextmicrosoft/OpenAPI.NET:vnextfrom
enhancement/add-clean-output-parammicrosoft/OpenAPI.NET:enhancement/add-clean-output-paramCopy head branch name to clipboard

Conversation

@MaggieKimani1
Copy link
Contributor

@MaggieKimani1 MaggieKimani1 commented Mar 9, 2022

Fixes #783

Currently, when a user provides a file path that already exists in their local file system as output in Hidi, it returns an error and tells them to provide a new path. This has been simplified by allowing one to use --clean-ouput parameter abbreviated as -co when running the transform command which overwrites the existing file by deleting its contents and replacing it with the new file.

@MaggieKimani1 MaggieKimani1 changed the title Add --clean-output parameter Add --clean-output parameter to allow overwriting existing files Mar 9, 2022
@darrelmiller darrelmiller merged commit 2e3055e into vnext Mar 13, 2022
@darrelmiller darrelmiller deleted the enhancement/add-clean-output-param branch March 13, 2022 22:10
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.

Create a parameter that allows user to tell hidi to overwrite output file without error

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.