Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions src/go.ts
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,14 @@ const completionSpec: Fig.Spec = {
name: "-v",
description: "Print information about removed modules",
},
{
name: "-o",
description:
'Create the vendor directory at the given path instead of "vendor". The go command can only use a vendor directory named "vendor" within the module root directory, so this flag is primarily useful for other tools',
args: {
name: "outdir",
},
},
],
},
{
Expand Down Expand Up @@ -800,6 +808,30 @@ const completionSpec: Fig.Spec = {
isVariadic: true,
},
},
{
name: "vendor",
description:
"Construct a directory named vendor in the workspace's root directory",
options: [
{
name: "-e",
description:
"Attempt to proceed despite errors encountered while loading packages",
},
{
name: "-v",
description: "Print information about removed modules",
},
{
name: "-o",
description:
'Create the vendor directory at the given path instead of "vendor". The go command can only use a vendor directory named "vendor" within the module root directory, so this flag is primarily useful for other tools',
args: {
name: "outdir",
},
},
],
},
],
},
{
Expand Down
Loading