mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
no n/a
This commit is contained in:
parent
4bb0dc72cd
commit
cf63fd31d5
1 changed files with 6 additions and 4 deletions
|
@ -1,16 +1,18 @@
|
|||
import json
|
||||
import sys
|
||||
|
||||
|
||||
def print_tags_info(filename):
|
||||
with open(filename, "r") as tags_file:
|
||||
for line in tags_file:
|
||||
tag = json.loads(line)
|
||||
scope = tag.get("scope", "N/A")
|
||||
kind = tag.get("kind", "N/A")
|
||||
name = tag.get("name", "N/A")
|
||||
signature = tag.get("signature", "N/A")
|
||||
scope = tag.get("scope", "")
|
||||
kind = tag.get("kind", "")
|
||||
name = tag.get("name", "")
|
||||
signature = tag.get("signature", "")
|
||||
print(scope, kind, name, signature)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
for filename in sys.argv[1:]:
|
||||
print_tags_info(filename)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue