az vm create says:
--ssh-key-value : SSH public key or public key file path.
OK I think an argument should either accept a file OR a file contents. Not both. It's unintuitive and opens a clear path to bugs and more discoverability issues. Many CLIs have solved this problem by doing things like
- If the input string starts with @, then it's a path
- If the input string is
-, read from STDIN
- ...
Please make this either --ssh-key [path] or --ssh-key-value [value].
az vm createsays:OK I think an argument should either accept a file OR a file contents. Not both. It's unintuitive and opens a clear path to bugs and more discoverability issues. Many CLIs have solved this problem by doing things like
-, read from STDINPlease make this either
--ssh-key [path]or--ssh-key-value [value].