Refactored CLI naming
This commit is contained in:
parent
d580402523
commit
424beeb559
@ -13,8 +13,7 @@ requires-python = ">=3.11"
|
||||
description = "A tool to rapidly fetch fetch MLST profiles given sequences for various diseases."
|
||||
|
||||
[project.scripts]
|
||||
automlst = "automlst.cli.root:cli"
|
||||
nsbdiagtk = "automlst.cli.root:cli"
|
||||
automlst = "automlst.cli.root:run"
|
||||
|
||||
[tool.pyright]
|
||||
extraPaths = ["src"]
|
||||
|
@ -71,7 +71,7 @@ parser.add_argument(
|
||||
)
|
||||
|
||||
|
||||
def cli():
|
||||
def run():
|
||||
args = parser.parse_args()
|
||||
gen_strings = aggregated.aggregate_sequences(args.fastas, args.abifs)
|
||||
os.makedirs(args.out, exist_ok=True)
|
||||
@ -83,4 +83,4 @@ def cli():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
cli()
|
||||
run()
|
Loading…
x
Reference in New Issue
Block a user