derpyplops / lambda-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lambda GPU CLI (lambda)

Decided to make a CLI for the Lambda GPU. WIP, but works for me, hope it works for you! Made mainly with Typer and Bullet.

Installation

poetry build
pip install --user ./dist/lambda_cli-0.1.0-py3-none-any.whl

Usage:

$ lambda [OPTIONS] COMMAND [ARGS]...

Options:

  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Commands:

  • ls: List running instances.
  • new: Provision a new GPU instance.
  • stop: Terminate a running instance.

lambda ls

List running instances.

Usage:

$ lambda ls [OPTIONS]

Options:

  • --help: Show this message and exit.

lambda new

Provision a new GPU instance.

Usage:

$ lambda new [OPTIONS]

Options:

  • --ssh / --no-ssh: Append an entry to ssh config at ~/.ssh/config [default: no-ssh]
  • --help: Show this message and exit.

lambda stop

Terminate a running instance.

Usage:

$ lambda stop [OPTIONS]

Options:

  • --help: Show this message and exit.

About


Languages

Language:Python 100.0%