https://github.com/sztomi/plz
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sztomi/plz
- Owner: sztomi
- Created: 2019-05-22T12:00:01.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-06T11:40:57.000Z (almost 6 years ago)
- Last Synced: 2025-03-06T08:51:42.955Z (3 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## pretty_plz, the script command launcher
Put all those useful utility scripts into a central location and
have them magically work from anywhere as simple commands.1. `pip install pretty-plz`
1. Set `PLZ_SCRIPTS_PATH` to the directory where you store your scripts
1. Call any of your scripts with or without extension from anywere as
`plz [command] [args]`.`plz` also automatically reads a project-level `.env` file (unless told not
to do that via the environment).The intended usage is to set PLZ_SCRIPTS_PATH in your shell, and optionally
set PLZ_LOCAL_SCRIPTS_PATH in the project-level `.env` file.### Environment variables
`PLZ_SCRIPTS_PATH`
The global home for your utility scripts.
`PLZ_LOCAL_SCRIPTS_PATH`
Project-level home of your utility scripts.
`PLZ_IGNORE_DOTENV`
When set, `plz` will ignore the project-level `.env` file.