Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added -verbose=true cli flag, [DEBUG] messages off by default * added -rename=false cli flag * Added more verbose logging, re issue #30 * filter debug messages from tfschema in non verbose mode * removed tfschema fork (PR accepted) * code review * Updated README with optional CLI flags * code review: refactor initLogFiltering function
- Loading branch information
1 parent
e45c8e2
commit 383fed0
Showing
9 changed files
with
177 additions
and
248 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package main | ||
|
||
type counters struct { | ||
totalResources int | ||
taggedResources int | ||
totalFiles int | ||
taggedFiles int | ||
} | ||
|
||
func (self *counters) Add(other counters) { | ||
self.totalResources += other.totalResources | ||
self.taggedResources += other.taggedResources | ||
self.totalFiles += other.totalFiles | ||
self.taggedFiles += other.taggedFiles | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.