`doctl compute ssh-key import` usage incorrect
complete
D
Dan
doctl compute ssh-key import ...
documentation inconsistent with command usage. It says I'm missing required arguments, but no idea from online docs or help option what that would be.From the doc: Usage:
doctl compute ssh-key import <key-name> [flags]
In reality:
$ doctl compute ssh-key import mykey
Error: (ssh-key.import.public-key-file) command is missing required arguments
[flags]
should be optional, so what other arguments are required???Brian Boucheron
marked this post as
complete
Thanks for the question and feedback. I've updated doctl with a better example and a more detail description. It'll take a little while before it is released and makes its way to the docs though. In the meantime, here's a better example of how the command should be used:
doctl compute ssh-key import example-key --public-key-file ~/.ssh/id_ed25519.pub
The --public-key-file flag is required, in this case. Thanks!