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
varadditionalHelpAboutAuthentication=`Authentication is done using a json file issued by Google. You get this json file by creating a "Service Account Key", which if you do not have a service account, requires you to first create a service account.
13
+
14
+
Creating both an account and a key is explaining here: https://developers.google.com/identity/protocols/oauth2/service-account#creatinganaccount
15
+
16
+
You may have to enable Google Drive API access when using it for the first time. The error message(s) should provide a direct link to enabling access.
17
+
18
+
Make sure to share the sheet with the 'client_email' assigned to your service account.
varadditionalHelp=`Authentication is done using a json file issued by Google. You get this json file by creating a "Service Account Key", which if you do not have a service account, requires you to first create a service account.
24
-
25
-
Creating both an account and a key is explaining here: https://developers.google.com/identity/protocols/oauth2/service-account#creatinganaccount
26
-
27
-
You may have to enable Google Drive API access when using it for the first time. The error message(s) should provide a direct link to enabling access.
33
+
funcnewTranslationsListCommand() *cobra.Command {
34
+
varcredentialsstring
35
+
varcmd=&cobra.Command{
36
+
Use: "list",
37
+
Short: "List google sheets",
38
+
Long: additionalHelpAboutAuthentication,
39
+
Example: " lane translations list -c google-api.json",
Authentication is done using a json file issued by Google. You get this json file by creating a "Service Account Key", which if you do not have a service account, requires you to first create a service account.
8
+
9
+
Creating both an account and a key is explaining here: https://developers.google.com/identity/protocols/oauth2/service-account#creatinganaccount
10
+
11
+
You may have to enable Google Drive API access when using it for the first time. The error message(s) should provide a direct link to enabling access.
12
+
13
+
Make sure to share the sheet with the 'client_email' assigned to your service account.
14
+
15
+
16
+
```
17
+
lane translations list [flags]
18
+
```
19
+
20
+
### Examples
21
+
22
+
```
23
+
lane translations list -c google-api.json
24
+
```
25
+
26
+
### Options
27
+
28
+
```
29
+
-c, --credentials string A path to the credentials json file issued by Google (Required).
0 commit comments