diff --git a/README.md b/README.md index ca2773de..628d78ce 100644 --- a/README.md +++ b/README.md @@ -4,21 +4,18 @@ See documentation [here](doc/00-overview.md) ``` yaml use-extension: - "@autorest/modelerfour": "~4.1.60" + #"@autorest/cli.common": "/home/qiaozha/code/autorest.cli.common/" "az": "$(this-folder)" pipeline-model: v3 pipeline: - modelerfour: - input: openapi-document/multi-api/identity - az/generate: - plugin: az - input: modelerfour + az: + input: cli.common output-artifact: source-file-cli az/emitter: - input: generate + input: az scope: scope-here scope-here: diff --git a/src/index.ts b/src/index.ts index 34839eea..3fa6e08e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -26,7 +26,7 @@ extension.Add("az", async autoRestApi => { autoRestApi.Message({ Channel: Channel.Warning, - Text: "Hello World! The `debug` flag is " + (isDebugFlagSet ? "set" : "not set"), + Text: "Hello World az! The `debug` flag is " + (isDebugFlagSet ? "set" : "not set"), }); autoRestApi.Message({ @@ -41,7 +41,7 @@ extension.Add("az", async autoRestApi => { // emit a file (all input files concatenated) - autoRestApi.WriteFile("myfolder/concat.txt", inputFiles.join("\n---\n")); + autoRestApi.WriteFile("myfolder/concataz.txt", inputFiles.join("\n---\n")); } catch (e) {