Direct Commands
Direct commands let selected command names dispatch through biwa without typing biwa run.
For example, after activation, a command like this:
1511 autotest lab01runs the allowed remote command 1511 autotest lab01 using the same synchronization and remote execution path as biwa run.
Configuration
Direct commands are disabled by default. Enable them and allow only the command names you want to run remotely:
[direct]
enabled = true
# This replaces the default or lower-priority allow list; it is not additive.
allow = ["^\\d{4}$", "^(give|autotest|dcc)$"]
default_args = {}
prefer_local = trueenabledmust betruebefore shim invocations dispatch remotely.bin_diris the directory added to your shellPATH. If unset, it uses the platform data directory, such as$XDG_DATA_HOME/biwa/binon Linux.allowcontains regular expressions matched against the shim command name. A higher-priority config layer replaces this list instead of appending to it.default_argsaddsbiwa runoptions for an exact shim command name. Use options like--skip-synconly for remote-only commands that do not depend on synchronized project files.prefer_localkeeps existing local commands earlier inPATHahead of biwa shims.
Install Shims
Create or update static command shims:
biwa activate installbiwa can create shims for literal allow entries such as ^dcc$, simple alternatives such as ^(give|autotest)$, and keys present in direct.default_args. Regex families such as ^\\d{4}$ are matched at runtime, but activate install cannot enumerate every possible name from them; add the specific command as a default_args key when you want a static shim for it.
Activate Your Shell
Add one of these to your shell configuration:
Bash
eval "$(biwa activate --shell bash)"Zsh
eval "$(biwa activate --shell zsh)"Fish
biwa activate --shell fish | sourceRun diagnostics with:
biwa activate doctorConflict Behavior
When direct.prefer_local = true, biwa activate install skips a shim if an executable with the same name appears earlier in PATH. The message identifies the local command that would take precedence. Use biwa activate install --force to create configured shims anyway and replace existing files in the shim directory.
To replace a shim, rerun biwa activate install. To remove direct command support, remove the activation line from your shell config and delete the shim directory shown by biwa activate doctor.
Only command names matched by direct.allow dispatch remotely. Unknown shim names fail instead of turning arbitrary local commands into remote commands.