Skip to main content

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

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)

Source distribution for appdo 0.2.0
File Size Uploaded
appdo-0.2.0.tar.gz 9.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for appdo 0.2.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.2

2 release files

0.1.1

0.1.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page