In this draft Pull Request, the (not working) example of registering a CLI command via an extension is implemented.
When running the CLI (e.g. metacatalog -h) the following error is produced:
Traceback (most recent call last):
File "/home/alexander/anaconda3/bin/metacatalog", line 33, in <module>
sys.exit(load_entry_point('metacatalog', 'console_scripts', 'metacatalog')())
File "/home/alexander/Github/metacatalog/metacatalog/command_line.py", line 105, in main
extension.init_cli(subparsers=subparsers, defaults=default_options)
TypeError: init_cli() got multiple values for argument 'subparsers'
In this draft Pull Request, the (not working) example of registering a CLI command via an extension is implemented.
When running the CLI (e.g.
metacatalog -h
) the following error is produced: