Skip to content

Commit fc73ff8

Browse files
author
Brendan Falk
committed
changed withfig.com to fig.io
1 parent 4bbddae commit fc73ff8

File tree

14 files changed

+423
-215
lines changed

14 files changed

+423
-215
lines changed

.github/ISSUE_TEMPLATE/bug.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ labels: "Bug"
88
Please fill out each section below, otherwise, your issue will be closed. This info allows Fig maintainers to diagnose (and fix!) your issue as quickly as possible.
99
1010
Useful Links:
11-
- Documentation: https://withfig.com/docs/autocomplete/getting-started
11+
- Documentation: https://fig.io/docs/autocomplete/getting-started
1212
1313
Before opening a new issue, please search existing issues: https://github.com/withfig/autocomplete/issues
1414
-->
@@ -35,11 +35,11 @@ What happened.
3535

3636
### System Information
3737

38-
*Fig Version:*
38+
_Fig Version:_
3939

40-
*OS:*
40+
_OS:_
4141

42-
*Device:*
42+
_Device:_
4343

4444
### Potential Solution
4545

.github/ISSUE_TEMPLATE/config.yml

+6-10
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
1-
---
1+
---
22
blank_issues_enabled: true
3-
contact_links:
4-
-
5-
about: "Create a new issue in the withfig/fig repo to be directed to the right place"
3+
contact_links:
4+
- about: "Create a new issue in the withfig/fig repo to be directed to the right place"
65
name: Not an autocomplete issue?
76
url: "https://github.com/withfig/fig/issues/new/choose"
8-
-
9-
about: "Fig's support knowledge base"
7+
- about: "Fig's support knowledge base"
108
name: "💬 Forum"
119
url: "https://forum.withfig.com"
12-
-
13-
about: "Get instant support from the Fig Community Slack"
10+
- about: "Get instant support from the Fig Community Slack"
1411
name: "👋 Slack"
1512
url: "https://waitlist.withfig.com/waitlist"
16-
-
17-
about: "Get support from the Fig team at [email protected]"
13+
- about: "Get support from the Fig team at [email protected]"
1814
name: "📩 Email"
1915
url: "https://tinyurl.com/y4m9zqlw"

.github/workflows/update-docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
2222
curl https://docs-generator.cstrnt.workers.dev/ > autocomplete/api.md
2323
24-
git config user.email "hello@withfig.com"
24+
git config user.email "hello@fig.io"
2525
git config user.name "Figbot"
2626
2727
git add autocomplete/api.md

CODE_OF_CONDUCT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ This Code of Conduct applies within all project spaces, and it also applies when
3232

3333
## Enforcement
3434

35-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at hello@withfig.com. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
35+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at hello@fig.io. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
3636

3737
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project’s leadership.
3838

CONTRIBUTING.md

+6-9
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ We want to make contributing to Fig as easy and transparent as possible, whether
99
- Submitting feature requests
1010

1111
- Contributing content or feature changes
12-
1312

1413
## Our repos
1514

@@ -19,18 +18,19 @@ Here are some of our primary repos.
1918

2019
[withfig/fig](https://github.com/withfig/fig): The central repo. All issues taken here.
2120

22-
[withfig/autocomplete](https://github.com/withfig/autocomplete): Collection of all specs for [autocomplete](https://docs.withfig.com/autocomplete). Contribute new specs and update old specs here.
21+
[withfig/autocomplete](https://github.com/withfig/autocomplete): Collection of all specs for [autocomplete](https://fig.io/docs/autocomplete). Contribute new specs and update old specs here.
2322

2423
[withfig/config](https://github.com/withfig/config): Fig's default configuration at install. Contains apps, installation, and update scripts.
2524

2625
## Contributing your own spec
2726

28-
The [autocomplete docs](https://docs.withfig.com/autocomplete) should get you up to speed on how to write a spec and serve as a good reference.
27+
The [autocomplete docs](https://fig.io/docs/autocomplete) should get you up to speed on how to write a spec and serve as a good reference.
2928

3029
A few things to keep in mind when writing your spec:
30+
3131
- Ensure that the argument field is filled for subcommands and options when an argument is required.
3232
- Make sure all generators are written with valid JavaScript.
33-
- [Test your spec](https://docs.withfig.com/autocomplete#testing-your-completion-spec) before submitting a pull request.
33+
- [Test your spec](https://fig.io/docs/autocomplete#testing-your-completion-spec) before submitting a pull request.
3434

3535
**Git Commit Messages**
3636

@@ -39,19 +39,16 @@ A few things to keep in mind when writing your spec:
3939
- Limit the first line to 72 characters or less
4040
- Reference issues and pull requests liberally after the first line
4141

42-
4342
## Bug reports and feature requests
4443

4544
We use GitHub issues to track public bugs as well as new feature requests. If you have any input, [open a new issue](https://github.com/withfig/fig)! Note that all issues should be filed under the [withfig/fig](https://github.com/withfig/fig) repo, not under independent feature repos.
4645

47-
4846
## License
4947

5048
By contributing, you agree that your contributions will be licensed under its MIT License.
5149

52-
5350
## Questions and support
5451

55-
For product support, visit our [docs](https://withfig.com/docs) and join the [Fig Community](https://figcommunity.slack.com/join/shared_invite/zt-fupa9n8g-sfHm8MyBn1DBaCj8SoIxSA#/) for instant support and discussion.
52+
For product support, visit our [docs](https://fig.io/docs) and join the [Fig Community](https://figcommunity.slack.com/join/shared_invite/zt-fupa9n8g-sfHm8MyBn1DBaCj8SoIxSA#/) for instant support and discussion.
5653

57-
Any unanswered questions or inquiries? We're always open to chat at hello@withfig.com.
54+
Any unanswered questions or inquiries? We're always open to chat at hello@fig.io.

dangerfile-invite.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ schedule(async () => {
1515
const inviteMarkdown = `
1616
@${username} Hey! Thanks so much for your contribution!
1717
18-
As a token of our appreciation, we've invited you to join the Fig GitHub organization. Accepting means you can display Fig's logo on your Github profile's list of member orgs. We also have a special #contributors channel in our [community Slack](https://withfig.com/community) and we'd love for you to join.
18+
As a token of our appreciation, we've invited you to join the Fig GitHub organization. Accepting means you can display Fig's logo on your Github profile's list of member orgs. We also have a special #contributors channel in our [community Slack](https://fig.io/community) and we'd love for you to join.
1919
2020
Excited to have you in the community!
2121

dev/mask.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// To learn more about FIg's autocomplete standard visit: https://withfig.com/docs/autocomplete/building-a-spec#building-your-first-autocomplete-spec
1+
// To learn more about FIg's autocomplete standard visit: https://fig.io/docs/autocomplete/building-a-spec#building-your-first-autocomplete-spec
22
// var executeShellCommand: Fig.ExecuteShellCommandFunction;
33

44
// The below is a dummy example for git. Make sure to change the file name!

dev/php.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// To learn more about Fig's autocomplete standard visit: https://withfig.com/docs/autocomplete/building-a-spec#building-your-first-autocomplete-spec
1+
// To learn more about Fig's autocomplete standard visit: https://fig.io/docs/autocomplete/building-a-spec#building-your-first-autocomplete-spec
22

33
// The below is a dummy example for git. Make sure to change the file name!
44
export const completion: Fig.Spec = {

schemas/fig.d.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ declare namespace Fig {
6969
/**
7070
* The icon that is rendered is based on the type, unless overwritten. Icon
7171
* can be a 1 character string, a URL, or Fig's icon protocol (fig://) which lets you generate
72-
* colorful and fun systems icons: https://withfig.com/docs/autocomplete/reference/icon-api
72+
* colorful and fun systems icons: https://fig.io/docs/autocomplete/reference/icon-api
7373
*
7474
* @example
7575
* `A`, `😊`
@@ -174,7 +174,7 @@ declare namespace Fig {
174174
*
175175
* If your CLI tool takes another CLI command (e.g. time , builtin... ) or a script
176176
* (e.g. python, node) and you would like Fig to continue to provide completions for this
177-
* script, see `isCommand` and `isScript` in {@link {https://withfig.com/docs/autocomplete/api#arg-object | Arg}.
177+
* script, see `isCommand` and `isScript` in {@link {https://fig.io/docs/autocomplete/api#arg-object | Arg}.
178178
*/
179179
loadSpec?: string;
180180
/**
@@ -342,7 +342,7 @@ declare namespace Fig {
342342
*
343343
* @example
344344
* `python` take one argument which is a `.py` file. If I have a `main.py` file on my desktop and my current working directory is my desktop, if I type `python main.py` Fig will look for a completion spec in `~/Desktop/.fig/main.py.js`
345-
* See our docs for more on this {@link https://withfig.com/docs/autocomplete/autocomplete-for-teams | Fig for Teams}
345+
* See our docs for more on this {@link https://fig.io/docs/autocomplete/autocomplete-for-teams | Fig for Teams}
346346
*/
347347
isScript?: boolean;
348348

@@ -363,7 +363,7 @@ declare namespace Fig {
363363
}
364364

365365
/**
366-
* @see https://withfig.com/docs/autocomplete/api#generator-object
366+
* @see https://fig.io/docs/autocomplete/api#generator-object
367367
*/
368368
export interface Generator {
369369
/**

scripts/create-example.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ else
3232
## Using quotes around EOF will remove expansions
3333
# https://superuser.com/questions/1436906/need-to-expand-a-variable-in-a-heredoc-that-is-in-quotes
3434
cat <<EOF >> "$(pwd)/dev/$USER_INPUT_CLI_TOOL.ts"
35-
// To learn more about Fig's autocomplete standard visit: https://withfig.com/docs/autocomplete/building-a-spec#building-your-first-autocomplete-spec
35+
// To learn more about Fig's autocomplete standard visit: https://fig.io/docs/autocomplete/building-a-spec#building-your-first-autocomplete-spec
3636
3737
// The below is a dummy example for git. Make sure to change the file name!
3838
export const completion: Fig.Spec = {
@@ -44,7 +44,7 @@ export const completion: Fig.Spec = {
4444
description: "Switch branches or restore working tree files",
4545
4646
// If a subcommand or option takes an argument, you must include the args prop, even if it's an empty object (like below)
47-
// If you want to build custom suggestions for arguments check out: https://withfig.com/docs/autocomplete/building-a-spec#making-advanced-suggestions
47+
// If you want to build custom suggestions for arguments check out: https://fig.io/docs/autocomplete/building-a-spec#making-advanced-suggestions
4848
args: {},
4949
options: [
5050
{

specs/_examples/trigger.js

+25-26
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,30 @@
1-
// To learn more about Fig's autocomplete standard visit: https://withfig.com/docs/autocomplete/building-a-spec#building-your-first-autocomplete-spec
1+
// To learn more about Fig's autocomplete standard visit: https://fig.io/docs/autocomplete/building-a-spec#building-your-first-autocomplete-spec
22
// The below is a dummy example for git. Make sure to change the file name!
33
var completionSpec = {
4-
name: "trigger",
5-
description: "The stupid content tracker",
6-
subcommands: [
4+
name: "trigger",
5+
description: "The stupid content tracker",
6+
subcommands: [
7+
{
8+
name: "checkout",
9+
description: "Switch branches or restore working tree files",
10+
// If a subcommand or option takes an argument, you must include the args prop, even if it's an empty object (like below)
11+
// If you want to build custom suggestions for arguments check out: https://fig.io/docs/autocomplete/building-a-spec#making-advanced-suggestions
12+
args: {},
13+
options: [
714
{
8-
name: "checkout",
9-
description: "Switch branches or restore working tree files",
10-
// If a subcommand or option takes an argument, you must include the args prop, even if it's an empty object (like below)
11-
// If you want to build custom suggestions for arguments check out: https://withfig.com/docs/autocomplete/building-a-spec#making-advanced-suggestions
12-
args: {},
13-
options: [
14-
{
15-
name: ["-b"],
16-
description: "create and checkout a new branch",
17-
args: {
18-
name: "branch",
19-
},
20-
},
21-
],
15+
name: ["-b"],
16+
description: "create and checkout a new branch",
17+
args: {
18+
name: "branch",
19+
},
2220
},
23-
],
24-
options: [
25-
{
26-
name: ["-v", "--version"],
27-
description: "View your current git version",
28-
},
29-
],
21+
],
22+
},
23+
],
24+
options: [
25+
{
26+
name: ["-v", "--version"],
27+
description: "View your current git version",
28+
},
29+
],
3030
};
31-

specs/examples/trigger.js

+25-26
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,30 @@
1-
// To learn more about Fig's autocomplete standard visit: https://withfig.com/docs/autocomplete/building-a-spec#building-your-first-autocomplete-spec
1+
// To learn more about Fig's autocomplete standard visit: https://fig.io/docs/autocomplete/building-a-spec#building-your-first-autocomplete-spec
22
// The below is a dummy example for git. Make sure to change the file name!
33
var completionSpec = {
4-
name: "trigger",
5-
description: "The stupid content tracker",
6-
subcommands: [
4+
name: "trigger",
5+
description: "The stupid content tracker",
6+
subcommands: [
7+
{
8+
name: "checkout",
9+
description: "Switch branches or restore working tree files",
10+
// If a subcommand or option takes an argument, you must include the args prop, even if it's an empty object (like below)
11+
// If you want to build custom suggestions for arguments check out: https://fig.io/docs/autocomplete/building-a-spec#making-advanced-suggestions
12+
args: {},
13+
options: [
714
{
8-
name: "checkout",
9-
description: "Switch branches or restore working tree files",
10-
// If a subcommand or option takes an argument, you must include the args prop, even if it's an empty object (like below)
11-
// If you want to build custom suggestions for arguments check out: https://withfig.com/docs/autocomplete/building-a-spec#making-advanced-suggestions
12-
args: {},
13-
options: [
14-
{
15-
name: ["-b"],
16-
description: "create and checkout a new branch",
17-
args: {
18-
name: "branch",
19-
},
20-
},
21-
],
15+
name: ["-b"],
16+
description: "create and checkout a new branch",
17+
args: {
18+
name: "branch",
19+
},
2220
},
23-
],
24-
options: [
25-
{
26-
name: ["-v", "--version"],
27-
description: "View your current git version",
28-
},
29-
],
21+
],
22+
},
23+
],
24+
options: [
25+
{
26+
name: ["-v", "--version"],
27+
description: "View your current git version",
28+
},
29+
],
3030
};
31-

0 commit comments

Comments
 (0)