Use barectf.cli._run() as the CLI's starting function
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 29 Jul 2020 14:49:51 +0000 (10:49 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 29 Jul 2020 14:49:51 +0000 (10:49 -0400)
I don't want to expose barectf.cli.run().

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
barectf/cli.py
pyproject.toml

index 33ebeaf735c75b1943ed5648abe86541fbbd6d49..0b18ed67bc3cc6c75b9ff2faca674afadad023eb 100644 (file)
@@ -105,7 +105,7 @@ def _parse_args():
     return args
 
 
-def run():
+def _run():
     # parse arguments
     args = _parse_args()
 
index c9390fb696eab8948d290e04d95a2bc547a2c900..076ccedb61069e07a2a592fd145e017b6e8d6c6b 100644 (file)
@@ -61,7 +61,7 @@ jsonschema = '^3.2'
 setuptools = '*'
 
 [tool.poetry.scripts]
-barectf = 'barectf.cli:run'
+barectf = 'barectf.cli:_run'
 
 [tool.poetry.urls]
 'Bug tracker' = 'https://github.com/efficios/barectf/issues/'
This page took 0.023516 seconds and 4 git commands to generate.