ethspecify 0.2.6__tar.gz → 0.2.7__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ethspecify
3
- Version: 0.2.6
3
+ Version: 0.2.7
4
4
  Summary: A utility for processing Ethereum specification tags.
5
5
  Home-page: https://github.com/jtraglia/ethspecify
6
6
  Author: Justin Traglia
@@ -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
- return _list_tags_with_history(args, preset)
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")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ethspecify
3
- Version: 0.2.6
3
+ Version: 0.2.7
4
4
  Summary: A utility for processing Ethereum specification tags.
5
5
  Home-page: https://github.com/jtraglia/ethspecify
6
6
  Author: Justin Traglia
@@ -8,7 +8,7 @@ long_description = (this_directory / "README.md").read_text(encoding="utf-8")
8
8
 
9
9
  setup(
10
10
  name="ethspecify",
11
- version="0.2.6",
11
+ version="0.2.7",
12
12
  description="A utility for processing Ethereum specification tags.",
13
13
  long_description=long_description,
14
14
  long_description_content_type="text/markdown",
File without changes
File without changes
File without changes