dahlia-cli
TypeScript icon, indicating that this package has built-in type declarations

1.4.8 • Public • Published

dahlia-cli

CLI tool for Dahlia

Installation

$ yarn global add dahlia-cli

Usage

$ dh new my-app
$ cd my-app
$ dh start

Commands

dh help

CLI tool for Dahlia
 
VERSION
  dahlia-cli/1.0.0 darwin-x64 node-v10.9.0
 
USAGE
  $ dahlia [COMMAND]
 
COMMANDS
  build     Build project for production
  dev       Run a dev server for development
  eject     Expose all configurations to customize
  generate  Generate page/component/store...
  help      display help for dahlia
  new       Create a new Dahlia app
  test      Runs unit tests in project

dh new

Create a new Dahlia app

USAGE
  $ dahlia new [APPNAME]

ALIASES
  $ dahlia n

EXAMPLE
  $ dh new my-app

dh generate

Generate page/component/store...

USAGE
  $ dahlia generate [TYPE] [NAME]

ALIASES
  $ dahlia g

EXAMPLES
  $ dh generate page Home
  $ dh generate component Header
  $ dh generate store todoStore

dh start

Run a dev server for development

USAGE
  $ dahlia dev

ALIASES
  $ dahlia d

EXAMPLE
  $ dh start

dh test

Runs unit tests in project

USAGE
  $ dahlia test

ALIASES
  $ dahlia t

EXAMPLE
  $ dh test

dh build

Build project for production

USAGE
  $ dahlia build

ALIASES
  $ dahlia b

EXAMPLE
  $ dh build

Readme

Keywords

Package Sidebar

Install

npm i dahlia-cli

Weekly Downloads

3

Version

1.4.8

License

MIT

Unpacked Size

76.8 kB

Total Files

112

Last publish

Collaborators

  • forsigner