forked from withfig/autocomplete
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Brendan Falk
committed
May 12, 2021
1 parent
4bbddae
commit fc73ff8
Showing
14 changed files
with
423 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,15 @@ | ||
--- | ||
--- | ||
blank_issues_enabled: true | ||
contact_links: | ||
- | ||
about: "Create a new issue in the withfig/fig repo to be directed to the right place" | ||
contact_links: | ||
- about: "Create a new issue in the withfig/fig repo to be directed to the right place" | ||
name: Not an autocomplete issue? | ||
url: "https://github.com/withfig/fig/issues/new/choose" | ||
- | ||
about: "Fig's support knowledge base" | ||
- about: "Fig's support knowledge base" | ||
name: "💬 Forum" | ||
url: "https://forum.withfig.com" | ||
- | ||
about: "Get instant support from the Fig Community Slack" | ||
- about: "Get instant support from the Fig Community Slack" | ||
name: "👋 Slack" | ||
url: "https://waitlist.withfig.com/waitlist" | ||
- | ||
about: "Get support from the Fig team at [email protected]" | ||
- about: "Get support from the Fig team at [email protected]" | ||
name: "📩 Email" | ||
url: "https://tinyurl.com/y4m9zqlw" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,30 @@ | ||
// To learn more about Fig's autocomplete standard visit: https://withfig.com/docs/autocomplete/building-a-spec#building-your-first-autocomplete-spec | ||
// To learn more about Fig's autocomplete standard visit: https://fig.io/docs/autocomplete/building-a-spec#building-your-first-autocomplete-spec | ||
// The below is a dummy example for git. Make sure to change the file name! | ||
var completionSpec = { | ||
name: "trigger", | ||
description: "The stupid content tracker", | ||
subcommands: [ | ||
name: "trigger", | ||
description: "The stupid content tracker", | ||
subcommands: [ | ||
{ | ||
name: "checkout", | ||
description: "Switch branches or restore working tree files", | ||
// If a subcommand or option takes an argument, you must include the args prop, even if it's an empty object (like below) | ||
// If you want to build custom suggestions for arguments check out: https://fig.io/docs/autocomplete/building-a-spec#making-advanced-suggestions | ||
args: {}, | ||
options: [ | ||
{ | ||
name: "checkout", | ||
description: "Switch branches or restore working tree files", | ||
// If a subcommand or option takes an argument, you must include the args prop, even if it's an empty object (like below) | ||
// If you want to build custom suggestions for arguments check out: https://withfig.com/docs/autocomplete/building-a-spec#making-advanced-suggestions | ||
args: {}, | ||
options: [ | ||
{ | ||
name: ["-b"], | ||
description: "create and checkout a new branch", | ||
args: { | ||
name: "branch", | ||
}, | ||
}, | ||
], | ||
name: ["-b"], | ||
description: "create and checkout a new branch", | ||
args: { | ||
name: "branch", | ||
}, | ||
}, | ||
], | ||
options: [ | ||
{ | ||
name: ["-v", "--version"], | ||
description: "View your current git version", | ||
}, | ||
], | ||
], | ||
}, | ||
], | ||
options: [ | ||
{ | ||
name: ["-v", "--version"], | ||
description: "View your current git version", | ||
}, | ||
], | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,30 @@ | ||
// To learn more about Fig's autocomplete standard visit: https://withfig.com/docs/autocomplete/building-a-spec#building-your-first-autocomplete-spec | ||
// To learn more about Fig's autocomplete standard visit: https://fig.io/docs/autocomplete/building-a-spec#building-your-first-autocomplete-spec | ||
// The below is a dummy example for git. Make sure to change the file name! | ||
var completionSpec = { | ||
name: "trigger", | ||
description: "The stupid content tracker", | ||
subcommands: [ | ||
name: "trigger", | ||
description: "The stupid content tracker", | ||
subcommands: [ | ||
{ | ||
name: "checkout", | ||
description: "Switch branches or restore working tree files", | ||
// If a subcommand or option takes an argument, you must include the args prop, even if it's an empty object (like below) | ||
// If you want to build custom suggestions for arguments check out: https://fig.io/docs/autocomplete/building-a-spec#making-advanced-suggestions | ||
args: {}, | ||
options: [ | ||
{ | ||
name: "checkout", | ||
description: "Switch branches or restore working tree files", | ||
// If a subcommand or option takes an argument, you must include the args prop, even if it's an empty object (like below) | ||
// If you want to build custom suggestions for arguments check out: https://withfig.com/docs/autocomplete/building-a-spec#making-advanced-suggestions | ||
args: {}, | ||
options: [ | ||
{ | ||
name: ["-b"], | ||
description: "create and checkout a new branch", | ||
args: { | ||
name: "branch", | ||
}, | ||
}, | ||
], | ||
name: ["-b"], | ||
description: "create and checkout a new branch", | ||
args: { | ||
name: "branch", | ||
}, | ||
}, | ||
], | ||
options: [ | ||
{ | ||
name: ["-v", "--version"], | ||
description: "View your current git version", | ||
}, | ||
], | ||
], | ||
}, | ||
], | ||
options: [ | ||
{ | ||
name: ["-v", "--version"], | ||
description: "View your current git version", | ||
}, | ||
], | ||
}; | ||
|
Oops, something went wrong.