Run your commands in your application context. Let’s eliminate cd and source in your crontab!
Requirements
Supports Python 2.7 only
We’ll be supporting 3.5 soon.
Setup
$ pip install --user appdo or (venv)$ pip install appdo
Usage
First, write your config file ~/.appdo.conf in TOML.
[default] cd = "~/work/myapp" source = ["/etc/profile", "~/.bash_profile"] prefix = "bundle exec" [default.env] PAGER = "cat" RACK_ENV = "staging"
Then run appdo command. The commands will be executed in the config manner.
$ appdo rake -vT
Which is equivalent to:
$ cd ~/work/myapp $ source /etc/profile $ source ~/.bash_profile $ PAGER=cat RACK_ENV=staging bundle exec rake -vT
ChangeLog
0.2.0 (2016-04-24)
Publicly released.
License changed into Apache License
cd option added to config file
returns error when no command specified.
–listapp command line option added to see what app you’ve set
0.1.2 (2016-04-22)
Initial release
Metadata
Release files for appdo 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| appdo-0.2.0.tar.gz | 9.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| appdo-0.2.0-py2.7.egg | Legacy Egg format | - | - | Details |
Total release size: 17.2 kB
Release files / appdo-0.2.0.tar.gz
| Download URL | appdo-0.2.0.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a4f1b23ffc5c377fc38a0e606ece094d3b195ebccd7651c784f16f77143a6362
|
|
BLAKE2b-256 checksum How to use checksums |
5817bda39edad4918d7639a5352541a6de618af0da0a52905a6157dd25b804be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / appdo-0.2.0-py2.7.egg
| Download URL | appdo-0.2.0-py2.7.egg |
|---|---|
| Size | 7.3 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
419377b8dbbc9ab0b96359265bde54bc3220299082e1e2acf51af3d6cabf8623
|
|
BLAKE2b-256 checksum How to use checksums |
982eea84d0152b5f9046b51c2d767b1af1cb2647afb78adffb736fe835839db6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for appdo 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.