From 0d808d8ac5cdd3a83c54e31ae232b993f630604b Mon Sep 17 00:00:00 2001 From: ItshMoh Date: Mon, 30 Sep 2024 22:31:32 +0530 Subject: [PATCH] added the start command short description --- docs/usage.md | 3 +++ package-lock.json | 38 +++++++++++++++++++++---------------- src/commands/start/index.ts | 2 +- 3 files changed, 26 insertions(+), 17 deletions(-) diff --git a/docs/usage.md b/docs/usage.md index 3a1ddf96022..6dfdb8d0f39 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -712,6 +712,9 @@ _See code: [src/commands/optimize.ts](https://github.com/asyncapi/cli/blob/v2.4. ``` USAGE $ asyncapi start + +DESCRIPTION + main command for starting asyncapi services, currently studio only ``` _See code: [src/commands/start/index.ts](https://github.com/asyncapi/cli/blob/v2.4.1/src/commands/start/index.ts)_ diff --git a/package-lock.json b/package-lock.json index d8b2f8a2a59..c3be061a521 100644 --- a/package-lock.json +++ b/package-lock.json @@ -536,8 +536,11 @@ } }, "node_modules/@asyncapi/minimaltemplate": { - "resolved": "test/fixtures/minimaltemplate", - "link": true + "resolved": "file:test/fixtures/minimaltemplate", + "dev": true, + "dependencies": { + "@asyncapi/generator-react-sdk": "^1.1.2" + } }, "node_modules/@asyncapi/modelina": { "version": "3.7.0", @@ -736,8 +739,11 @@ } }, "node_modules/@asyncapi/newtemplate": { - "resolved": "test/fixtures/newtemplate", - "link": true + "resolved": "file:test/fixtures/newtemplate", + "dev": true, + "dependencies": { + "@asyncapi/generator-react-sdk": "^1.1.1" + } }, "node_modules/@asyncapi/nunjucks-filters": { "version": "2.1.0", @@ -3694,6 +3700,18 @@ "sisteransi": "^1.0.5" } }, + "node_modules/@clack/prompts/node_modules/is-unicode-supported": { + "version": "1.3.0", + "extraneous": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", "license": "MIT", @@ -25708,18 +25726,6 @@ "optional": true } } - }, - "test/fixtures/minimaltemplate": { - "dev": true, - "dependencies": { - "@asyncapi/generator-react-sdk": "^1.1.2" - } - }, - "test/fixtures/newtemplate": { - "dev": true, - "dependencies": { - "@asyncapi/generator-react-sdk": "^1.1.1" - } } } } diff --git a/src/commands/start/index.ts b/src/commands/start/index.ts index 8c75ce39b69..0fdc6802c49 100644 --- a/src/commands/start/index.ts +++ b/src/commands/start/index.ts @@ -2,7 +2,7 @@ import Command from '../../core/base'; import { Help } from '@oclif/core'; export default class Start extends Command { - static description = ''; + static description = 'Start asyncapi-related services, currently studio only'; async run() { const help = new Help(this.config); help.showHelp(['start', '--help']);