未验证 提交 8daba6ca 编写于 作者: J Joe Previte

feat: add home as a cli option

上级 1dd7e4b4
......@@ -56,6 +56,7 @@ export interface Args extends VsArgs {
"new-window"?: boolean
link?: OptionalString
home?: string
}
interface Option<T> {
......@@ -198,6 +199,10 @@ const options: Options<Required<Args>> = {
`,
beta: true,
},
home: {
type: "string",
description: "Set a custom link for the 'Go Home' button in the Application Menu",
},
}
export const optionDescriptions = (): string[] => {
......
......@@ -86,6 +86,7 @@ describe("parser", () => {
"extra-extensions-dir": [path.resolve("nozzle")],
help: true,
host: "0.0.0.0",
home: "https://localhost:8080/",
json: true,
log: "error",
open: true,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册