| cargo-shuttle(1) | General Commands Manual | cargo-shuttle(1) |
نام (NAME)
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)
CLI for the Shuttle platform (https://www.shuttle.dev/)
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
- --debug
- Turn on tracing output for Shuttle libraries. (WARNING: can print sensitive data)
- --output <OUTPUT_MODE> [default: normal]
- What format to print output in
[possible values: normal, json]
- --working-directory <WORKING_DIRECTORY> [default: .]
- --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 - Generate a Shuttle project from a template
خلاصه دستور (SYNOPSIS)
init [-t|--template] [--from] [--subfolder] [--force-name] [--create-project] [--no-git] [--prompt] [--api-key] [-h|--help] [PATH]
توضیحات (DESCRIPTION)
Generate a Shuttle project from a template
گزینهها (OPTIONS)
- -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 a project locally
خلاصه دستور (SYNOPSIS)
run [-p|--port] [--external] [--raw] [--secrets] [-r|--release] [--bacon] [-h|--help]
توضیحات (DESCRIPTION)
Run a project locally
گزینهها (OPTIONS)
- -p, --port <PORT> [default: 8000]
- Port to start service on
- --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 a project
خلاصه دستور (SYNOPSIS)
build [--output-archive] [-r|--release] [--bacon] [-h|--help]
توضیحات (DESCRIPTION)
Build a project
گزینهها (OPTIONS)
- --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 a project
خلاصه دستور (SYNOPSIS)
deploy [--allow-dirty] [--output-archive] [--no-follow] [--raw] [--secrets] [-h|--help]
توضیحات (DESCRIPTION)
Deploy a project
گزینهها (OPTIONS)
- --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 - Manage deployments
خلاصه دستور (SYNOPSIS)
deployment [-h|--help] <subcommands>
توضیحات (DESCRIPTION)
Manage deployments
گزینهها (OPTIONS)
- -h, --help
- Print help
SUBCOMMANDS
- 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)
list - List the deployments for a service
خلاصه دستور (SYNOPSIS)
list [--page] [--limit] [--raw] [-h|--help]
توضیحات (DESCRIPTION)
List the deployments for a service
گزینهها (OPTIONS)
- --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
- --raw
- Output tables without borders
نام (NAME)
status - View status of a deployment
خلاصه دستور (SYNOPSIS)
status [-h|--help] [DEPLOYMENT_ID]
توضیحات (DESCRIPTION)
View status of a deployment
گزینهها (OPTIONS)
- -h, --help
- Print help
- [DEPLOYMENT_ID]
- ID of deployment to get status for
نام (NAME)
redeploy - Redeploy a previous deployment (if possible)
خلاصه دستور (SYNOPSIS)
redeploy [--no-follow] [--raw] [-h|--help] [DEPLOYMENT_ID]
توضیحات (DESCRIPTION)
Redeploy a previous deployment (if possible)
گزینهها (OPTIONS)
- --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)
stop - Stop running deployment(s)
خلاصه دستور (SYNOPSIS)
stop [--no-follow] [--raw] [-h|--help]
توضیحات (DESCRIPTION)
Stop running deployment(s)
گزینهها (OPTIONS)
- --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 - View build and deployment logs
خلاصه دستور (SYNOPSIS)
logs [-l|--latest] [--raw] [-h|--help] [DEPLOYMENT_ID]
توضیحات (DESCRIPTION)
View build and deployment logs
گزینهها (OPTIONS)
- -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 - Manage Shuttle projects
خلاصه دستور (SYNOPSIS)
project [-h|--help] <subcommands>
توضیحات (DESCRIPTION)
Manage Shuttle projects
گزینهها (OPTIONS)
- -h, --help
- Print help
SUBCOMMANDS
- 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)
create - Create a project on Shuttle
خلاصه دستور (SYNOPSIS)
create [-h|--help]
توضیحات (DESCRIPTION)
Create a project on Shuttle
گزینهها (OPTIONS)
- -h, --help
- Print help
نام (NAME)
update - Update project config
خلاصه دستور (SYNOPSIS)
update [-h|--help] <subcommands>
توضیحات (DESCRIPTION)
Update project config
گزینهها (OPTIONS)
- -h, --help
- Print help
نام (NAME)
status - Get the status of this project on Shuttle
خلاصه دستور (SYNOPSIS)
status [-h|--help]
توضیحات (DESCRIPTION)
Get the status of this project on Shuttle
گزینهها (OPTIONS)
- -h, --help
- Print help
نام (NAME)
list - List all projects you have access to
خلاصه دستور (SYNOPSIS)
list [--raw] [-h|--help]
توضیحات (DESCRIPTION)
List all projects you have access to
گزینهها (OPTIONS)
- -h, --help
- Print help
TABLE OPTIONS
- --raw
- Output tables without borders
نام (NAME)
delete - Delete a project and all linked data
خلاصه دستور (SYNOPSIS)
delete [-y|--yes] [-h|--help]
توضیحات (DESCRIPTION)
Delete a project and all linked data
گزینهها (OPTIONS)
- -y, --yes
- Skip confirmations and proceed
- -h, --help
- Print help
نام (NAME)
link - Link this workspace to a Shuttle project
خلاصه دستور (SYNOPSIS)
link [-h|--help]
توضیحات (DESCRIPTION)
Link this workspace to a Shuttle project
گزینهها (OPTIONS)
- -h, --help
- Print help
نام (NAME)
resource - Manage resources
خلاصه دستور (SYNOPSIS)
resource [-h|--help] <subcommands>
توضیحات (DESCRIPTION)
Manage resources
گزینهها (OPTIONS)
- -h, --help
- Print help
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)
List the resources for a project
گزینهها (OPTIONS)
- --show-secrets
- Show secrets from resources (e.g. a password in a connection string)
- -h, --help
- Print help
TABLE OPTIONS
- --raw
- Output tables without borders
نام (NAME)
delete - Delete a resource
خلاصه دستور (SYNOPSIS)
delete [-y|--yes] [-h|--help] <RESOURCE_TYPE>
توضیحات (DESCRIPTION)
Delete a resource
گزینهها (OPTIONS)
- -y, --yes
- Skip confirmations and proceed
- -h, --help
- Print help
- <RESOURCE_TYPE>
- Type of the resource to delete. Use the string in the 'Type' column as displayed in the `resource list` command. For example, 'database::shared::postgres'
نام (NAME)
dump - Dump a resource
خلاصه دستور (SYNOPSIS)
dump [-h|--help] <RESOURCE_TYPE>
توضیحات (DESCRIPTION)
Dump a resource
گزینهها (OPTIONS)
- -h, --help
- Print help
- <RESOURCE_TYPE>
- Type of the resource to dump. Use the string in the 'Type' column as displayed in the `resource list` command. For example, 'database::shared::postgres'
نام (NAME)
certificate - Manage SSL certificates for custom domains
خلاصه دستور (SYNOPSIS)
certificate [-h|--help] <subcommands>
توضیحات (DESCRIPTION)
Manage SSL certificates for custom domains
گزینهها (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)
Add an SSL certificate for a custom domain
گزینهها (OPTIONS)
- -h, --help
- Print help
- <DOMAIN>
- Domain name
نام (NAME)
list - List the certificates for a project
خلاصه دستور (SYNOPSIS)
list [--raw] [-h|--help]
توضیحات (DESCRIPTION)
List the certificates for a project
گزینهها (OPTIONS)
- -h, --help
- Print help
TABLE OPTIONS
- --raw
- Output tables without borders
نام (NAME)
delete - Delete an SSL certificate
خلاصه دستور (SYNOPSIS)
delete [-y|--yes] [-h|--help] <DOMAIN>
توضیحات (DESCRIPTION)
Delete an SSL certificate
گزینهها (OPTIONS)
- -y, --yes
- Skip confirmations and proceed
- -h, --help
- Print help
- <DOMAIN>
- Domain name
نام (NAME)
account - Show info about your Shuttle account
خلاصه دستور (SYNOPSIS)
account [-h|--help]
توضیحات (DESCRIPTION)
Show info about your Shuttle account
گزینهها (OPTIONS)
- -h, --help
- Print help
نام (NAME)
login - Log in to the Shuttle platform
خلاصه دستور (SYNOPSIS)
login [--prompt] [--api-key] [-h|--help]
توضیحات (DESCRIPTION)
Log in to the Shuttle platform
گزینهها (OPTIONS)
- -h, --help
- Print help
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)
logout - Log out of the Shuttle platform
خلاصه دستور (SYNOPSIS)
logout [--reset-api-key] [-h|--help]
توضیحات (DESCRIPTION)
Log out of the Shuttle platform
گزینهها (OPTIONS)
- --reset-api-key
- Reset the API key before logging out
- -h, --help
- Print help
نام (NAME)
generate - Generate shell completions and man page
خلاصه دستور (SYNOPSIS)
generate [-h|--help] <subcommands>
توضیحات (DESCRIPTION)
Generate shell completions and man page
گزینهها (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)
Generate shell completions
گزینهها (OPTIONS)
- -o, --output-file <OUTPUT_FILE>
- Output to a file (stdout by default)
- -h, --help
- Print help
- <SHELL>
- The shell to generate shell completion for
[possible values: bash, elvish, fish, powershell, zsh]
نام (NAME)
manpage - Generate man page to the standard output
خلاصه دستور (SYNOPSIS)
manpage [-h|--help]
توضیحات (DESCRIPTION)
Generate man page to the standard output
گزینهها (OPTIONS)
- -h, --help
- Print help
نام (NAME)
feedback - Open an issue on GitHub and provide feedback
خلاصه دستور (SYNOPSIS)
feedback [-h|--help]
توضیحات (DESCRIPTION)
Open an issue on GitHub and provide feedback
گزینهها (OPTIONS)
- -h, --help
- Print help
نام (NAME)
upgrade - Upgrade the Shuttle CLI binary
خلاصه دستور (SYNOPSIS)
upgrade [--preview] [-h|--help]
توضیحات (DESCRIPTION)
Upgrade the Shuttle CLI binary
گزینهها (OPTIONS)
- --preview
- Install an unreleased version from the repository's main branch
- -h, --help
- Print help
نام (NAME)
mcp - Commands for the Shuttle MCP server
خلاصه دستور (SYNOPSIS)
mcp [-h|--help] <subcommands>
توضیحات (DESCRIPTION)
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)
Start the Shuttle MCP server
گزینهها (OPTIONS)
- -h, --help
- Print help
| cargo-shuttle 0.57.3 |