mirror of
https://github.com/nvms/esr.git
synced 2025-12-13 06:10:52 +00:00
fix init
This commit is contained in:
parent
e717902414
commit
9ec632ec2d
@ -19,7 +19,7 @@ For the minimalist. For the developer who misses the old web. For the developer
|
||||
|
||||
```bash
|
||||
# In an empty directory
|
||||
$ esr --init
|
||||
$ esr init
|
||||
$ esr --serve src/index.ts
|
||||
esr :: Serving on http://localhost:1234
|
||||
```
|
||||
|
||||
@ -13,5 +13,5 @@ func Die(format string, v ...interface{}) {
|
||||
|
||||
func ShowHelpMessage() {
|
||||
fmt.Println(`Usage:
|
||||
esr [--config <path>] [--serve] [--build] [--watch] <entrypoint>`)
|
||||
esr [init] [--config <path>] [--serve] [--build] [--watch] <entrypoint>`)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user