MCPcopy Index your code
hub / github.com/BasicProtein/AugmentCode-Free / modify_ids_command

Function modify_ids_command

augment_tools_core/cli.py:86–101  ·  view source on GitHub ↗

Modifies the specified IDE's telemetry IDs (machineId, devDeviceId) in storage.json.

(ide: str)

Source from the content-addressed store, hash-verified

84@click.option('--ide', default='vscode', show_default=True,
85 help=get_text("cli.ide_option_help"))
86def modify_ids_command(ide: str):
87 """Modifies the specified IDE's telemetry IDs (machineId, devDeviceId) in storage.json."""
88 try:
89 ide_type = parse_ide_type(ide)
90 ide_name = get_ide_display_name(ide_type)
91
92 print_info(get_text("cli.executing", operation=f"{ide_name} Telemetry ID Modification"))
93
94 if modify_ide_telemetry_ids(ide_type):
95 print_info(get_text("cli.finished"))
96 else:
97 print_error(get_text("cli.errors"))
98
99 except click.BadParameter as e:
100 print_error(str(e))
101 return
102
103@main_cli.command("run-all")
104@click.option('--ide', default='vscode', show_default=True,

Callers

nothing calls this directly

Calls 6

get_textFunction · 0.90
parse_ide_typeFunction · 0.85
get_ide_display_nameFunction · 0.85
print_infoFunction · 0.85
modify_ide_telemetry_idsFunction · 0.85
print_errorFunction · 0.85

Tested by

no test coverage detected