Open theferrit32 opened 1 year ago
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.
Add an argv parameter to
cli.main
,cli._parse_opts
. Currently usesArgumentParser.parse_args()
with no args, so it only looks atsys.argv
.Parameterizing those would make it easier to run the service programmatically from another application.
https://github.com/biocommons/seqrepo-rest-service/blob/a6386e0ab82e276f83b8e6498297f0de4815e34a/src/seqrepo_rest_service/cli.py#L44-L50
https://github.com/biocommons/seqrepo-rest-service/blob/a6386e0ab82e276f83b8e6498297f0de4815e34a/src/seqrepo_rest_service/cli.py#L40