Skip to content

Commit

Permalink
Merge branch 'master' into mschrage/aws
Browse files Browse the repository at this point in the history
  • Loading branch information
mschrage committed May 23, 2021
2 parents e9dbf55 + a862bf9 commit 00706b3
Show file tree
Hide file tree
Showing 19 changed files with 4,940 additions and 5,418 deletions.
24 changes: 0 additions & 24 deletions dev/a.ts

This file was deleted.

32 changes: 0 additions & 32 deletions dev/aaa.ts

This file was deleted.

6 changes: 0 additions & 6 deletions dev/abc.ts

This file was deleted.

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
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"version": "1.0.0",
"description": "Fig Autocomplete Spec Linter",
"scripts": {
"dev": "source scripts/dev.sh",
"dev": "\"$npm_execpath\" run build && source scripts/dev.sh",
"postinstall" : "\"$npm_execpath\" run build",
"test": "tsc --noEmit && echo 'All specs passed validation. You are ready to push!'",
"copy": "func() { mkdir -p ~/.fig/autocomplete/$(dirname ${1}.js); cp \"$(pwd)\"/specs/${1}.js ~/.fig/autocomplete/${1}.js; }; func",
"copy:all": "rsync -a --include '*/' --include '*.js' --exclude '*' $(pwd)/specs/ ~/.fig/autocomplete/",
Expand Down
2 changes: 1 addition & 1 deletion scripts/dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ echo
echo "1. Edit your spec(s) in the $(tput bold)dev/$(tput sgr0) directory";
echo "2. On save, they will compile to the local $(tput bold)specs/$(tput sgr0) directory";
echo "3. Test your changes $(tput bold)instantly$(tput sgr0) in your terminal";
echo "3. When done, hit $(tput bold)ctrl + c$(tput sgr0) to exit";
echo "4. When done, hit $(tput bold)ctrl + c$(tput sgr0) to exit";
echo;

DISABLE_DEV_MODE() {
Expand Down
24 changes: 0 additions & 24 deletions specs/a.js

This file was deleted.

30 changes: 0 additions & 30 deletions specs/aaa.js

This file was deleted.

6 changes: 0 additions & 6 deletions specs/abc.js

This file was deleted.

Loading

0 comments on commit 00706b3

Please sign in to comment.