Skip to content

Commit

Permalink
Update single_command_cli.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chenpx976 authored Aug 1, 2023
1 parent 1f9f1f6 commit 83b5d73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/single_command_cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Sometimes you may want your CLI's executable to also be the only command, simila
To support this, you will need to put your command logic into `src/index.ts` and add the following to the oclif section of your package.json:

```json
oclif: {
default: ".",
commands: "./dist"
"oclif": {
"default": ".",
"commands": "./dist"
}
```

0 comments on commit 83b5d73

Please sign in to comment.