Skip to content

Commit

Permalink
Fix profile link in help message
Browse files Browse the repository at this point in the history
  • Loading branch information
yarlson committed Oct 4, 2023
1 parent 4ee9533 commit 957f4cd
Show file tree
Hide file tree
Showing 108 changed files with 131 additions and 317 deletions.
5 changes: 3 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

const (
Version = "2.6.8"
Version = "2.6.11"
DefaultPageLimit = 5000
)

Expand Down Expand Up @@ -51,6 +51,7 @@ var rootCmd = &cobra.Command{

return err
},
DisableAutoGenTag: true,
}

// Execute adds all child commands to the root command and sets flags appropriately.
Expand All @@ -75,7 +76,7 @@ func init() {
cobra.OnInitialize(parseConfig)

rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is ./config.yml)")
rootCmd.PersistentFlags().StringVarP(&Token, "token", "t", "", "API token. You can create API tokens at https://lokalise.com/profile.")
rootCmd.PersistentFlags().StringVarP(&Token, "token", "t", "", "API token. You can create API tokens at https://app.lokalise.com/profile.")

// binding
_ = viper.BindPFlag("token", rootCmd.PersistentFlags().Lookup("token"))
Expand Down
9 changes: 2 additions & 7 deletions docs/lokalise2.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
## lokalise2

Lokalise CLI v2.6.8. Read the docs at https://github.com/lokalise/lokalise-cli-2-go

### Synopsis

Lokalise CLI v2.6.8. Read the docs at https://github.com/lokalise/lokalise-cli-2-go
Lokalise CLI v2.6.10. Read the docs at https://github.com/lokalise/lokalise-cli-2-go

### Options

```
--config string config file (default is ./config.yml)
-h, --help help for lokalise2
-t, --token string API token. You can create API tokens at https://lokalise.com/profile.
-t, --token string API token. You can create API tokens at https://app.lokalise.com/profile.
```

### SEE ALSO
Expand All @@ -37,4 +33,3 @@ Lokalise CLI v2.6.8. Read the docs at https://github.com/lokalise/lokalise-cli-2
* [lokalise2 translation-status](lokalise2_translation-status.md) - Manage custom translation statuses
* [lokalise2 webhook](lokalise2_webhook.md) - Manage webhooks

###### Auto generated by spf13/cobra on 21-Oct-2021
9 changes: 2 additions & 7 deletions docs/lokalise2_branch.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

Manage branches

### Synopsis

Manage branches

### Options

```
Expand All @@ -17,14 +13,13 @@ Manage branches

```
--config string config file (default is ./config.yml)
-t, --token string API token. You can create API tokens at https://lokalise.com/profile.
-t, --token string API token. You can create API tokens at https://app.lokalise.com/profile.
```

### SEE ALSO

* [lokalise2](lokalise2.md) - Lokalise CLI v2.6.8. Read the docs at https://github.com/lokalise/lokalise-cli-2-go
* [lokalise2](lokalise2.md) - Lokalise CLI v2.6.10. Read the docs at https://github.com/lokalise/lokalise-cli-2-go
* [lokalise2 branch create](lokalise2_branch_create.md) - Create a branch
* [lokalise2 branch delete](lokalise2_branch_delete.md) - Delete a branch
* [lokalise2 branch list](lokalise2_branch_list.md) - List all branches

###### Auto generated by spf13/cobra on 21-Oct-2021
3 changes: 1 addition & 2 deletions docs/lokalise2_branch_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ lokalise2 branch create [flags]
```
--config string config file (default is ./config.yml)
--project-id string Unique project identifier (required).
-t, --token string API token. You can create API tokens at https://lokalise.com/profile.
-t, --token string API token. You can create API tokens at https://app.lokalise.com/profile.
```

### SEE ALSO

* [lokalise2 branch](lokalise2_branch.md) - Manage branches

###### Auto generated by spf13/cobra on 21-Oct-2021
3 changes: 1 addition & 2 deletions docs/lokalise2_branch_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ lokalise2 branch delete [flags]
```
--config string config file (default is ./config.yml)
--project-id string Unique project identifier (required).
-t, --token string API token. You can create API tokens at https://lokalise.com/profile.
-t, --token string API token. You can create API tokens at https://app.lokalise.com/profile.
```

### SEE ALSO

* [lokalise2 branch](lokalise2_branch.md) - Manage branches

###### Auto generated by spf13/cobra on 21-Oct-2021
3 changes: 1 addition & 2 deletions docs/lokalise2_branch_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ lokalise2 branch list [flags]
```
--config string config file (default is ./config.yml)
--project-id string Unique project identifier (required).
-t, --token string API token. You can create API tokens at https://lokalise.com/profile.
-t, --token string API token. You can create API tokens at https://app.lokalise.com/profile.
```

### SEE ALSO

* [lokalise2 branch](lokalise2_branch.md) - Manage branches

###### Auto generated by spf13/cobra on 21-Oct-2021
5 changes: 2 additions & 3 deletions docs/lokalise2_comment.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@ Comments can be used to give translators a context about the key, or as a discus

```
--config string config file (default is ./config.yml)
-t, --token string API token. You can create API tokens at https://lokalise.com/profile.
-t, --token string API token. You can create API tokens at https://app.lokalise.com/profile.
```

### SEE ALSO

* [lokalise2](lokalise2.md) - Lokalise CLI v2.6.8. Read the docs at https://github.com/lokalise/lokalise-cli-2-go
* [lokalise2](lokalise2.md) - Lokalise CLI v2.6.10. Read the docs at https://github.com/lokalise/lokalise-cli-2-go
* [lokalise2 comment create](lokalise2_comment_create.md) - Add a comment
* [lokalise2 comment delete](lokalise2_comment_delete.md) - Delete a comment
* [lokalise2 comment list](lokalise2_comment_list.md) - List project comments
* [lokalise2 comment list-key](lokalise2_comment_list-key.md) - List key comments
* [lokalise2 comment retrieve](lokalise2_comment_retrieve.md) - Retrieve a comment

###### Auto generated by spf13/cobra on 21-Oct-2021
3 changes: 1 addition & 2 deletions docs/lokalise2_comment_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@ lokalise2 comment create [flags]
```
--config string config file (default is ./config.yml)
--project-id string Unique project identifier (required).
-t, --token string API token. You can create API tokens at https://lokalise.com/profile.
-t, --token string API token. You can create API tokens at https://app.lokalise.com/profile.
```

### SEE ALSO

* [lokalise2 comment](lokalise2_comment.md) - Manage key comments

###### Auto generated by spf13/cobra on 21-Oct-2021
3 changes: 1 addition & 2 deletions docs/lokalise2_comment_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@ lokalise2 comment delete [flags]
```
--config string config file (default is ./config.yml)
--project-id string Unique project identifier (required).
-t, --token string API token. You can create API tokens at https://lokalise.com/profile.
-t, --token string API token. You can create API tokens at https://app.lokalise.com/profile.
```

### SEE ALSO

* [lokalise2 comment](lokalise2_comment.md) - Manage key comments

###### Auto generated by spf13/cobra on 21-Oct-2021
3 changes: 1 addition & 2 deletions docs/lokalise2_comment_list-key.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ lokalise2 comment list-key [flags]
```
--config string config file (default is ./config.yml)
--project-id string Unique project identifier (required).
-t, --token string API token. You can create API tokens at https://lokalise.com/profile.
-t, --token string API token. You can create API tokens at https://app.lokalise.com/profile.
```

### SEE ALSO

* [lokalise2 comment](lokalise2_comment.md) - Manage key comments

###### Auto generated by spf13/cobra on 21-Oct-2021
3 changes: 1 addition & 2 deletions docs/lokalise2_comment_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ lokalise2 comment list [flags]
```
--config string config file (default is ./config.yml)
--project-id string Unique project identifier (required).
-t, --token string API token. You can create API tokens at https://lokalise.com/profile.
-t, --token string API token. You can create API tokens at https://app.lokalise.com/profile.
```

### SEE ALSO

* [lokalise2 comment](lokalise2_comment.md) - Manage key comments

###### Auto generated by spf13/cobra on 21-Oct-2021
7 changes: 1 addition & 6 deletions docs/lokalise2_comment_retrieve.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

Retrieve a comment

### Synopsis

Retrieve a comment

```
lokalise2 comment retrieve [flags]
```
Expand All @@ -23,11 +19,10 @@ lokalise2 comment retrieve [flags]
```
--config string config file (default is ./config.yml)
--project-id string Unique project identifier (required).
-t, --token string API token. You can create API tokens at https://lokalise.com/profile.
-t, --token string API token. You can create API tokens at https://app.lokalise.com/profile.
```

### SEE ALSO

* [lokalise2 comment](lokalise2_comment.md) - Manage key comments

###### Auto generated by spf13/cobra on 21-Oct-2021
5 changes: 2 additions & 3 deletions docs/lokalise2_contributor.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@ You may add unlimited number of contributors to your project. User roles include

```
--config string config file (default is ./config.yml)
-t, --token string API token. You can create API tokens at https://lokalise.com/profile.
-t, --token string API token. You can create API tokens at https://app.lokalise.com/profile.
```

### SEE ALSO

* [lokalise2](lokalise2.md) - Lokalise CLI v2.6.8. Read the docs at https://github.com/lokalise/lokalise-cli-2-go
* [lokalise2](lokalise2.md) - Lokalise CLI v2.6.10. Read the docs at https://github.com/lokalise/lokalise-cli-2-go
* [lokalise2 contributor create](lokalise2_contributor_create.md) - Create a contributor
* [lokalise2 contributor delete](lokalise2_contributor_delete.md) - Delete a contributor
* [lokalise2 contributor list](lokalise2_contributor_list.md) - List all contributors
* [lokalise2 contributor retrieve](lokalise2_contributor_retrieve.md) - Retrieve a contributor
* [lokalise2 contributor update](lokalise2_contributor_update.md) - Update a contributor

###### Auto generated by spf13/cobra on 21-Oct-2021
3 changes: 1 addition & 2 deletions docs/lokalise2_contributor_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,10 @@ lokalise2 contributor create [flags]
```
--config string config file (default is ./config.yml)
--project-id string Unique project identifier (required).
-t, --token string API token. You can create API tokens at https://lokalise.com/profile.
-t, --token string API token. You can create API tokens at https://app.lokalise.com/profile.
```

### SEE ALSO

* [lokalise2 contributor](lokalise2_contributor.md) - Manage project contributors

###### Auto generated by spf13/cobra on 21-Oct-2021
3 changes: 1 addition & 2 deletions docs/lokalise2_contributor_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ lokalise2 contributor delete [flags]
```
--config string config file (default is ./config.yml)
--project-id string Unique project identifier (required).
-t, --token string API token. You can create API tokens at https://lokalise.com/profile.
-t, --token string API token. You can create API tokens at https://app.lokalise.com/profile.
```

### SEE ALSO

* [lokalise2 contributor](lokalise2_contributor.md) - Manage project contributors

###### Auto generated by spf13/cobra on 21-Oct-2021
3 changes: 1 addition & 2 deletions docs/lokalise2_contributor_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ lokalise2 contributor list [flags]
```
--config string config file (default is ./config.yml)
--project-id string Unique project identifier (required).
-t, --token string API token. You can create API tokens at https://lokalise.com/profile.
-t, --token string API token. You can create API tokens at https://app.lokalise.com/profile.
```

### SEE ALSO

* [lokalise2 contributor](lokalise2_contributor.md) - Manage project contributors

###### Auto generated by spf13/cobra on 21-Oct-2021
7 changes: 1 addition & 6 deletions docs/lokalise2_contributor_retrieve.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

Retrieve a contributor

### Synopsis

Retrieve a contributor

```
lokalise2 contributor retrieve [flags]
```
Expand All @@ -22,11 +18,10 @@ lokalise2 contributor retrieve [flags]
```
--config string config file (default is ./config.yml)
--project-id string Unique project identifier (required).
-t, --token string API token. You can create API tokens at https://lokalise.com/profile.
-t, --token string API token. You can create API tokens at https://app.lokalise.com/profile.
```

### SEE ALSO

* [lokalise2 contributor](lokalise2_contributor.md) - Manage project contributors

###### Auto generated by spf13/cobra on 21-Oct-2021
3 changes: 1 addition & 2 deletions docs/lokalise2_contributor_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ lokalise2 contributor update [flags]
```
--config string config file (default is ./config.yml)
--project-id string Unique project identifier (required).
-t, --token string API token. You can create API tokens at https://lokalise.com/profile.
-t, --token string API token. You can create API tokens at https://app.lokalise.com/profile.
```

### SEE ALSO

* [lokalise2 contributor](lokalise2_contributor.md) - Manage project contributors

###### Auto generated by spf13/cobra on 21-Oct-2021
5 changes: 2 additions & 3 deletions docs/lokalise2_file.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@ Lokalise is a project-oriented translation management system, which means we sto

```
--config string config file (default is ./config.yml)
-t, --token string API token. You can create API tokens at https://lokalise.com/profile.
-t, --token string API token. You can create API tokens at https://app.lokalise.com/profile.
```

### SEE ALSO

* [lokalise2](lokalise2.md) - Lokalise CLI v2.6.8. Read the docs at https://github.com/lokalise/lokalise-cli-2-go
* [lokalise2](lokalise2.md) - Lokalise CLI v2.6.10. Read the docs at https://github.com/lokalise/lokalise-cli-2-go
* [lokalise2 file download](lokalise2_file_download.md) - Download files
* [lokalise2 file list](lokalise2_file_list.md) - List all files
* [lokalise2 file upload](lokalise2_file_upload.md) - Upload a file

###### Auto generated by spf13/cobra on 21-Oct-2021
3 changes: 1 addition & 2 deletions docs/lokalise2_file_download.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,10 @@ lokalise2 file download [flags]
```
--config string config file (default is ./config.yml)
--project-id string Unique project identifier (required).
-t, --token string API token. You can create API tokens at https://lokalise.com/profile.
-t, --token string API token. You can create API tokens at https://app.lokalise.com/profile.
```

### SEE ALSO

* [lokalise2 file](lokalise2_file.md) - Upload and download files

###### Auto generated by spf13/cobra on 21-Oct-2021
3 changes: 1 addition & 2 deletions docs/lokalise2_file_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ lokalise2 file list [flags]
```
--config string config file (default is ./config.yml)
--project-id string Unique project identifier (required).
-t, --token string API token. You can create API tokens at https://lokalise.com/profile.
-t, --token string API token. You can create API tokens at https://app.lokalise.com/profile.
```

### SEE ALSO

* [lokalise2 file](lokalise2_file.md) - Upload and download files

###### Auto generated by spf13/cobra on 21-Oct-2021
3 changes: 1 addition & 2 deletions docs/lokalise2_file_upload.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,10 @@ lokalise2 file upload [flags]
```
--config string config file (default is ./config.yml)
--project-id string Unique project identifier (required).
-t, --token string API token. You can create API tokens at https://lokalise.com/profile.
-t, --token string API token. You can create API tokens at https://app.lokalise.com/profile.
```

### SEE ALSO

* [lokalise2 file](lokalise2_file.md) - Upload and download files

###### Auto generated by spf13/cobra on 21-Oct-2021
5 changes: 2 additions & 3 deletions docs/lokalise2_key.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,15 @@ Each phrase that is used in your app or website must be identified by a key and

```
--config string config file (default is ./config.yml)
-t, --token string API token. You can create API tokens at https://lokalise.com/profile.
-t, --token string API token. You can create API tokens at https://app.lokalise.com/profile.
```

### SEE ALSO

* [lokalise2](lokalise2.md) - Lokalise CLI v2.6.8. Read the docs at https://github.com/lokalise/lokalise-cli-2-go
* [lokalise2](lokalise2.md) - Lokalise CLI v2.6.10. Read the docs at https://github.com/lokalise/lokalise-cli-2-go
* [lokalise2 key create](lokalise2_key_create.md) - Create keys
* [lokalise2 key delete](lokalise2_key_delete.md) - Delete a key
* [lokalise2 key list](lokalise2_key_list.md) - List all keys
* [lokalise2 key retrieve](lokalise2_key_retrieve.md) - Retrieve a key
* [lokalise2 key update](lokalise2_key_update.md) - Update a key

###### Auto generated by spf13/cobra on 21-Oct-2021
3 changes: 1 addition & 2 deletions docs/lokalise2_key_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,10 @@ lokalise2 key create [flags]
```
--config string config file (default is ./config.yml)
--project-id string Unique project identifier (required).
-t, --token string API token. You can create API tokens at https://lokalise.com/profile.
-t, --token string API token. You can create API tokens at https://app.lokalise.com/profile.
```

### SEE ALSO

* [lokalise2 key](lokalise2_key.md) - Manage keys

###### Auto generated by spf13/cobra on 21-Oct-2021
Loading

0 comments on commit 957f4cd

Please sign in to comment.