Skip to content

Commit f2d8dd5

Browse files
Merge pull request #373 from linode/dev
release: v5.32.0
2 parents 32a6456 + eccec2f commit f2d8dd5

35 files changed

+3149
-1416
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ Pipfile*
1212
test/.env
1313
.tmp*
1414
MANIFEST
15+
venv

Makefile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,20 @@ clean:
3636
rm -f linode-cli.sh baked_version
3737
rm -f data-*
3838
rm -rf dist
39+
40+
.PHONY: test
41+
test:
42+
pytest tests
43+
python -m unittest tests/*.py
44+
45+
46+
black:
47+
black linodecli tests
48+
49+
isort:
50+
isort linodecli tests
51+
52+
autoflake:
53+
autoflake linodecli tests
54+
55+
format: black isort autoflake

README.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,18 @@ the ``obj`` plugin that ships with the CLI. To do so, simply set
228228
appropriate values. This allows using Linode Object Storage through the CLI
229229
without having a configuration file, which is desirable in some situations.
230230

231+
Configurable API URL
232+
""""""""""""""""""""
233+
234+
In some cases you may want to run linode-cli against a non-default Linode API URL.
235+
This can be done using the following environment variables to override certain segments of the target API URL.
236+
237+
* ``LINODE_CLI_API_HOST`` - The host of the Linode API instance (e.g. ``api.linode.com``)
238+
239+
* ``LINODE_CLI_API_VERSION`` - The Linode API version to use (e.g. ``v4beta``)
240+
241+
* ``LINODE_CLI_API_SCHEME`` - The request scheme to use (e.g. ``https``)
242+
231243
Multiple Users
232244
^^^^^^^^^^^^^^
233245

0 commit comments

Comments
 (0)