Custom scripts shortcut with --system option
See original GitHub issueThe problem
I use quite often pipenv and Docker container. In docker container I want to avoid virtualenv so my install script is:
> pipenv install --system --deploy
I’m always frustrated when i need to retype commands on both Pipfile
and ci-config.yml
[scripts]
test = pytest --option1=foo --option2=bar
test:
before_script:
- pipenv install --system --deploy
script:
- pytest --option1=foo --option2=bar # cannot use pipenv here
Describe the solution you’d like
I would like to specify my custom command with its own option once and call it via Pipenv
test:
before_script:
- pipenv install --system --deploy
script:
- pipenv run --system test # or pipenv --system run test
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:7
Top Results From Across the Web
Create a desktop shortcut with Windows Script Host
Describes how to create desktop shortcuts by using the Windows Scripting Host from within Visual FoxPro.
Read more >Create Your Own Windows and macOS Keyboard Shortcuts
Finally, you can create your own custom keyboard shortcuts in a few applications, including Microsoft Word. Open Options from the main ...
Read more >10 Cool AutoHotkey Scripts (And How to Make Your Own!)
AutoHotkey lets you make custom Windows shortcuts, macros, and more! Here are some useful AutoHotkey scripts to get you started.
Read more >Pages '09: Custom scripts and keyboard shortcuts - Betalogue
In Pages '09, you have the following options. You can assign custom keyboard shortcuts to any menu command using Mac OS X's system-wide ......
Read more >How do I assign a keyboard shortcut to an AppleScript I wrote?
Now go to System Preferences > Keyboard > Shortcuts. ... use a launcher that supports setting global hot keys and executing AppleScripts (Alfred, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just tried, bust the real focus of the issue was not dependencies install but script executions.
On single purpose containers I try to avoid venvs in order to limit encapsulation levels and make better accessibile container for sysadmins.
In this case pipenv’s script section works well on dev (venv) environment but cannot be used to in a context with no venv (like ci or containerized env).
Edited: @webartoli Ah sorry your last comment must not have loaded when I responded last, so thanks for taking a look at it and that branch is not finalized yet, so I will consider this report when I revisit it.