cmd2 3.1.1__py3-none-any.whl → 3.1.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cmd2/argparse_custom.py +6 -1
- cmd2/parsing.py +5 -1
- {cmd2-3.1.1.dist-info → cmd2-3.1.2.dist-info}/METADATA +2 -1
- {cmd2-3.1.1.dist-info → cmd2-3.1.2.dist-info}/RECORD +7 -7
- {cmd2-3.1.1.dist-info → cmd2-3.1.2.dist-info}/WHEEL +0 -0
- {cmd2-3.1.1.dist-info → cmd2-3.1.2.dist-info}/licenses/LICENSE +0 -0
- {cmd2-3.1.1.dist-info → cmd2-3.1.2.dist-info}/top_level.txt +0 -0
cmd2/argparse_custom.py
CHANGED
|
@@ -290,7 +290,12 @@ from rich_argparse import (
|
|
|
290
290
|
RawTextRichHelpFormatter,
|
|
291
291
|
RichHelpFormatter,
|
|
292
292
|
)
|
|
293
|
-
|
|
293
|
+
|
|
294
|
+
if sys.version_info >= (3, 11):
|
|
295
|
+
from typing import Self
|
|
296
|
+
else:
|
|
297
|
+
from typing_extensions import Self
|
|
298
|
+
|
|
294
299
|
|
|
295
300
|
from . import constants
|
|
296
301
|
from . import rich_utils as ru
|
cmd2/parsing.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import re
|
|
4
4
|
import shlex
|
|
5
|
+
import sys
|
|
5
6
|
from collections.abc import Iterable
|
|
6
7
|
from dataclasses import (
|
|
7
8
|
dataclass,
|
|
@@ -9,7 +10,10 @@ from dataclasses import (
|
|
|
9
10
|
)
|
|
10
11
|
from typing import Any
|
|
11
12
|
|
|
12
|
-
|
|
13
|
+
if sys.version_info >= (3, 11):
|
|
14
|
+
from typing import Self
|
|
15
|
+
else:
|
|
16
|
+
from typing_extensions import Self
|
|
13
17
|
|
|
14
18
|
from . import (
|
|
15
19
|
constants,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cmd2
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.2
|
|
4
4
|
Summary: cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python
|
|
5
5
|
Author: cmd2 Contributors
|
|
6
6
|
License-Expression: MIT
|
|
@@ -28,6 +28,7 @@ Requires-Dist: pyperclip>=1.8.2
|
|
|
28
28
|
Requires-Dist: pyreadline3>=3.4; platform_system == "Windows"
|
|
29
29
|
Requires-Dist: rich>=14.3.0
|
|
30
30
|
Requires-Dist: rich-argparse>=1.7.1
|
|
31
|
+
Requires-Dist: typing-extensions; python_version == "3.10"
|
|
31
32
|
Dynamic: license-file
|
|
32
33
|
|
|
33
34
|
<h1 align="center">cmd2 : immersive interactive command line applications</h1>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
cmd2/__init__.py,sha256=JG-jiy2MMArRTujSiU8usvQpdgQbl3KLTim4tU5SCJw,2278
|
|
2
2
|
cmd2/argparse_completer.py,sha256=8hK5_QUnHgeHVY60C89kMKn2b91AUyDjyq4dykzjCRA,35680
|
|
3
|
-
cmd2/argparse_custom.py,sha256=
|
|
3
|
+
cmd2/argparse_custom.py,sha256=LTNpUAELcQp_7pbKd88mOOeDwbJg6AMJA-xZTe5TZMk,68839
|
|
4
4
|
cmd2/clipboard.py,sha256=5PSKTe3uDe2pFFEDUEMMwAmzcyPkbXXz14SOQxFFncg,515
|
|
5
5
|
cmd2/cmd2.py,sha256=rHSkJ2RF9QQiYdIktd5DHJYJL-X7swwzyVqM6TMbSZU,272373
|
|
6
6
|
cmd2/colors.py,sha256=gLAU8gjhPwZud9MNVk53RGE9ZSdwspLnye_kReeZKjc,7848
|
|
@@ -9,7 +9,7 @@ cmd2/constants.py,sha256=yDcaeEG4Y2DHmLwUpV-_lEiHkiYUZEuyf9mpDdAzmkg,1773
|
|
|
9
9
|
cmd2/decorators.py,sha256=_xxagAxlcUROLZowqjW5RYP935uNMEJyr2h8FkWalGw,17356
|
|
10
10
|
cmd2/exceptions.py,sha256=J8Ck0dhusB2cfVksRLkM4WVgBTGQnPdEcU26RfBjjRw,3440
|
|
11
11
|
cmd2/history.py,sha256=QNg5QOe3854hFsu9qw7QlqtnTQvmtXojOWgMZlg6JoQ,14755
|
|
12
|
-
cmd2/parsing.py,sha256
|
|
12
|
+
cmd2/parsing.py,sha256=8tXTn5fwzQutqq6LQqBpoC2dYqTrDjbVyJwpy7sWY-k,28116
|
|
13
13
|
cmd2/plugin.py,sha256=_KD44QaHPXncT3qSOWXyzesxKvEbJp5tQeMJ569mLNw,827
|
|
14
14
|
cmd2/py.typed,sha256=qrkHrYJvGoZpU2BpVLNxJB44LlhqVSKyYOwD_L_1m3s,10
|
|
15
15
|
cmd2/py_bridge.py,sha256=oD7EwT59HvWSvF9FACWDi-_izkQY6mfitOYX20Y5daI,5190
|
|
@@ -20,8 +20,8 @@ cmd2/styles.py,sha256=rh7N-4A2moKDEH82Co-yTrmzAknU75d2c0oR2G1euEg,2762
|
|
|
20
20
|
cmd2/terminal_utils.py,sha256=AOk1VjOAzxn7jou2wbALeD6FRIRlKgkQ0VCzIEY51DA,6052
|
|
21
21
|
cmd2/transcript.py,sha256=5a_1HGDzhhG1I47g9QnrVNWnOI6Mt_z7jGMH7wFm2XQ,9210
|
|
22
22
|
cmd2/utils.py,sha256=4jlhcHfgr8yoymP2hRPeCr7_1J37vI4MIIBkszyPK6M,32292
|
|
23
|
-
cmd2-3.1.
|
|
24
|
-
cmd2-3.1.
|
|
25
|
-
cmd2-3.1.
|
|
26
|
-
cmd2-3.1.
|
|
27
|
-
cmd2-3.1.
|
|
23
|
+
cmd2-3.1.2.dist-info/licenses/LICENSE,sha256=7JL3v4rPUpHV8b0yWAOl64e9r4YmwbHgl3SH_RGbsK8,1099
|
|
24
|
+
cmd2-3.1.2.dist-info/METADATA,sha256=IpYX0rUI0FsNWEz4-ov-2F3mpj10Bd327Y2Cpfo7nHg,16405
|
|
25
|
+
cmd2-3.1.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
26
|
+
cmd2-3.1.2.dist-info/top_level.txt,sha256=gJbOJmyrARwLhm5diXAtzlNQdxbDZ8iRJ8HJi65_5hg,5
|
|
27
|
+
cmd2-3.1.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|