Skip to content

Commit

Permalink
feat: update generated cli (#871)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Apr 16, 2020
1 parent 288ec28 commit c697882
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions internal/namespaces/account/v2alpha1/account_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,14 @@ func accountSSHKeyAdd() *core.Command {
ArgSpecs: core.ArgSpecs{
{
Name: "name",
Short: `The name of the SSH key`,
Required: false,
Positional: false,
},
{
Name: "public-key",
Required: false,
Short: `SSH public key. Currently ssh-rsa, ssh-dss (DSA), ssh-ed25519 and ecdsa keys with NIST curves are supported`,
Required: true,
Positional: false,
},
core.OrganizationIDArgSpec(),
Expand All @@ -144,7 +146,7 @@ func accountSSHKeyAdd() *core.Command {
Examples: []*core.Example{
{
Short: "Add a given ssh key",
Request: `{"name":"foobar","public_key":"ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBN+7q3Vx+9V6Ye8cfvV6wnXsQyp3wwy8ucSXYI3HJz9gB9x8lsDAQ8DUSz+sNajzKdhRtio1hNOyhn3O5ku5Kk= foobar@foobar"}`,
Request: `null`,
},
},
SeeAlsos: []*core.SeeAlso{
Expand All @@ -171,6 +173,7 @@ func accountSSHKeyGet() *core.Command {
ArgSpecs: core.ArgSpecs{
{
Name: "ssh-key-id",
Short: `The ID of the SSH key`,
Required: true,
Positional: true,
},
Expand Down

0 comments on commit c697882

Please sign in to comment.