Merge pull request #1958 from frostming/doc-scripts

Mention scripts section in doc
This commit is contained in:
Dan Ryan
2018-04-12 12:20:19 -04:00
committed by GitHub
+13
View File
@@ -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
-----------------------------------