Skip to content

Commit

Permalink
Merge pull request withfig#198 from herrherrmann/sherrmann/brew-outdated
Browse files Browse the repository at this point in the history
[BREW] Add outdated command
  • Loading branch information
cstrnt authored May 22, 2021
2 parents 06d0925 + 47b987d commit 4fdb470
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion dev/brew.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,42 @@ export const completionSpec: Fig.Spec = {
name: "update",
description: "Fetch the newest version of Homebrew and all formulae",
},
{
name: "outdated",
description:
"List installed casks and formulae that have an updated version available",
options: [
{
name: ["-d", "--debug"],
description: "Display any debugging information.",
},
{
name: ["-q", "--quiet"],
description: "List only the names of outdated kegs.",
},
{
name: ["-v", "--verbose"],
description: "Include detailed version information.",
},
{
name: ["-h", "--help"],
description: "Show help message for the outdated command.",
},
{ name: "--cask", description: "List only outdated casks." },
{
name: "--fetch-HEAD",
description:
"Fetch the upstream repository to detect if the HEAD installation of the formula is outdated.",
},
{ name: "--formula", description: "List only outdated formulae." },
{
name: "--greedy",
description:
"Print outdated casks with auto_updates or version :latest.",
},
{ name: "--json", description: "Print output in JSON format." },
],
},
{ name: "upgrade", description: "Upgrade outdated casks and outdated" },
{
name: "search",
Expand Down Expand Up @@ -72,7 +108,6 @@ export const completionSpec: Fig.Spec = {
},
},
},

{
name: "uninstall",
description: "Uninstall <formula>",
Expand Down

0 comments on commit 4fdb470

Please sign in to comment.