This repository was archived by the owner on Sep 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
This repository was archived by the owner on Sep 5, 2023. It is now read-only.
Improved CLI #26
Copy link
Copy link
Open
Labels
EPICA collection of other issuesA collection of other issueshigh-priorityMore important than other ticketsMore important than other tickets
Description
Overview
CLI control should be enhanced. The current proposal is to introduce a number of flags to customise the visual experience of the tool (such as verbose / minimal), and to implement larger additional features as commands.
Example
An example can be seen from woile/commitizen
$ cz --help
usage: cz [-h] [--debug] [-n NAME] [--version]
{ls,commit,c,example,info,schema,bump} ...
Commitizen is a cli tool to generate conventional commits.
For more information about the topic go to https://conventionalcommits.org/
optional arguments:
-h, --help show this help message and exit
--debug use debug mode
-n NAME, --name NAME use the given commitizen
--version get the version of the installed commitizen
commands:
{ls,commit,c,example,info,schema,bump}
ls show available commitizens
commit (c) create new commit
example show commit example
info show information about the cz
schema show commit schema
bump bump semantic version based on the git log
Proposed Commands
-
configused to generate, possibly modify repo specific configuration -
version <major|minor|patch>allows single command to increase version numbers -
exampleshows some examples of the output of the tool -
helpprovides guidance on the use of the tool -
check(Lint/format string mode (for pre-commit hook) #18) lints the input string to see if it adheres to standards -
formattakes a string as input and does its best to auto format to standards
Proposed Flags
-
helpshows help message -
versionshows version of package -
verbosemore contextual information given to the committer -
minimalreduce interface to bare minimum -
no-colourremoves colour component from formatted text -
spell-checkwould open message in editor at end to allow for spell checking
Metadata
Metadata
Assignees
Labels
EPICA collection of other issuesA collection of other issueshigh-priorityMore important than other ticketsMore important than other tickets