Skip to content

Commit

Permalink
Merge pull request #373 from linode/dev
Browse files Browse the repository at this point in the history
release: v5.32.0
  • Loading branch information
jriddle-linode authored Feb 21, 2023
2 parents 32a6456 + eccec2f commit f2d8dd5
Show file tree
Hide file tree
Showing 35 changed files with 3,149 additions and 1,416 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ Pipfile*
test/.env
.tmp*
MANIFEST
venv
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,20 @@ clean:
rm -f linode-cli.sh baked_version
rm -f data-*
rm -rf dist

.PHONY: test
test:
pytest tests
python -m unittest tests/*.py


black:
black linodecli tests

isort:
isort linodecli tests

autoflake:
autoflake linodecli tests

format: black isort autoflake
12 changes: 12 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,18 @@ the ``obj`` plugin that ships with the CLI. To do so, simply set
appropriate values. This allows using Linode Object Storage through the CLI
without having a configuration file, which is desirable in some situations.

Configurable API URL
""""""""""""""""""""

In some cases you may want to run linode-cli against a non-default Linode API URL.
This can be done using the following environment variables to override certain segments of the target API URL.

* ``LINODE_CLI_API_HOST`` - The host of the Linode API instance (e.g. ``api.linode.com``)

* ``LINODE_CLI_API_VERSION`` - The Linode API version to use (e.g. ``v4beta``)

* ``LINODE_CLI_API_SCHEME`` - The request scheme to use (e.g. ``https``)

Multiple Users
^^^^^^^^^^^^^^

Expand Down
Loading

0 comments on commit f2d8dd5

Please sign in to comment.