Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Clean flag added #14

Merged
merged 28 commits into from
Feb 16, 2023
Merged

Clean flag added #14

merged 28 commits into from
Feb 16, 2023

Conversation

ivan-kostko
Copy link
Contributor

Introduced flag -c or --clean in order to remove all contents of destinations and module path upon fetching artefacts. As flag defaults to false -back compatibility stays intact.

ivan-kostko and others added 24 commits January 19, 2023 20:50
…ded to one or more specific destination folder
* Destination -> Destinations

* SymLink instead of copy. Hardlinks won't work for directories

* Adjusted tests to fixes
* testify v1.2.2 -> v1.8.1

* gopkg.in/yaml.v3 v3.0.1  indirect
@ivan-kostko ivan-kostko marked this pull request as draft February 15, 2023 17:05
@ivan-kostko ivan-kostko marked this pull request as ready for review February 15, 2023 17:20
@ivan-kostko ivan-kostko marked this pull request as draft February 15, 2023 17:31
@ivan-kostko ivan-kostko marked this pull request as ready for review February 15, 2023 17:42
main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
ivan-kostko and others added 2 commits February 16, 2023 08:59
Co-authored-by: Nathaniel Ritholtz <[email protected]>
* added warning to clean flag

* combined together getUnigueDestinations with cleanDestinations into single function cleanDestinations
Copy link
Collaborator

@nritholtz nritholtz left a comment

Choose a reason for hiding this comment

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

Looks good to me. I have released a new version of terrafile with your two PRs. Thanks!

@nritholtz nritholtz merged commit 080cfbb into coretech:master Feb 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants