Connect to any git repository with a simple opinionated structure and expose executable commands as dynamic command-line-interface utility to use from any environment, CI and local.
Install anchor via Homebrew, pre-built release or from sources. Package managed installs contains only the bare minimum without documentation / site / dev-scripts etc...
Anchor relies on the location of command.yaml & instructions.yaml file(s) on the git repository, those files dictate the command and actions hierarchy.
To continue with previous example, interact via anchor team-build select and use the arrows to select which action to run.
Direct command
Alternatively, if anchor is being used within a managed environment and there is a need to run its actions non-interactively, use the run command as follows:
anchor team-build run bazel --action=build-bazel-repository
Document every action
Add detailed description to any anchor action, a wrapper for shell script, Python script, binary call with its options/argument or any other executable. Make it clear what is the action responsibility, what are the control arguments and what is the expected outcome.
Run multiple actions simultaneously
Create a workflow plan comprised from multiple pre-defined actions to run in a serialized and ordered manner.
Try the playground
Take anchor for a spin by using it on a remote git playground repository using a single command.