JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 15
  • Score
    100M100P100Q65631F
  • License SEE LICENSE IN LICENSE.md

Package Exports

  • toystack
  • toystack/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (toystack) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Toystack CLI

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:

toystack

or

npx toystack

This 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 deploy

or

npx toystack deploy

toystack 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 login

or

npx toystack login

toystack ls – List Repositories

Lists all the repositories that you have access to on the Toystack platform.

toystack ls

or

npx toystack ls

toystack deploy <repository-name> <branch-name> – Deploy Project

Deploy any repository that is active on the Toystack platform.

  • repository-name is the name of the repository you want to deploy (case sensitive).
  • branch-name is 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 logout

or

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! 🚀