VForWaTer / metacatalog

Modular metadata management platform for environmental data.
https://vforwater.github.io/metacatalog
GNU General Public License v3.0
3 stars 1 forks source link

ISO 19115 CLI #271

Closed AlexDo1 closed 1 year ago

AlexDo1 commented 1 year ago

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'
AlexDo1 commented 1 year ago

I will open a new branch from updated main for the ISO CLI feature.