diff --git a/modelina-cli/README.md b/modelina-cli/README.md index 384742a4c2..973cb67bb1 100644 --- a/modelina-cli/README.md +++ b/modelina-cli/README.md @@ -19,18 +19,25 @@ # Table of contents -* [Table of contents](#table-of-contents) -* [Installation](#installation) -* [Download latest release](#download-latest-release) -* [Install it](#install-it) -* [Download latest release](#download-latest-release-1) -* [Install it](#install-it-1) -* [Download](#download) -* [Install](#install) -* [Download](#download-1) -* [Install](#install-1) -* [Usage](#usage) -* [Commands](#commands) + +- [Installation](#installation) + * [MacOS](#macos) + * [Windows](#windows) + * [Linux](#linux) + * [Others](#others) +- [Usage](#usage) +- [Commands](#commands) + * [`modelina config`](#modelina-config) + * [`modelina config context`](#modelina-config-context) + * [`modelina config context add CONTEXT-NAME SPEC-FILE-PATH`](#modelina-config-context-add-context-name-spec-file-path) + * [`modelina config context current`](#modelina-config-context-current) + * [`modelina config context edit CONTEXT-NAME NEW-SPEC-FILE-PATH`](#modelina-config-context-edit-context-name-new-spec-file-path) + * [`modelina config context init [CONTEXT-FILE-PATH]`](#modelina-config-context-init-context-file-path) + * [`modelina config context list`](#modelina-config-context-list) + * [`modelina config context remove CONTEXT-NAME`](#modelina-config-context-remove-context-name) + * [`modelina config context use CONTEXT-NAME`](#modelina-config-context-use-context-name) + * [`modelina generate LANGUAGE FILE`](#modelina-generate-language-file) + # Installation @@ -163,7 +170,7 @@ $ npm install -g @asyncapi/modelina-cli $ modelina COMMAND running command... $ modelina (--version) -@asyncapi/modelina-cli/4.0.0-next.27 darwin-x64 node-v18.19.0 +@asyncapi/modelina-cli/4.0.0-next.27 linux-x64 node-v18.20.2 $ modelina --help [COMMAND] USAGE $ modelina COMMAND @@ -223,7 +230,7 @@ USAGE ARGUMENTS CONTEXT-NAME context name - SPEC-FILE-PATH file path of the input document + SPEC-FILE-PATH file path of the spec file FLAGS -h, --help Show CLI help. @@ -262,7 +269,7 @@ USAGE ARGUMENTS CONTEXT-NAME context name - NEW-SPEC-FILE-PATH new file path of the input + NEW-SPEC-FILE-PATH file path of the spec file FLAGS -h, --help Show CLI help. diff --git a/modelina-cli/package-lock.json b/modelina-cli/package-lock.json index fc1a4b7f12..ddc559894f 100644 --- a/modelina-cli/package-lock.json +++ b/modelina-cli/package-lock.json @@ -1,12 +1,12 @@ { "name": "@asyncapi/modelina-cli", - "version": "4.0.0-next.27", + "version": "4.0.0-next.28", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@asyncapi/modelina-cli", - "version": "4.0.0-next.27", + "version": "4.0.0-next.28", "license": "Apache-2.0", "dependencies": { "@asyncapi/modelina": "file:scripts/modelina-package/asyncapi-modelina.tgz", @@ -187,8 +187,7 @@ "node_modules/@asyncapi/modelina": { "version": "4.0.0-next.27", "resolved": "file:scripts/modelina-package/asyncapi-modelina.tgz", - "integrity": "sha512-Oimw6ZiDFQtdadMSeOfinTXeVk+QQ5Af7NdldnwkoVDSIr6iLR/MKvcwJjOJ/YK4PphanQTEHAXFTPJrECrolw==", - "license": "Apache-2.0", + "integrity": "sha512-u+jw4eWYQwy9Sq1ILeIkh+IAGpPEZYhua065friBQ3ZdS+M07e9pi3ATx71QUrHmjDNFVJxz4PpTOjH1T0wx5w==", "dependencies": { "@apidevtools/json-schema-ref-parser": "^11.1.0", "@apidevtools/swagger-parser": "^10.1.0", diff --git a/modelina-cli/package.json b/modelina-cli/package.json index 6b9eb33c3d..d5c5ae67a0 100644 --- a/modelina-cli/package.json +++ b/modelina-cli/package.json @@ -1,7 +1,7 @@ { "name": "@asyncapi/modelina-cli", "description": "CLI to work with Modelina", - "version": "4.0.0-next.27", + "version": "4.0.0-next.28", "bin": { "modelina": "./bin/run" }, diff --git a/package-lock.json b/package-lock.json index 73c1a4d6cc..84ecd521c9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@asyncapi/modelina", - "version": "4.0.0-next.27", + "version": "4.0.0-next.28", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@asyncapi/modelina", - "version": "4.0.0-next.27", + "version": "4.0.0-next.28", "license": "Apache-2.0", "dependencies": { "@apidevtools/json-schema-ref-parser": "^11.1.0", diff --git a/package.json b/package.json index f069cd8dc5..830c31b187 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@asyncapi/modelina", - "version": "4.0.0-next.27", + "version": "4.0.0-next.28", "description": "Library for generating data models based on inputs such as AsyncAPI, OpenAPI, or JSON Schema documents", "license": "Apache-2.0", "homepage": "https://www.modelina.org",