You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your changes to the command code may make changes to [the command reference documents](./documentation/commands) — it is up to you whether you include those changes in your PR or if you let the release process take care of it. More information on that can be found in [`MAINTAINERS.md`](./MAINTAINERS.md).
28
28
29
+
## ReadMe Development 🦉
30
+
31
+
If you're a ReadMe team member that's testing `rdme` against a non-production ReadMe environment, you can either set the `RDME_LOCALHOST=true` environment variable (which points your CLI to the localhost version of ReadMe) or modify the URLs in `src/lib/config.ts` directly.
32
+
29
33
## Running GitHub Actions Locally 🐳
30
34
31
35
To run GitHub Actions locally, we'll be using [`act`](https://github.com/nektos/act) (make sure to read their [prerequisites list](https://github.com/nektos/act#necessary-prerequisites-for-running-act) and have that ready to go before installing `act`)!
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,11 +114,11 @@ For local CLI usage with a single project, you can authenticate `rdme` to your R
114
114
> [!WARNING]
115
115
> For security reasons, we strongly recommend providing a project API key via the `--key` option in automations or CI environments (GitHub Actions, CircleCI, Travis CI, etc.). It's also recommended if you're working with multiple ReadMe projects to avoid accidentally overwriting existing data.
116
116
117
-
You can also pass in your API key via environmental variable. Here is the order of precedence when passing your API key into `rdme`:
117
+
You can also pass in your API key via environment variable. Here is the order of precedence when passing your API key into `rdme`:
118
118
119
119
1. The `--key` option. If that isn't present, we look for...
120
-
1. The `RDME_API_KEY`environmental variable. If that isn't present, we look for...
121
-
1. The `README_API_KEY`environmental variable. If that isn't present, we look for...
120
+
1. The `RDME_API_KEY`environment variable. If that isn't present, we look for...
121
+
1. The `README_API_KEY`environment variable. If that isn't present, we look for...
122
122
1. The API key value stored in your local configuration file (i.e., the one set via `rdme login`)
123
123
124
124
`rdme whoami` is also available to you to determine who is logged in, and to what project. You can clear your stored credentials with `rdme logout`.
@@ -133,7 +133,7 @@ To set this up, check out [1Password's documentation on the ReadMe shell plugin]
133
133
134
134
## Proxy
135
135
136
-
`rdme` makes API requests to the ReadMe API, which is located at [dash.readme.com](https://dash.readme.com). If you need to configure a proxy for these requests, you can do so by setting the `HTTPS_PROXY`environmental variable.
136
+
`rdme` makes API requests to the ReadMe API, which is located at [dash.readme.com](https://dash.readme.com). If you need to configure a proxy for these requests, you can do so by setting the `HTTPS_PROXY`environment variable.
Copy file name to clipboardExpand all lines: __tests__/commands/openapi/__snapshots__/validate.test.ts.snap
+14-3Lines changed: 14 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ jobs:
65
65
"
66
66
`;
67
67
68
-
exports[`rdme openapi validate > GHA onboarding E2E tests > should create GHA workflow if user passes in spec via opt (including workingDirectory) 1`] =`
68
+
exports[`rdme openapi validate > GHA onboarding E2E tests > should create GHA workflow if user passes in spec via opt (including working directory) 1`] =`
69
69
{
70
70
"result": "
71
71
Your GitHub Actions workflow file has been created! ✨
@@ -88,7 +88,7 @@ Almost done! Push your newly created file (.github/workflows/validate-test-opt-s
88
88
}
89
89
`;
90
90
91
-
exports[`rdme openapi validate > GHA onboarding E2E tests > should create GHA workflow if user passes in spec via opt (including workingDirectory) 2`] =`
91
+
exports[`rdme openapi validate > GHA onboarding E2E tests > should create GHA workflow if user passes in spec via opt (including working directory) 2`] =`
92
92
"# This GitHub Actions workflow was auto-generated by the \`rdme\` cli on 2022-01-01T00:00:00.000Z
93
93
# You can view our full documentation here: https://docs.readme.com/docs/rdme
0 commit comments