ath

apt-helper bundles a variety of commands for shell scripts to use
e.g. the same proxy configuration or acquire system as APT would.
