Skip to content

Commit

Permalink
📝 Improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
CryogenicPlanet committed Jan 14, 2022
1 parent 7427510 commit 3b04a57
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
20 changes: 12 additions & 8 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,27 @@ tsdev create {name}


```
tsdev --help
tsdev --help
NAME:
tsdev - Zero config modern typescript tooling
USAGE:
tsdev [global options] command [command options] Run a .ts file with zero config directly
COMMANDS:
create Create a new application
dev This run the app in dev mode with file watching
build This builds the app for production.
prettier Will run pretty-quick
lint Will lint the application
help, h Shows a list of commands or help for one command
create Create a new application
dev This run the app in dev mode with file watching
build This builds the app for production.
dts Emit .d.ts files and bundle them
prettier Will run pretty-quick, prettify all staged files
lint Will lint the application
version, v Version of cli
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--watch Run in watch mode (default: false)
--watch Run in watch mode (default: false)
--version, -v (default: false)
--help, -h show help (default: false)
```

## Templates
Expand Down
4 changes: 2 additions & 2 deletions cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ func SetupCliApp() (cli.App, error) {
},
{
Name: "dts",
Usage: "Emit .d.ts files for package",
Usage: "Emit .d.ts files and bundle them",
Action: func(c *cli.Context) error {
return commands.RunDts()
},
},
{
Name: "prettier",
Usage: "Will run pretty-quick",
Usage: "Will run pretty-quick, prettify all staged files",
Flags: []cli.Flag{
&cli.BoolFlag{
Name: "all",
Expand Down

0 comments on commit 3b04a57

Please sign in to comment.