New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cardstack/cli

Package Overview
Dependencies
Maintainers
5
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cardstack/cli

Command line tools for Cardstack.

  • 0.14.38-patch.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by150%
Maintainers
5
Weekly downloads
 
Created
Source

Cardstack CLI

The Cardstack CLI is a work-in-progress project to create a smooth quickstart experience for new developers and a straightforward way to use the Card SDK. It handles tasks like creating new Cards, starting the Hub, installing dependencies, and generating code from templates.

Under the hood, the CLI uses Embroider for the build and yargs to manage user inputs.

Using the CLI

To run the CLI:

yarn compile --watch
node ./bin/cardstack.js <command>

To see a list of commands:

yarn compile --watch
node ./bin/cardstack.js --help

Apps are served from localhost:4200.

Contributing to the CLI

The CLI codebase uses TypeScript, so make sure you always have a compiler running while you work:

yarn compile --watch

To disable rebuilds of the Ember App as you make changes:

CARDSTACK_DEV=true node ./bin/cardstack.js start

To view the built app, follow the path printed in the console by Embroider.

WIP: Current Quickstart Example for while we're developing this

Launching hub from inside the blueprint (you need a local embroider checkout that is built (yarn compile) and available for yarn linking):

  • cd packages/cardhost
  • yarn link @embroider/core @embroider/compat @embroider/webpack
  • ember s

Loading the first-card example:

  • cd packages/cli
  • node ./bin/cardstack.js load -c ./node-tests/sample-cards/first-card -d ../cardhost

Keywords

FAQs

Package last updated on 30 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc