DeployX CLI
DeployX is the Upblit command-line tool for Git-based deployments. It wraps common Git workflows into simple, memorable commands.
Installation
Build from Source
cd Upblit/UpblitCLI
go build -o deployx .Move the binary to your PATH:
# macOS / Linux
mv deployx /usr/local/bin/deployx
# Windows
# Move deployx.exe to a directory in your PATHCommands
deployx init <git-repo-url>
Initializes a Git repository and pushes to a remote for the first time.
deployx init https://github.com/your-org/your-repo.gitThis runs:
git initgit remote add origin <url>git add .git commit -m "DeployX live deploy"git branch -M maingit push -u origin main
deployx push
Commits all changes and force-pushes to the current remote.
deployx pushThis runs:
git add .git commit -m "DeployX live deploy"git push --force
deployx --help
Displays usage information.
deployx --helpExample Workflow
# First deployment
cd my-project
deployx init https://github.com/acme/my-project.git
# Subsequent deployments
deployx pushPlanned Commands
The following commands are referenced in the Upblit dashboard but not yet implemented:
| Command | Description |
|---|---|
deployx live | Live deployment status |
deployx deploy --env prod | Deploy to a specific environment |
deployx logs --project <name> | Stream logs for a project |
deployx rollback --to <version> | Roll back to a previous version |
Notes
- DeployX currently wraps Git commands only — it does not directly call the Upblit API
- The
--forceflag ondeployx pushoverwrites remote history — use with caution on shared branches - All output goes to stdout; errors go to stderr
Last updated on