lep objectstore

Manage the object store on the Lepton AI cloud. (beta)

Usage

lep objectstore [OPTIONS] COMMAND [ARGS]...

Options

  • --help : Show this message and exit.

Commands

  • cat : Gets the object with the given key and prints it to stdout.
  • delete : Deletes the object with the given key.
  • get : Gets the object with the given key.
  • list : Lists all objects in the current workspace.
  • put : Puts the object with the given key.

lep objectstore get

Gets the object with the given key.

Usage

lep objectstore get [OPTIONS]

Options

  • -k, --key TEXT : Object key [required]
  • -f, --file TEXT : File to write to.
  • -p, --public : Is public bucket
  • -u, --return-url : Return the url of the object instead of the content. If specified, --file takes no effect.
  • --help : Show this message and exit.

lep objectstore cat

Gets the object with the given key and prints it to stdout.

Usage

lep objectstore cat [OPTIONS]

Options

  • -k, --key TEXT : Object key [required]
  • --public : Is public bucket
  • --help : Show this message and exit.

lep objectstore put

Puts the object with the given key.

Usage

lep objectstore put [OPTIONS]

Options

  • -k, --key TEXT : Object key. If not specified, use the filename (including the path).
  • -f, --file TEXT : File to upload [required]
  • --public : Is public bucket
  • --help : Show this message and exit.

lep objectstore delete

Deletes the object with the given key.

Usage

lep objectstore delete [OPTIONS]

Options

  • -k, --key TEXT : Object key [required]
  • --public : Is public bucket
  • --help : Show this message and exit.

lep objectstore list

Lists all objects in the current workspace.

Usage

lep objectstore list [OPTIONS]

Options

  • -p, --prefix TEXT : Prefix to filter objects
  • --public : Is public bucket
  • --help : Show this message and exit.
Lepton AI

© 2024