1 | _______ ___ ____ __ ____ .__ __.
|
2 | | \ / \ \ \ / \ / / | \ | |
|
3 | | .--. | / ^ \ \ \/ \/ / | \| |
|
4 | | | | | / /_\ \ \ / | . ` |
|
5 | | '--' | / _____ \ \ /\ / | |\ |
|
6 | |_______/ /__/ \__\ \__/ \__/ |__| \__|
|
7 |
|
8 | Usage: dn <command> [options] [args]
|
9 |
|
10 | Commands:
|
11 | i, init Initialize a dawn project
|
12 | a, add Adding project resources
|
13 | d, dev Start dev server and build in real-time
|
14 | t, test Perform static code checking and testing
|
15 | b, build Build current project
|
16 | p, publish Publish current project to target environment
|
17 | r, run Run a command
|
18 | u, update Update remote configs and dependent modules
|
19 | c, config Configure the preferences
|
20 | template Display template list
|
21 | middleware Display middleware list
|
22 |
|
23 | Options:
|
24 | -t, --template Specify the template name for the init command
|
25 | -e, --env Specify environment variables for all commands
|
26 | -v, --version Display the current version of CLI
|
27 | -h, --help Display cli help information
|
28 |
|
29 | Examples:
|
30 |
|
31 | # Create a project
|
32 | mkdir demo && cd demo
|
33 | dn init
|
34 |
|
35 | # Build a project
|
36 | dn build
|