diff options
author | lassulus <lassulus@googlemail.com> | 2013-01-31 19:41:11 +0100 |
---|---|---|
committer | lassulus <lassulus@googlemail.com> | 2013-01-31 19:41:11 +0100 |
commit | 5f8f9ea9e5f10abcef9c12d48345c098dca78199 (patch) | |
tree | c4dd748d5c152445569d7dfd2d0877ef66a95daa /util/README.markdown | |
parent | 7c050acc2559c622b831d9193e2336c15f42de6d (diff) | |
parent | 9461f6ece9f674588327c6dc3199fc0d7618ac48 (diff) |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'util/README.markdown')
-rw-r--r-- | util/README.markdown | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/util/README.markdown b/util/README.markdown new file mode 100644 index 00000000..78b9b81a --- /dev/null +++ b/util/README.markdown @@ -0,0 +1,27 @@ +# various utils + +## //util/bin/with + + execute a command with an extended/modified environment + +### usage + + with ENV COMMAND + + where `ENV` is the name of the environment and + `COMMAND` your to-be-executed command (-line). + +### environment + + `env_dir` defines the directory where environment files are searched + (default: `$HOME/.env.d`). + +### example + + cat > ~/.env.d/frh-ire <<EOF + export api_url=... + export api_key=... + export api_hash=... + EOF + + with frh-ire //ext/solus/bin/client info |