websim-cli
v0.1.5
Published
CLI tool for uploading files to Websim projects
Readme
websim-cli
CLI tool for working with Websim projects.
Installation
npm install -g websim-cliQuick Start
- Login:
websim-cli login- Clone a project:
websim-cli clone <project-id>- Navigate to the project and open in Cursor:
cd <project-name>
cursor .- Make your changes, then sync them back to websim:
websim-cli syncThat's it! The project ID is automatically saved when you clone, so you don't need to specify it again when syncing from the project directory.
Project Configuration
When you clone a project, a .websim.json file is automatically created in the project directory. This file stores the project ID and allows you to run subsequent sync commands without specifying the project ID. The file is automatically added to .gitignore to prevent it from being committed.
