ethspecify 0.2.6__py3-none-any.whl → 0.2.7__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.
Potentially problematic release.
This version of ethspecify might be problematic. Click here for more details.
- ethspecify/cli.py +10 -3
- {ethspecify-0.2.6.dist-info → ethspecify-0.2.7.dist-info}/METADATA +1 -1
- ethspecify-0.2.7.dist-info/RECORD +9 -0
- ethspecify-0.2.6.dist-info/RECORD +0 -9
- {ethspecify-0.2.6.dist-info → ethspecify-0.2.7.dist-info}/WHEEL +0 -0
- {ethspecify-0.2.6.dist-info → ethspecify-0.2.7.dist-info}/entry_points.txt +0 -0
- {ethspecify-0.2.6.dist-info → ethspecify-0.2.7.dist-info}/licenses/LICENSE +0 -0
- {ethspecify-0.2.6.dist-info → ethspecify-0.2.7.dist-info}/top_level.txt +0 -0
ethspecify/cli.py
CHANGED
|
@@ -26,13 +26,14 @@ def process(args):
|
|
|
26
26
|
def list_tags(args):
|
|
27
27
|
"""List all available tags with their fork history."""
|
|
28
28
|
preset = getattr(args, 'preset', 'mainnet')
|
|
29
|
-
|
|
29
|
+
version = getattr(args, 'version', 'nightly')
|
|
30
|
+
return _list_tags_with_history(args, preset, version)
|
|
30
31
|
|
|
31
32
|
|
|
32
|
-
def _list_tags_with_history(args, preset):
|
|
33
|
+
def _list_tags_with_history(args, preset, version):
|
|
33
34
|
"""List all tags with their fork history."""
|
|
34
35
|
try:
|
|
35
|
-
history = get_spec_item_history(preset)
|
|
36
|
+
history = get_spec_item_history(preset, version)
|
|
36
37
|
except ValueError as e:
|
|
37
38
|
print(f"Error: {e}")
|
|
38
39
|
return 1
|
|
@@ -205,6 +206,12 @@ def main():
|
|
|
205
206
|
help="Filter tags by search term",
|
|
206
207
|
default=None,
|
|
207
208
|
)
|
|
209
|
+
list_tags_parser.add_argument(
|
|
210
|
+
"--version",
|
|
211
|
+
type=str,
|
|
212
|
+
help="Specification version to use (default: nightly)",
|
|
213
|
+
default="nightly",
|
|
214
|
+
)
|
|
208
215
|
|
|
209
216
|
# Parser for 'check' command
|
|
210
217
|
check_parser = subparsers.add_parser("check", help="Check spec reference coverage and validity")
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
ethspecify/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
ethspecify/cli.py,sha256=Ida4n7BSjZrkvwINyzh3M61JzFqdLPc93i62JIQ_64g,8183
|
|
3
|
+
ethspecify/core.py,sha256=1pJhD38JjSZLNySPvdcps1iRR6oxN1kRT-kFoAXfulY,47468
|
|
4
|
+
ethspecify-0.2.7.dist-info/licenses/LICENSE,sha256=Awxsr73mm9YMBVhBYnzeI7bNdRd-bH6RDtO5ItG0DaM,1071
|
|
5
|
+
ethspecify-0.2.7.dist-info/METADATA,sha256=UXqp91LfCbrXIQPtZ4W9075EIhNCnLgOoAu11rE9GzE,9212
|
|
6
|
+
ethspecify-0.2.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
7
|
+
ethspecify-0.2.7.dist-info/entry_points.txt,sha256=09viGkCg9J3h0c9BFRN-BKaJUEaIc4JyULNgBP5EL_g,51
|
|
8
|
+
ethspecify-0.2.7.dist-info/top_level.txt,sha256=0klaMvlVyOkXW09fwZTijJpdybITEp2c9zQKV5v30VM,11
|
|
9
|
+
ethspecify-0.2.7.dist-info/RECORD,,
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
ethspecify/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
ethspecify/cli.py,sha256=RRxFLYkIXze2IfXk9282zVEC43D_ICuDGnn1if1GoCY,7935
|
|
3
|
-
ethspecify/core.py,sha256=1pJhD38JjSZLNySPvdcps1iRR6oxN1kRT-kFoAXfulY,47468
|
|
4
|
-
ethspecify-0.2.6.dist-info/licenses/LICENSE,sha256=Awxsr73mm9YMBVhBYnzeI7bNdRd-bH6RDtO5ItG0DaM,1071
|
|
5
|
-
ethspecify-0.2.6.dist-info/METADATA,sha256=DXAvnsf0VKp58RF-1KxoLl7YC_Ke96nUlV3kwuvsv-4,9212
|
|
6
|
-
ethspecify-0.2.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
7
|
-
ethspecify-0.2.6.dist-info/entry_points.txt,sha256=09viGkCg9J3h0c9BFRN-BKaJUEaIc4JyULNgBP5EL_g,51
|
|
8
|
-
ethspecify-0.2.6.dist-info/top_level.txt,sha256=0klaMvlVyOkXW09fwZTijJpdybITEp2c9zQKV5v30VM,11
|
|
9
|
-
ethspecify-0.2.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|