add some aliases, list => ls, destroy => rm (#38)

This commit is contained in:
William Tan
2026-02-20 02:46:16 -05:00
committed by GitHub
parent dfa984831d
commit 5653454ea6
+2
View File
@@ -2243,6 +2243,7 @@ def create(
@app.command(name="list")
@app.command(name="ls", hidden=True)
def list_droplets():
"""List droplets and hibernated snapshots tagged with owner:<username>."""
try:
@@ -2597,6 +2598,7 @@ def info(droplet_name: str = typer.Argument(..., autocompletion=complete_droplet
@app.command()
@app.command(name="rm", hidden=True)
@requires_lock("destroy")
def destroy(droplet_name: str = typer.Argument(..., autocompletion=complete_droplet_name)):
"""