Expand description
vanta-env — compose environment views and generate shell activation hooks.
An environment is a envs/<env-id>/bin directory of links into the store; the
env-id is a hash of the resolved tool set, so identical sets share a view.
Activation hooks (per shell) put that bin directory on PATH and switch it
per directory. See docs/10-environments.md.
Structs§
- EnvTool
- One tool’s contribution to an environment: its store key and the executables to expose (paths relative to the store entry).
Functions§
- activate_
hook - The activation hook for a shell, for
eval "$(vanta activate <shell>)". ReturnsNonefor an unsupported shell. - compose
- Compose (or refresh) the environment view for
tools, returning itsbindirectory. Executables are linked from the store with the cheapest available strategy (docs/09-store.md). - env_id
- A stable identifier for a resolved tool set (the hash of its sorted members).