@cardstack/cli
Command line tools for Cardstack.
Last updated 5 hours ago by alexspeller .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @cardstack/cli 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.14.38-patch.0                                ...           latest (5 hours ago)

47 Versions

  • 0.14.38-patch.0                                ...           5 hours ago
  • 0.14.24-patch.1                                ...           7 days ago
  • 0.14.49                                ...           4 months ago
  • 0.14.48                                ...           4 months ago
  • 0.14.47                                ...           5 months ago
  • 0.14.46                                ...           5 months ago
  • 0.14.45                                ...           5 months ago
  • 0.14.43                                ...           5 months ago
  • 0.14.42                                ...           5 months ago
  • 0.14.41                                ...           5 months ago
  • 0.14.40                                ...           5 months ago
  • 0.14.39                                ...           5 months ago
  • 0.14.38                                ...           5 months ago
  • 0.14.37                                ...           5 months ago
  • 0.14.36                                ...           5 months ago
  • 0.14.35                                ...           5 months ago
  • 0.14.34                                ...           5 months ago
  • 0.14.33                                ...           5 months ago
  • 0.14.32                                ...           5 months ago
  • 0.14.31                                ...           5 months ago
  • 0.14.30                                ...           5 months ago
  • 0.14.29                                ...           5 months ago
  • 0.14.28                                ...           5 months ago
  • 0.14.27                                ...           5 months ago
  • 0.14.26                                ...           6 months ago
  • 0.14.25                                ...           6 months ago
  • 0.14.24                                ...           6 months ago
  • 0.14.24-alpha.0                                ...           6 months ago
  • 0.14.23                                ...           7 months ago
  • 0.14.22                                ...           7 months ago
  • 0.14.21                                ...           9 months ago
  • 0.14.20                                ...           9 months ago
  • 0.14.18                                ...           9 months ago
  • 0.14.17                                ...           9 months ago
  • 0.14.16                                ...           10 months ago
  • 0.14.13                                ...           10 months ago
  • 0.14.11                                ...           10 months ago
  • 0.14.10                                ...           10 months ago
  • 0.14.9                                ...           10 months ago
  • 0.14.8                                ...           10 months ago
  • 0.14.7                                ...           10 months ago
  • 0.14.6                                ...           10 months ago
  • 0.14.5                                ...           10 months ago
  • 0.14.4                                ...           10 months ago
  • 0.14.3                                ...           10 months ago
  • 0.14.2                                ...           10 months ago
  • 0.14.0                                ...           10 months ago
Downloads
Today 14
This Week 14
This Month 33
Last Day 0
Last Week 17
Last Month 45
Dependencies (16)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |