List saved snapshots.
()
| 770 | @snapshot_app.command("list") |
| 771 | @handle_cli_errors |
| 772 | def 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") |
nothing calls this directly
no test coverage detected