cargo-shuttle(1)

πŸ“¦ version 0.57.3, in arch rolling

πŸŽ€ NAME β€” cargo-shuttle(1) (General Commands Manual) πŸŽ€

cargo-shuttle β€” CLI for the Shuttle platform (https://www.shuttle.dev/)

πŸ“œ SYNOPSIS πŸ“œ

cargo-shuttle [--offline] [--debug] [--output] [--working-directory]
[--name] [--id] [-h|--help] [-V|--version] [dummy] <subcommands>

πŸ“ DESCRIPTION πŸ“

Bestie, this is the CLI for the Shuttle platform (https://www.shuttle.dev/) β€” yes, that Shuttle. πŸ’…

See the CLI docs for more information: https://docs.shuttle.dev/guides/cli

✨ OPTIONS ✨

  • -h, --help β€” Print help (see a summary with -h)
  • -V, --version β€” Print version

🌍 GLOBAL OPTIONS 🌍

  • --offline β€” Disable network requests that are not strictly necessary. Limits some features. May also be specified with the SHUTTLE_OFFLINE environment variable.
  • --debug β€” Turn on tracing output for Shuttle libraries. WARNING: can print sensitive data. May also be specified with the SHUTTLE_DEBUG environment variable.
  • --output <OUTPUT_MODE> [default: normal] β€” What format to print output in. Possible values: normal, json. May also be specified with the SHUTTLE_OUTPUT_MODE environment variable.
  • --working-directory <WORKING_DIRECTORY> [default: .] β€” the working directory, defaulting to .
  • --name <NAME> β€” The name of the project to target or create
  • --id <ID> β€” The id of the project to target

🧭 SUBCOMMANDS 🧭

  • cargo-shuttle-init(1) β€” Generate a Shuttle project from a template
  • cargo-shuttle-run(1) β€” Run a project locally
  • cargo-shuttle-deploy(1) β€” Deploy a project
  • cargo-shuttle-deployment(1) β€” Manage deployments
  • cargo-shuttle-logs(1) β€” View build and deployment logs
  • cargo-shuttle-project(1) β€” Manage Shuttle projects
  • cargo-shuttle-resource(1) β€” Manage resources
  • cargo-shuttle-certificate(1) β€” Manage SSL certificates for custom domains
  • cargo-shuttle-account(1) β€” Show info about your Shuttle account
  • cargo-shuttle-login(1) β€” Log in to the Shuttle platform
  • cargo-shuttle-logout(1) β€” Log out of the Shuttle platform
  • cargo-shuttle-generate(1) β€” Generate shell completions and man page
  • cargo-shuttle-feedback(1) β€” Open an issue on GitHub and provide feedback
  • cargo-shuttle-upgrade(1) β€” Upgrade the Shuttle CLI binary
  • cargo-shuttle-mcp(1) β€” Commands for the Shuttle MCP server
  • cargo-shuttle-help(1) β€” Print this message or the help of the given subcommand(s)

🏷️ VERSION 🏷️

v0.57.3


🌟 NAME β€” init 🌟

init β€” Generate a Shuttle project from a template

πŸ“œ SYNOPSIS β€” init πŸ“œ

init [-t|--template] [--from] [--subfolder] [--force-name]
[--create-project] [--no-git] [--prompt] [--api-key] [-h|--help] [PATH]

πŸ“ DESCRIPTION β€” init πŸ“

Generate a Shuttle project from a template

✨ OPTIONS β€” init ✨

  • -t, --template <TEMPLATE> β€” Clone a starter template from Shuttle's official examples. Possible values:
    • axum β€” Axum - Modular web framework from the Tokio ecosystem
    • actix-web β€” Actix Web - Powerful and fast web framework
    • rocket β€” Rocket - Simple and easy-to-use web framework
    • loco β€” Loco - Batteries included web framework based on Axum
    • salvo β€” Salvo - Powerful and simple web framework
    • poem β€” Poem - Full-featured and easy-to-use web framework
    • poise β€” Poise - Discord Bot framework with good slash command support
    • rama β€” Rama - Modular service framework to build proxies, servers and clients
    • serenity β€” Serenity - Discord Bot framework
    • tower β€” Tower - Modular service library
    • warp β€” Warp - Web framework
    • none β€” No template - Make a custom service
  • --from <FROM> β€” Clone a template from a git repository or local path
  • --subfolder <SUBFOLDER> β€” Path to the template in the source (used with --from)
  • --force-name β€” Don't check the project name's validity or availability and use it anyways
  • --create-project β€” Whether to create a project on Shuttle
  • --no-git β€” Don't initialize a new git repository
  • -h, --help β€” Print help (see a summary with -h)
  • [PATH] [default: .] β€” Path where to place the new Shuttle project

πŸ” LOGIN OPTIONS πŸ”

  • --prompt β€” Prompt to paste the API key instead of opening the browser
  • --api-key <API_KEY> β€” Log in with this Shuttle API key

🌈 NAME β€” run 🌈

run β€” Run a project locally

πŸ“œ SYNOPSIS β€” run πŸ“œ

run [-p|--port] [--external] [--raw] [--secrets] [-r|--release]
[--bacon] [-h|--help]

πŸ“ DESCRIPTION β€” run πŸ“

Run a project locally

✨ OPTIONS β€” run ✨

  • -p, --port <PORT> [default: 8000] β€” Port to start service on. May also be specified with the PORT environment variable.
  • --external β€” Use 0.0.0.0 instead of localhost (for usage with local external devices)
  • --raw β€” Don't display timestamps and log origin tags
  • --secrets <SECRETS> β€” Use this secrets file instead
  • -r, --release β€” Use release mode for building the project
  • --bacon β€” Uses bacon crate to build/run the project in watch mode
  • -h, --help β€” Print help

πŸ¦‹ NAME β€” build πŸ¦‹

build β€” Build a project

πŸ“œ SYNOPSIS β€” build πŸ“œ

build [--output-archive] [-r|--release] [--bacon] [-h|--help]

πŸ“ DESCRIPTION β€” build πŸ“

Build a project

✨ OPTIONS β€” build ✨

  • --output-archive <OUTPUT_ARCHIVE> β€” Output the build archive to a file instead of building
  • -r, --release β€” Use release mode for building the project
  • --bacon β€” Uses bacon crate to build/run the project in watch mode
  • -h, --help β€” Print help

πŸš€ NAME β€” deploy πŸš€

deploy β€” Deploy a project

πŸ“œ SYNOPSIS β€” deploy πŸ“œ

deploy [--allow-dirty] [--output-archive] [--no-follow] [--raw]
[--secrets] [-h|--help]

πŸ“ DESCRIPTION β€” deploy πŸ“

Deploy a project

✨ OPTIONS β€” deploy ✨

  • --allow-dirty β€” Allow deployment with uncommitted files
  • --output-archive <OUTPUT_ARCHIVE> β€” Output the deployment archive to a file instead of sending a deployment request
  • --no-follow β€” Don't follow the deployment status, exit after the operation begins
  • --raw β€” Don't display timestamps and log origin tags
  • --secrets <SECRETS> β€” Use this secrets file instead
  • -h, --help β€” Print help

🧚 NAME β€” deployment 🧚

deployment β€” Manage deployments

πŸ“œ SYNOPSIS β€” deployment πŸ“œ

deployment [-h|--help] <subcommands>

πŸ“ DESCRIPTION β€” deployment πŸ“

Manage deployments

✨ OPTIONS β€” deployment ✨

  • -h, --help β€” Print help

🧭 SUBCOMMANDS β€” deployment 🧭

  • deployment-list(1) β€” List the deployments for a service
  • deployment-status(1) β€” View status of a deployment
  • deployment-redeploy(1) β€” Redeploy a previous deployment (if possible)
  • deployment-stop(1) β€” Stop running deployment(s)
  • deployment-help(1) β€” Print this message or the help of the given subcommand(s)

πŸŽ€ NAME β€” deployment list πŸŽ€

list β€” List the deployments for a service

πŸ“œ SYNOPSIS β€” deployment list πŸ“œ

list [--page] [--limit] [--raw] [-h|--help]

πŸ“ DESCRIPTION β€” deployment list πŸ“

List the deployments for a service

✨ OPTIONS β€” deployment list ✨

  • --page <PAGE> [default: 1] β€” Which page to display
  • --limit <LIMIT> [default: 10] β€” How many deployments per page to display
  • -h, --help β€” Print help

πŸ“Š TABLE OPTIONS β€” deployment list πŸ“Š

  • --raw β€” Output tables without borders

πŸ’œ NAME β€” deployment status πŸ’œ

status β€” View status of a deployment

πŸ“œ SYNOPSIS β€” deployment status πŸ“œ

status [-h|--help] [DEPLOYMENT_ID]

πŸ“ DESCRIPTION β€” deployment status πŸ“

View status of a deployment

✨ OPTIONS β€” deployment status ✨

  • -h, --help β€” Print help
  • [DEPLOYMENT_ID] β€” ID of deployment to get status for

πŸ” NAME β€” deployment redeploy πŸ”

redeploy β€” Redeploy a previous deployment (if possible)

πŸ“œ SYNOPSIS β€” deployment redeploy πŸ“œ

redeploy [--no-follow] [--raw] [-h|--help] [DEPLOYMENT_ID]

πŸ“ DESCRIPTION β€” deployment redeploy πŸ“

Redeploy a previous deployment (if possible)

✨ OPTIONS β€” deployment redeploy ✨

  • --no-follow β€” Don't follow the deployment status, exit after the operation begins
  • --raw β€” Don't display timestamps and log origin tags
  • -h, --help β€” Print help
  • [DEPLOYMENT_ID] β€” ID of deployment to redeploy

πŸ›‘ NAME β€” deployment stop πŸ›‘

stop β€” Stop running deployment(s)

πŸ“œ SYNOPSIS β€” deployment stop πŸ“œ

stop [--no-follow] [--raw] [-h|--help]

πŸ“ DESCRIPTION β€” deployment stop πŸ“

Stop running deployment(s)

✨ OPTIONS β€” deployment stop ✨

  • --no-follow β€” Don't follow the deployment status, exit after the operation begins
  • --raw β€” Don't display timestamps and log origin tags
  • -h, --help β€” Print help

πŸ“œ NAME β€” logs πŸ“œ

logs β€” View build and deployment logs

πŸ“œ SYNOPSIS β€” logs πŸ“œ

logs [-l|--latest] [--raw] [-h|--help] [DEPLOYMENT_ID]

πŸ“ DESCRIPTION β€” logs πŸ“

View build and deployment logs

✨ OPTIONS β€” logs ✨

  • -l, --latest β€” View logs from the most recent deployment (which is not always the running one)
  • --raw β€” Don't display timestamps and log origin tags
  • -h, --help β€” Print help
  • [DEPLOYMENT_ID] β€” Deployment ID to get logs for. Defaults to the current deployment

πŸ—‚οΈ NAME β€” project πŸ—‚οΈ

project β€” Manage Shuttle projects

πŸ“œ SYNOPSIS β€” project πŸ“œ

project [-h|--help] <subcommands>

πŸ“ DESCRIPTION β€” project πŸ“

Manage Shuttle projects

✨ OPTIONS β€” project ✨

  • -h, --help β€” Print help

🧭 SUBCOMMANDS β€” project 🧭

  • project-create(1) β€” Create a project on Shuttle
  • project-update(1) β€” Update project config
  • project-status(1) β€” Get the status of this project on Shuttle
  • project-list(1) β€” List all projects you have access to
  • project-delete(1) β€” Delete a project and all linked data
  • project-link(1) β€” Link this workspace to a Shuttle project
  • project-help(1) β€” Print this message or the help of the given subcommand(s)

✨ NAME β€” project create ✨

create β€” Create a project on Shuttle

πŸ“œ SYNOPSIS β€” project create πŸ“œ

create [-h|--help]

πŸ“ DESCRIPTION β€” project create πŸ“

Create a project on Shuttle

✨ OPTIONS β€” project create ✨

  • -h, --help β€” Print help

πŸ› οΈ NAME β€” project update πŸ› οΈ

update β€” Update project config

πŸ“œ SYNOPSIS β€” project update πŸ“œ

update [-h|--help] <subcommands>

πŸ“ DESCRIPTION β€” project update πŸ“

Update project config

✨ OPTIONS β€” project update ✨

  • -h, --help β€” Print help

πŸ“‘ NAME β€” project status πŸ“‘

status β€” Get the status of this project on Shuttle

πŸ“œ SYNOPSIS β€” project status πŸ“œ

status [-h|--help]

πŸ“ DESCRIPTION β€” project status πŸ“

Get the status of this project on Shuttle

✨ OPTIONS β€” project status ✨

  • -h, --help β€” Print help

πŸ“‹ NAME β€” project list πŸ“‹

list β€” List all projects you have access to

πŸ“œ SYNOPSIS β€” project list πŸ“œ

list [--raw] [-h|--help]

πŸ“ DESCRIPTION β€” project list πŸ“

List all projects you have access to

✨ OPTIONS β€” project list ✨

  • -h, --help β€” Print help

πŸ“Š TABLE OPTIONS β€” project list πŸ“Š

  • --raw β€” Output tables without borders

πŸ—‘οΈ NAME β€” project delete πŸ—‘οΈ

delete β€” Delete a project and all linked data

πŸ“œ SYNOPSIS β€” project delete πŸ“œ

delete [-y|--yes] [-h|--help]

πŸ“ DESCRIPTION β€” project delete πŸ“

Delete a project and all linked data

✨ OPTIONS β€” project delete ✨

  • -y, --yes β€” Skip confirmations and proceed
  • -h, --help β€” Print help

link β€” Link this workspace to a Shuttle project

link [-h|--help]

Link this workspace to a Shuttle project

  • -h, --help β€” Print help

πŸ§ƒ NAME β€” resource πŸ§ƒ

resource β€” Manage resources

πŸ“œ SYNOPSIS β€” resource πŸ“œ

resource [-h|--help] <subcommands>

πŸ’– DESCRIPTION πŸ’–

okay so <pink>this command's entire personality</pink> is manage resources. that's the job. that's the whole assignment. 🧚

(She's the hub, not the worker β€” she points you at the subcommands below and lets them do the actual lifting. main character energy, honestly. πŸ‘‘)

✨ OPTIONS ✨

  • -h, --help β€” print help. the tried and true, the blueprint, the moment. πŸ’…

πŸ¦‹ SUBCOMMANDS πŸ¦‹

  • resource-list(1) β€” list the resources for a project πŸ“‹
  • resource-delete(1) β€” delete a resource πŸ—‘οΈ
  • resource-help(1) β€” print this message or the help of the given subcommand(s)

πŸŽ€ NAME πŸŽ€

list β€” list the resources for a project

🌸 SYNOPSIS 🌸

list [--show-secrets] [--raw] [-h|--help]

πŸ’œ DESCRIPTION πŸ’œ

lists the resources for a project. that's it, she's simple, she's iconic, she ate. ✨

✨ OPTIONS ✨

  • --show-secrets β€” show secrets from resources (e.g. a password in a connection string). πŸ‘€ yes, actually shows the secret. this is the "do not screenshot, do not screen-share" option bestie β€” handle with care. πŸ™ˆ
  • -h, --help β€” print help

πŸ–€ TABLE OPTIONS πŸ–€

  • --raw β€” output tables without borders. minimalism era. no boxes, no lines, just data, unbothered, thriving. πŸ“

πŸŽ€ NAME πŸŽ€

delete β€” delete a resource

🌸 SYNOPSIS 🌸

delete [-y|--yes] [-h|--help] <RESOURCE_TYPE>

πŸ’œ DESCRIPTION πŸ’œ

deletes a resource. gone. poof. 🫧

✨ OPTIONS ✨

  • -y, --yes β€” skip confirmations and proceed. she does not ask twice, she does not hesitate, she sends it. ⚑
  • -h, --help β€” print help
  • &lt;RESOURCE_TYPE&gt; β€” the type of the resource you're deleting. grab the exact string from the 'Type' column as shown in the resource list command β€” for example 'database::shared::postgres'. copy it, don't freestyle it. πŸ“Ž

πŸŽ€ NAME πŸŽ€

dump β€” dump a resource

🌸 SYNOPSIS 🌸

dump [-h|--help] <RESOURCE_TYPE>

πŸ’œ DESCRIPTION πŸ’œ

dumps a resource. πŸ’«

✨ OPTIONS ✨

  • -h, --help β€” print help
  • &lt;RESOURCE_TYPE&gt; β€” the type of the resource you're dumping. same drill as always: use the string from the 'Type' column in the resource list command, e.g. 'database::shared::postgres'. 🎯

πŸŽ€ NAME πŸŽ€

certificate β€” manage SSL certificates for custom domains

🌸 SYNOPSIS 🌸

certificate [-h|--help] <subcommands>

πŸ’œ DESCRIPTION πŸ’œ

manages SSL certificates for custom domains. πŸ” locked down, secured, slay.

✨ OPTIONS ✨

  • -h, --help β€” print help

πŸ¦‹ SUBCOMMANDS πŸ¦‹

  • certificate-add(1) β€” add an SSL certificate for a custom domain βž•
  • certificate-list(1) β€” list the certificates for a project πŸ“œ
  • certificate-delete(1) β€” delete an SSL certificate πŸ—‘οΈ
  • certificate-help(1) β€” print this message or the help of the given subcommand(s)

πŸŽ€ NAME πŸŽ€

add β€” add an SSL certificate for a custom domain

🌸 SYNOPSIS 🌸

add [-h|--help] <DOMAIN>

πŸ’œ DESCRIPTION πŸ’œ

adds an SSL certificate for a custom domain. new cert, new you. 🌈

✨ OPTIONS ✨

  • -h, --help β€” print help
  • &lt;DOMAIN&gt; β€” domain name. that's the one. 🌐

πŸŽ€ NAME πŸŽ€

list β€” list the certificates for a project

🌸 SYNOPSIS 🌸

list [--raw] [-h|--help]

πŸ’œ DESCRIPTION πŸ’œ

lists the certificates for a project. all your certs, lined up, looking cute. πŸ’Œ

✨ OPTIONS ✨

  • -h, --help β€” print help

πŸ–€ TABLE OPTIONS πŸ–€

  • --raw β€” output tables without borders. again: minimalism, no borders, just vibes and values. πŸ“

πŸŽ€ NAME πŸŽ€

delete β€” delete an SSL certificate

🌸 SYNOPSIS 🌸

delete [-y|--yes] [-h|--help] <DOMAIN>

πŸ’œ DESCRIPTION πŸ’œ

deletes an SSL certificate. bye bestie, it was real. πŸ‘‹

✨ OPTIONS ✨

  • -y, --yes β€” skip confirmations and proceed. no little "are you sure?" pop-up, just straight to it. ⚑
  • -h, --help β€” print help
  • &lt;DOMAIN&gt; β€” domain name

πŸŽ€ NAME πŸŽ€

account β€” show info about your Shuttle account

🌸 SYNOPSIS 🌸

account [-h|--help]

πŸ’œ DESCRIPTION πŸ’œ

shows info about your Shuttle account. it's giving "who am i, really". πŸͺž

✨ OPTIONS ✨

  • -h, --help β€” print help

πŸŽ€ NAME πŸŽ€

login β€” log in to the Shuttle platform

🌸 SYNOPSIS 🌸

login [--prompt] [--api-key] [-h|--help]

πŸ’œ DESCRIPTION πŸ’œ

logs in to the Shuttle platform. come on in, the water's fine. πŸ›

✨ OPTIONS ✨

  • -h, --help β€” print help

πŸ”‘ LOGIN OPTIONS πŸ”‘

  • --prompt β€” prompt you to paste the API key instead of opening the browser. for when you want the keyboard moment, not the tab moment. ⌨️
  • --api-key <API_KEY> β€” log in with this Shuttle API key. hand it over directly. πŸ—οΈ

πŸŽ€ NAME πŸŽ€

logout β€” log out of the Shuttle platform

🌸 SYNOPSIS 🌸

logout [--reset-api-key] [-h|--help]

πŸ’œ DESCRIPTION πŸ’œ

logs out of the Shuttle platform. closing the tab on this chapter. πŸšͺ

✨ OPTIONS ✨

  • --reset-api-key β€” reset the API key before logging out. clean slate, fresh start, new era. 🧼
  • -h, --help β€” print help

πŸŽ€ NAME πŸŽ€

generate β€” generate shell completions and man page

🌸 SYNOPSIS 🌸

generate [-h|--help] <subcommands>

πŸ’œ DESCRIPTION πŸ’œ

generates shell completions and man page. maker of helpful little artifacts. πŸ› οΈβœ¨

✨ OPTIONS ✨

  • -h, --help β€” print help

πŸ¦‹ SUBCOMMANDS πŸ¦‹

  • generate-shell(1) β€” generate shell completions 🐚
  • generate-manpage(1) β€” generate man page to the standard output πŸ“„
  • generate-help(1) β€” print this message or the help of the given subcommand(s)

πŸŽ€ NAME πŸŽ€

shell β€” generate shell completions

🌸 SYNOPSIS 🌸

shell [-o|--output-file] [-h|--help] <SHELL>

πŸ’œ DESCRIPTION πŸ’œ

generates shell completions. tab-complete your way through life. πŸšπŸ’«

✨ OPTIONS ✨

  • -o, --output-file <OUTPUT_FILE> β€” output to a file (stdout by default). got somewhere specific to put it? say the word. πŸ“
  • -h, --help β€” print help
  • &lt;SHELL&gt; β€” the shell you want completions for

[possible values: bash, elvish, fish, powershell, zsh]


πŸŽ€ NAME πŸŽ€

manpage β€” generate man page to the standard output

🌸 SYNOPSIS 🌸

manpage [-h|--help]

πŸ’œ DESCRIPTION πŸ’œ

generates the man page to the standard output. yes, the very thing you're reading. meta. 🀯

✨ OPTIONS ✨

  • -h, --help β€” print help

πŸŽ€ NAME πŸŽ€

feedback β€” open an issue on GitHub and provide feedback

🌸 SYNOPSIS 🌸

feedback [-h|--help]

πŸ’œ DESCRIPTION πŸ’œ

opens an issue on GitHub and provides feedback. tell them how you really feel, respectfully. πŸ’¬πŸ«Ά

✨ OPTIONS ✨

  • -h, --help β€” print help

πŸŽ€ NAME πŸŽ€

upgrade β€” upgrade the Shuttle CLI binary

🌸 SYNOPSIS 🌸

upgrade [--preview] [-h|--help]

πŸ’œ DESCRIPTION πŸ’œ

upgrades the Shuttle CLI binary. glow-up time. πŸ”₯

✨ OPTIONS ✨

  • --preview β€” install an unreleased version from the repository's main branch. unreleased β€” you're getting the sneak peek, bestie, act accordingly. πŸ‘€
  • -h, --help β€” print help

πŸŽ€ NAME πŸŽ€

mcp β€” commands for the Shuttle MCP server

🌸 SYNOPSIS 🌸

mcp [-h|--help] <subcommands>

πŸ’œ DESCRIPTION πŸ’œ

holds the commands for the Shuttle MCP server. πŸ€–

✨ OPTIONS ✨

  • -h, --help β€” print help

πŸ¦‹ SUBCOMMANDS πŸ¦‹

  • mcp-start(1) β€” start the Shuttle MCP server ▢️
  • mcp-help(1) β€” print this message or the help of the given subcommand(s)

πŸŽ€ NAME πŸŽ€

start β€” start the Shuttle MCP server

🌸 SYNOPSIS 🌸

start [-h|--help]

πŸ’œ DESCRIPTION πŸ’œ

starts the Shuttle MCP server. ignition. πŸ”₯πŸ€–

✨ OPTIONS ✨

  • -h, --help β€” print help

and that's the whole page, bestie, you made it to the end πŸŽ‰πŸ’– you just read cargo-shuttle version 0.57.3 β€” the cargo-shuttle(1) page, no less. go forth, manage those resources, and remember: --raw is a lifestyle. mwah πŸ«ΆπŸ’…

πŸ“¦ where this page comes from