This repository was archived by the owner on Aug 31, 2023. It is now read-only.
-
Couldn't load subscription status.
- Fork 650
This repository was archived by the owner on Aug 31, 2023. It is now read-only.
📎 New --changed argument #4453
Copy link
Copy link
Open
Labels
A-CLIArea: CLIArea: CLIA-ProjectArea: project configuration and loadingArea: project configuration and loadingHelp wantedHelp would be really appreciatedHelp would be really appreciatedI-NormalImplementation: normal understanding of the tool and awarenessImplementation: normal understanding of the tool and awareness
Milestone
Description
Description
Rome now has support for VCS, which means that we can unlock new features that make the life of developers easier!
One of these features is the addition of a new argument called --changed to the CLI. When we pass this argument, Rome will execute check/format/etc. only to those files that were changed.
Technical details
I am still determining the implementation of this argument. There are two alternatives:
- execute the command via Command, we pass the proper arguments to the
gitprogram, and we read the output that was generated. Although I don't know yet what's the correct command/arguments to get an accurate output - Use the crate
git2. While this crate is phenomenal, its size is not small (207kb)
What do you guys think?
lsegurado and Conaclos
Metadata
Metadata
Assignees
Labels
A-CLIArea: CLIArea: CLIA-ProjectArea: project configuration and loadingArea: project configuration and loadingHelp wantedHelp would be really appreciatedHelp would be really appreciatedI-NormalImplementation: normal understanding of the tool and awarenessImplementation: normal understanding of the tool and awareness