forked from jfrog/jfrog-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
543 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
package accesstokencreate | ||
|
||
var Usage = []string{"rt atc", "rt atc <user name>"} | ||
var Usage = []string{"rt atc", "rt atc <username>"} | ||
|
||
func GetDescription() string { | ||
return "Creates an access token. By default an user-scoped token will be created, unless the --groups and/or --grant-admin options are specified." | ||
return "Creates an Artifactory access token. By default an user-scoped token will be created, unless the --groups and/or --grant-admin options are specified." | ||
} | ||
|
||
func GetArguments() string { | ||
return ` user name | ||
The user name for which this token is created. If not specified, the token will be created for the current user.` | ||
return ` username | ||
The username for which this token is created. If not specified, the token will be created for the current user.` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package token | ||
|
||
var Usage = []string{"atc", "atc <username>"} | ||
|
||
func GetDescription() string { | ||
return `Creates an access token. | ||
By default, an user-scoped token will be created. | ||
Administrator may provide a single of the following options to modify the scope of the token: | ||
'--groups', '--grant-admin' or '--scope.'` | ||
} | ||
|
||
func GetArguments() string { | ||
return ` username | ||
The username for which this token is created. If not specified, the token will be created for the current user.` | ||
} |
Oops, something went wrong.