From 83b5d73c26930469058f67331505a27ca993e570 Mon Sep 17 00:00:00 2001 From: color Date: Tue, 1 Aug 2023 14:09:56 +0800 Subject: [PATCH] Update single_command_cli.md --- docs/single_command_cli.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/single_command_cli.md b/docs/single_command_cli.md index 4c511579..57e06b45 100644 --- a/docs/single_command_cli.md +++ b/docs/single_command_cli.md @@ -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" } ```