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:
David Douard 2019-05-15 15:11:31 +02:00
parent 701d833cdf
commit d6169c7141
2 changed files with 15 additions and 3 deletions

View file

@ -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",