8000 refactor(cli): renamed all to ls command · ranshamay/commitizen@ad2f00b · GitHub
[go: up one dir, main page]

Skip to content

Commit ad2f00b

Browse files
committed
refactor(cli): renamed all to ls command
1 parent f8165da commit ad2f00b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Usage
6969

7070
::
7171

72-
usage: cz [-h] [--debug] [-n NAME] {all,commit,c,example,info,schema} ...
72+
usage: cz [-h] [--debug] [-n NAME] {ls,commit,c,example,info,schema} ...
7373

7474
Commitizen is a cli tool to generate conventional commits.
7575
For more information about the topic go to https://conventionalcommits.org/
@@ -80,8 +80,8 @@ Usage
8080
-n NAME, --name NAME use the given commitizen
8181

8282
commands:
83-
{all,commit,c,example,info,schema}
84-
all show available commitizens
83+
{ls,commit,c,example,info,schema}
84+
ls show available commitizens
8585
commit (c) create new commit
8686
example show commit example
8787
info show information about the cz

commitizen/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ def get_parser(config):
3030
subparser = parser.add_subparsers(title='commands')
3131
# subparser.add_argument('--debug', default=False)
3232

33-
allcz = subparser.add_parser('all', help='show available commitizens')
34-
allcz.set_defaults(func=registered)
33+
lscz = subparser.add_parser('ls', help='show available commitizens')
34+
lscz.set_defaults(func=registered)
3535

3636
commit = subparser.add_parser('commit', aliases=['c'],
3737
help='create new commit')

0 commit comments

Comments
 (0)
0