Solved How do I bake spec to use linode-cli?
Linode running Ubuntu 18.04 LTS
On running first linode-cli command I went through the default config settings when prompted. Now, any linode-cli commands I type in I get the message:
No spec baked. Please bake by calling this script as follows:
python3 gen_cli.py bake /path/to/spec
I can't get past this so I need to complete this step before I can use continue to use linode-cli. Reading through some documentation (linode-cli) I don't see mention of this.
Any experience with this or suggestions how I should proceed?
3 Replies
If you're reading this post and have encountered the same issue, try running the following command:
python3 -m linodecli bake https://developers.linode.com/api/docs/v4/openapi.yaml
That should resolve the no spec
error and allow you to continue working with the CLI.