summaryrefslogtreecommitdiffstats
path: root/util/README.markdown
blob: 78b9b81a16aff3831e2cea4b06eb3cc5a59949c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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