Skip to content

Commit

Permalink
Issue softwarepub#276 - Add a new argument to accept a URL for harves…
Browse files Browse the repository at this point in the history
…ting
  • Loading branch information
Aidajafarbigloo committed Oct 10, 2024
1 parent 0e73ac9 commit 453198b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/hermes/commands/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@ def init_common_parser(self, parser: argparse.ArgumentParser) -> None:
help="Configuration file in TOML format",
)

# Add a new argument to accept a URL for harvesting
parser.add_argument(
"--url",
type=str,
help="URL from which to extract metadata"
)

plugin_args = parser.add_argument_group("Extra options")
plugin_args.add_argument(
"-O",
Expand Down

0 comments on commit 453198b

Please sign in to comment.