Skip to content
/ cli Public
forked from tscircuit/cli

Frontend Dev Tool & Command line interface for developing circuits with tscircuit

Notifications You must be signed in to change notification settings

ni9999/cli

 
 

Repository files navigation

tsci - The TSCircuit Command Line & Development Tools

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 install to install dependencies and bun cli/cli.ts to run test the cli in development, or bun run dev to run the dev server.

To run tests, run bun test

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

image

Features Coming Soon

About

Frontend Dev Tool & Command line interface for developing circuits with tscircuit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.5%
  • Other 1.5%