@tscircuit/cli

0.0.87 • Public • Published

tsci - The TSCircuit Command Line Tool

Command line tool for developing tscircuit projects and interacting with the tscircuit registry.

Installation

npm install -g @tscircuit/cli

Usage

The tsci CLI is interactive by default. You can specify the -y or any fully- qualified with all required arguments to skip the interactive mode.

# Interactively choose a command and options:
tsci

# Login
tsci login

# Create a Project
tsci init

# Develop a Project (preview, export, and edit circuit files in browser)
tsci dev

# Manage Dependencies
tsci install
tsci add some-package
tsci remove some-package

# Publish a Project
tsci publish

Developing

This project is developed with bun, make sure you have that installed.

Run bun bootstrap to install dependencies and bun cli.ts to run test the cli in development.

To run tests, run bun test

If you want to test developing, run bun dev and visit http://localhost:5173. The project being loaded is inside tests/assets/example-project

Features Coming Soon

Package Sidebar

Install

npm i @tscircuit/cli

Weekly Downloads

856

Version

0.0.87

License

ISC

Unpacked Size

3.92 MB

Total Files

172

Last publish

Collaborators

  • seveibar