You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have current tooling that can detect which files were changed in a large repository. We currently pass all the paths to these files to gofmt for formatting, but would like to use this tool instead.
However, since we are only able to pass a single file at a time, there is a performance overhead, as we need to call the binary many times.
If we pass a full folder, the tool will use wasted cycles running on code that was not changed, which will not work on our large codebase.
Is it possible that you could support formatting any number of files given as arguments?
The text was updated successfully, but these errors were encountered:
* Allow multiple targets on command line
This addresses #96
- iterate over the list of remaining arguments treating
each as an origin path
- fully remove support for the -filePath option
- defer printing deprecation warnings until after all paths
are processed
- print deprecation warnings to stderr, not stdout
* address comments
* add printUsageAndExit function
* add docstring for printUsageAndExit
Hi there.
We have current tooling that can detect which files were changed in a large repository. We currently pass all the paths to these files to
gofmt
for formatting, but would like to use this tool instead.However, since we are only able to pass a single file at a time, there is a performance overhead, as we need to call the binary many times.
If we pass a full folder, the tool will use wasted cycles running on code that was not changed, which will not work on our large codebase.
Is it possible that you could support formatting any number of files given as arguments?
The text was updated successfully, but these errors were encountered: