File tree Expand file tree Collapse file tree
carapace-aws/cmd/botocore
carapace-spec-botocore/cmd Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22name : signin
33description : AWS Sign-In Service
44commands :
5- - name : create-o-auth2-token
5+ - name : create-oauth2-token
6+ aliases :
7+ - create-o-auth2-token
68 description : CreateOAuth2Token API
79 flags :
810 --cli-input-json= : Read arguments from the JSON string provided.
Original file line number Diff line number Diff line change 1+ package customizations
2+
3+ import "github.com/carapace-sh/carapace-spec/pkg/command"
4+
5+ func init () {
6+ customizations ["signin.create-oauth2-token" ] = func (cmd * command.Command ) error {
7+ cmd .Aliases = append (cmd .Aliases , "create-o-auth2-token" )
8+ return nil
9+ }
10+
11+ customizations ["translate.import-terminology" ] = func (cmd * command.Command ) error {
12+ cmd .AddFlag (command.Flag {
13+ Longhand : "data-file" ,
14+ Description : "The path to the file of the code you are uploading." ,
15+ Value : true ,
16+ Required : true ,
17+ })
18+ return nil
19+ }
20+ }
Original file line number Diff line number Diff line change @@ -123,6 +123,7 @@ func CamelCaseToDash(s string) string {
123123 "create-cachedi-scsi-volume" : "create-cached-iscsi-volume" ,
124124 "create-environment-e-c2" : "create-environment-ec2" ,
125125 "create-storedi-scsi-volume" : "create-stored-iscsi-volume" ,
126+ "create-o-auth2-token" : "create-oauth2-token" ,
126127 "create-o-auth2-token-with-iam" : "create-oauth2-token-with-iam" ,
127128 "create-whats-app-flow" : "create-whatsapp-flow" ,
128129 "create-whats-app-message-template" : "create-whatsapp-message-template" ,
You can’t perform that action at this time.
0 commit comments