MCPcopy Create free account
hub / github.com/bigdra50/unity-cli / snapshot_list

Function snapshot_list

unity_cli/cli/commands/uitree.py:772–781  ·  view source on GitHub ↗

List saved snapshots.

()

Source from the content-addressed store, hash-verified

770@snapshot_app.command("list")
771@handle_cli_errors
772def snapshot_list() -> None:
773 """List saved snapshots."""
774 from unity_cli.api.uitree_snapshot import SnapshotStore
775
776 names = SnapshotStore().list_names()
777 if not names:
778 print_line("No snapshots saved")
779 else:
780 for n in names:
781 print_line(n)
782
783
784@snapshot_app.command("delete")

Callers

nothing calls this directly

Calls 3

SnapshotStoreClass · 0.90
print_lineFunction · 0.90
list_namesMethod · 0.80

Tested by

no test coverage detected