dahlia-cli
v1.4.8
Published
CLI tool for Dahlia
Readme
dahlia-cli
CLI tool for Dahlia
Installation
$ yarn global add dahlia-cliUsage
$ dh new my-app
$ cd my-app
$ dh startCommands
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 projectdh new
Create a new Dahlia app
USAGE
$ dahlia new [APPNAME]
ALIASES
$ dahlia n
EXAMPLE
$ dh new my-appdh 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 todoStoredh start
Run a dev server for development
USAGE
$ dahlia dev
ALIASES
$ dahlia d
EXAMPLE
$ dh startdh test
Runs unit tests in project
USAGE
$ dahlia test
ALIASES
$ dahlia t
EXAMPLE
$ dh testdh build
Build project for production
USAGE
$ dahlia build
ALIASES
$ dahlia b
EXAMPLE
$ dh build