What's Changed
If you are setting PyApp variables, this is a breaking change!
- Move environmental variables to their own table in
pyproject.toml
. They are now in[tool.box.env-vars]
. - Remove PyApp Variables from initialization and put them into their own command.
- Add a new command
box env
in order to manage environmental variables.- Add
box env --set KEY=VALUE
to add string variables. - Add
box env --set-int KEY=VALUE
to add integer variables. - Add
box env --set-bool KEY=VALUE
to add boolean variables. - Add
box env --get VAR_NAME
to get the value of a variable. - Add
box env --unset VAR_NAME
to remove a variable. - Add
box env --list
to list all variables.
- Add
- Bug fix for
box uninit
: Will throw a useful error if not in abox
project.
If this breaks your project, you can either run box uninit
followed by box init
and re-enter the variables, or you can manually edit the pyproject.toml
file.
PRs
- Environment variable management by @trappitsch in #53
- Dev environment enhancements by @trappitsch in #54
Full Changelog: v0.3.0...v0.4.0