mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Mention scripts section in doc
This commit is contained in:
@@ -319,6 +319,19 @@ To prevent pipenv from loading the ``.env`` file, set the ``PIPENV_DONT_LOAD_ENV
|
||||
|
||||
$ PIPENV_DONT_LOAD_ENV=1 pipenv shell
|
||||
|
||||
☤ Custom Script Shortcuts
|
||||
-----------------------------
|
||||
|
||||
``pipenv`` supports to customize shortcuts in the ``scripts`` section. ``pipenv run`` will automatically load it and find the correct command to replace with. Given the ``Pipfile``::
|
||||
|
||||
[scripts]
|
||||
printfoo = "python -c \"print('foo')\""
|
||||
|
||||
You can type in your terminal to run::
|
||||
|
||||
$ pipenv run printfoo
|
||||
foo
|
||||
|
||||
☤ Support for Environment Variables
|
||||
-----------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user