cli: register the 'lister' cli subcommand
also add a cli group named 'lister' for the sake of consistency with other swh packages and rename the command as 'db-init', like: swh lister db-init LISTER [...]
This commit is contained in:
parent
701d833cdf
commit
d6169c7141
2 changed files with 15 additions and 3 deletions
2
setup.py
2
setup.py
|
@ -54,6 +54,8 @@ setup(
|
|||
entry_points='''
|
||||
[console_scripts]
|
||||
swh-lister=swh.lister.cli:cli
|
||||
[swh.cli.subcommands]
|
||||
lister=swh.lister.cli:lister
|
||||
''',
|
||||
classifiers=[
|
||||
"Programming Language :: Python :: 3",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue