Skip to content

Commit

Permalink
Merge pull request saltstack#182 from jheiselman/win_pepper_cmd
Browse files Browse the repository at this point in the history
Add a basic python.cmd so users can run pepper from cmd.exe easily
  • Loading branch information
gtmanfred authored Mar 6, 2019
2 parents 4cf0f94 + 7c45f40 commit 386c08c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Installation
Usage
-----

Basic usage is in heavy flux.
Basic usage is in heavy flux. You can run pepper using the script in %PYTHONHOME%/scripts/pepper (a pepper.cmd wrapper is provided for convenience to Windows users).

.. code-block:: bash
Expand Down
5 changes: 5 additions & 0 deletions scripts/pepper.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@echo off
set _SCRIPTDIR=%~d0
set _SCRIPTPATH=%~p0

python "%_SCRIPTDIR%%_SCRIPTPATH%pepper" %*

0 comments on commit 386c08c

Please sign in to comment.