Archived
1
0

feat: add home as a cli option

This commit is contained in:
Joe Previte 2020-12-09 12:20:56 -07:00
parent 1dd7e4b4e1
commit 8daba6ca80
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24
2 changed files with 6 additions and 0 deletions

View File

@ -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[] => {

View File

@ -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,