toystack
v1.0.12
Published

Maintainers
Readme
Toystack CLI

A powerful and intuitive command-line interface for seamlessly interacting with the Toystack platform — your modern cloud deployment solution.
Visit Toystack.ai to learn more.
📥 Installation
Install the Toystack CLI globally via npm:
npm install -g toystack⚙️ Usage
Run the following command to view available options:
toystackor
npx toystackThis will list all the available commands, including login, deploy, ls, and logout.
🚀 Commands
toystack deploy – Deploy Without Login
For React and Astro.js projects, you can deploy without logging in. This will deploy the project to the Toystack platform.
toystack deployor
npx toystack deploytoystack login – Login to Toystack
Authenticate using your Toystack account. This will provide a link for logging in. Once logged in, you can use other commands.
toystack loginor
npx toystack logintoystack ls – List Repositories
Lists all the repositories that you have access to on the Toystack platform.
toystack lsor
npx toystack lstoystack deploy <repository-name> <branch-name> – Deploy Project
Deploy any repository that is active on the Toystack platform.
repository-nameis the name of the repository you want to deploy (case sensitive).branch-nameis the branch you want to deploy (case sensitive).
If not provided, it defaults to the repository and branch of the current directory.
toystack deploy <repository-name> <branch-name>or
npx toystack deploy <repository-name> <branch-name>toystack logout – Log Out
Log out from your Toystack account.
toystack logoutor
npx toystack logout🛠️ Additional Information
- Ensure that you are in a directory with an active Git repository when using deployment commands.
- For help with any command, use
toystack <command> --help.
Happy deploying with Toystack! 🚀
