From 6ab61153cf493036d44d5b13e826328398077b3f Mon Sep 17 00:00:00 2001 From: Andrew Rosca Date: Tue, 2 Jul 2024 09:27:00 -0500 Subject: [PATCH] fix: add missing file path flag to instructions --- src/core/errors/context-error.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/errors/context-error.ts b/src/core/errors/context-error.ts index b5114e3903d..4ab4f9d5265 100644 --- a/src/core/errors/context-error.ts +++ b/src/core/errors/context-error.ts @@ -1,5 +1,5 @@ export const NO_CONTEXTS_SAVED = `These are your options to specify in the CLI what AsyncAPI file should be used: - - You can provide a path to the AsyncAPI file: asyncapi path/to/file/asyncapi.yml + - You can provide a path to the AsyncAPI file: asyncapi -f path/to/file/asyncapi.yml - You can provide URL to the AsyncAPI file: asyncapi https://example.com/path/to/file/asyncapi.yml - You can also pass a saved context that points to your AsyncAPI file: asyncapi context-name - In case you did not specify a context that you want to use, the CLI checks if there is a default context and uses it. To set default context run: asyncapi config context use mycontext