feat: add home as a cli option
This commit is contained in:
parent
1dd7e4b4e1
commit
8daba6ca80
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue