Skip to content

Commit 3905b15

Browse files
authored
docs: fix typo in README (#1050)
1 parent ea1d496 commit 3905b15

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ clasp
8181
- [`clasp pull [--versionNumber]`](#pull)
8282
- [`clasp push [--watch] [--force]`](#push)
8383
- [`clasp show-file-status [--json]`](#status)
84-
- [`clasp open-script](#open)
84+
- [`clasp open-script`](#open)
8585
- [`clasp list-deployments`](#deployments)
8686
- [`clasp create-deployment [--versionNumber <version>] [--description <description>] [--deploymentId <id>]`](#deploy)
8787
- [`clasp delete-deployment [deploymentId] [--all]`](#undeploy)
@@ -97,7 +97,7 @@ clasp
9797
- [`clasp list-apis`](#apis)
9898
- [`clasp enable-api<api>`](#apis)
9999
- [`clasp disable-api <api>`](#apis)
100-
- [`clasp run-function [function]`](#clas-run)
100+
- [`clasp run-function [function]`](#clasp-run)
101101

102102
## Guides
103103

@@ -143,15 +143,15 @@ Most command require user authorization. Run `clasp login` to authorize access t
143143

144144
#### Multiple user support
145145

146-
Use the global `--user` option to switch between accounts. THis support both running clasp as different users as well as when invoking the `clasp run-function` command.
146+
Use the global `--user` option to switch between accounts. This supports both running clasp as different users as well as when invoking the `clasp run-function` command.
147147

148148
Examples:
149149

150150
```sh
151151
clasp login # Saves as default credentials
152152
clasp clone # User not specified, runs using default credentials
153153
clasp login --user testaccount # Authorized new named credentials
154-
claso run-function --user testaccount myFunction # Runs function as test account
154+
clasp run-function --user testaccount myFunction # Runs function as test account
155155
```
156156

157157
### Bring your own project/credentials
@@ -160,9 +160,9 @@ While clasp includes a default OAuth client, using your own project is recommend
160160

161161
1. [Create a new project](https://cloud.google.com/resource-manager/docs/creating-managing-projects) in the Google Cloud Developer Console.
162162
1. [Create an OAuth client](https://support.google.com/cloud/answer/15549257?hl=en#:~:text=To%20create%20an%20OAuth%202.0,are%20yet%20to%20do%20so.). The client type must be `Desktop Application`. Download and save the generated client secrets file. This is required when authorizing using the`clasp login --creds <filename>` command.
163-
1. [Enable services](https://cloud.google.com/endpoints/docs/openapi/enable-api). For full functionaliy, clasp requires the following:
164-
* Apps SCript API - `script.googleapis.com` (required)
165-
* Service Usage API - `serviceusage.googleapis.com` (require to list/enable/disable APIs)
163+
1. [Enable services](https://cloud.google.com/endpoints/docs/openapi/enable-api). For full functionality, clasp requires the following:
164+
* Apps Script API - `script.googleapis.com` (required)
165+
* Service Usage API - `serviceusage.googleapis.com` (required to list/enable/disable APIs)
166166
* Google Drive API - `drive.googleapis.com` (required to list scripts, create container-bound scripts)
167167
- Cloud Logging API - `logging.googleapis.com` (required to read logs)
168168

@@ -191,7 +191,7 @@ If your organization restricts authorization for third-party apps, you may eithe
191191

192192
### Service accounts
193193

194-
Use the `--adc` option on any command to read credentials from the environemtn using Google Cloud's [application default credentials](https://cloud.google.com/docs/authentication/application-default-credentials) mechanism.
194+
Use the `--adc` option on any command to read credentials from the environment using Google Cloud's [application default credentials](https://cloud.google.com/docs/authentication/application-default-credentials) mechanism.
195195

196196
Note that if using a service account, service accounts can not own scripts. To use a service account to push or pull files from Apps Script, the scripts must be shared with the service account with the appropriate role (e.g. `Editor` in able to push.)
197197

0 commit comments

Comments
 (0)