From ab90d4ef2f589897a2cde466339ce43e9f5682f5 Mon Sep 17 00:00:00 2001 From: Kris De Volder Date: Wed, 26 Jul 2017 10:58:02 -0700 Subject: [PATCH] Add bosh cli confiuration keys to package.json --- vscode-extensions/vscode-bosh/package.json | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/vscode-extensions/vscode-bosh/package.json b/vscode-extensions/vscode-bosh/package.json index 35ddf7045..63cff108d 100644 --- a/vscode-extensions/vscode-bosh/package.json +++ b/vscode-extensions/vscode-bosh/package.json @@ -44,7 +44,23 @@ "scopeName": "source.yaml", "path": "./yaml-support/yaml.tmLanguage" } - ] + ], + "configuration": { + "type": "object", + "title": "Bosh CLI Configuration", + "properties": { + "bosh.cli.command": { + "type": ["string" , "null"], + "default": "bosh", + "description": "Path to an executable to launch the bosh cli V2. A V2 cli is required! Set this to null to completely disable all editor features that require access to the bosh director" + }, + "bosh.cli.director": { + "type": ["string", "null"], + "default": null, + "description": "Specifies the director to target when executing bosh cli commands. I.e. this value is passed to the CLI via `-e` parameter." + } + } + } }, "main": "./out/lib/Main", "scripts": {