baseten-cli

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2026 License: MIT

README

Baseten CLI

CLI for the Baseten Inference Platform.

⚠️ Under active development. Nothing should be considered stable at this time.

Installation

No release has been made/published yet, so you must build. Clone this repository and run:

go build ./cmd/baseten

Usage

Authenticate via baseten auth login, or set BASETEN_API_KEY in the environment.

Run baseten --help (or baseten <command> --help) for the full command tree.

Deploying Models

From inside a model directory containing a config.yaml:

baseten model push

The directory defaults to the current working directory and is configurable via --dir. Useful flags:

  • --tail streams build and runtime logs to stderr after the push completes.
  • --wait blocks until the deployment reaches an active status and exits non-zero on terminal failure.

See docs.baseten.co for more.

Directories

Path Synopsis
cmd
baseten command
internal
cmd
help
Package help renders our CLI's help output and provides the Execute wrapper around cobra used by internal/cmd.Execute.
Package help renders our CLI's help output and provides the Execute wrapper around cobra used by internal/cmd.Execute.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL