-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…ed standard for CLI (#526) In ArgsParser, the string flags used for the CLI are magic strings repeated in multiple places. Meanwhile, the standard of CLI argument used does not follow a widely-used standard. We should avoid the use of magic strings, instead defining them in a central location. As RepoSense is designed for CLI usage, it is also a good idea to follow a widely-used standard for CLI to match user expectations. Let's define the magic strings in a central location as constants and follow the GNU Coding Standard[1] for the CLI, using `--` prefix for `long-named flags` and `-` for its equivalent `single-letter alias`. [1] GNU Coding Standards: Command Line Interfaces https://www.gnu.org/prep/standards/html_node/Command_002dLine-Interfaces.html
- Loading branch information
Showing
8 changed files
with
423 additions
and
128 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
Oops, something went wrong.