Removes a snapshot
(name)
| 132 | @stellar.command() |
| 133 | @click.argument('name') |
| 134 | def remove(name): |
| 135 | """Removes a snapshot""" |
| 136 | app = get_app() |
| 137 | |
| 138 | snapshot = app.get_snapshot(name) |
| 139 | if not snapshot: |
| 140 | click.echo("Couldn't find snapshot %s" % name) |
| 141 | sys.exit(1) |
| 142 | |
| 143 | click.echo("Deleting snapshot %s" % name) |
| 144 | app.remove_snapshot(snapshot) |
| 145 | click.echo("Deleted") |
| 146 | |
| 147 | |
| 148 | @stellar.command() |
nothing calls this directly
no test coverage detected