A reimplementaion of the Linode CLI using the Python Library and API V4.
pip3 install linode-cli
To build this package from source:
- Clone this repository.
python3 setup.py install
While the Linode API V4 is in beta, this package installs the command
linode-beta
.
When running the CLI for the first time, configure it by running
linode-beta configure
. This will prompt for for your API V4
personal access token and some defaults.
This is intended to be used like the existing Linode CLI, and you can use the existing CLI docs for reference.
In addition, the following commands have been added:
linode-beta -o event list
- lists recent Eventslinode-beta -o event seen
- marks all Events as seen
List all linodes and their status:
linode-beta list
Create a new Linode with a root password of "hunter7" and label "cli-test-1" in your default region with your default type:
linode-beta create -P hunter7 -l cli-test-1
Shut down your new linode:
linode-beta stop cli-test-1
List your domains:
linode-beta -o domain list
Show recent events:
linode-beta -o event list