Run Options
Current branch handling
By default, aynig run skips the current branch.
Use --current-branch to control this behavior:
skip(default): ignore the branch you are currently oninclude: scan the current branch in addition to othersonly: scan only the current branch
Examples:
# test a workflow on your current branchaynig run --current-branch onlyUse remote branches
Use --dwp-remote <name> to scan a remote instead of local branches.
If --dwp-remote is omitted, AYNIG checks the latest commit trailer dwp-source: git:<name> and uses that remote when present.
Example:
aynig run --dwp-remote originThis is useful when runners operate as distributed workers and the remote branch is the source of truth.
Role-specific commands
Use --role <name> (or set AYNIG_ROLE) to run commands from a role-specific directory.
Resolution order:
.dwp/roles/<role>/command/<state>.dwp/command/<state>