Skip to content

Commit 56f42b2

Browse files
committed
rename args -> cli
1 parent 4c18cab commit 56f42b2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/stagpy/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ def main() -> None:
3131
signal.signal(signal.SIGINT, sigint_handler)
3232
warnings.simplefilter("ignore")
3333

34-
from . import args, config, error
34+
from . import cli, config, error
3535

3636
conf = config.Config.default_()
3737
if config.CONFIG_LOCAL.is_file():
3838
conf.update_from_file_(config.CONFIG_LOCAL)
3939

4040
try:
41-
args.parse_args(conf)(conf)
41+
cli.parse_args(conf)(conf)
4242
except error.StagpyError as err:
4343
if debug:
4444
raise
File renamed without changes.

src/stagpy/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Define configuration variables for StagPy.
22
3-
See [stagpy.args][] for additional definitions related to the command line
3+
See [stagpy.cli][] for additional definitions related to the command line
44
interface.
55
"""
66

tests/test_args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from pytest import CaptureFixture
55

66
import stagpy
7-
from stagpy.args import parse_args
7+
from stagpy.cli import parse_args
88
from stagpy.config import Config
99

1010

0 commit comments

Comments
 (0)