- A package of user commands in $XDG_CONFIG_HOME/bjosh/commands. Its module commands.bjo exports bjosh-extension: value commands, shell commands and a prompt function. - (bjosh api): the types and functions a package imports. - (bjosh user): builds the package when it is stale, and loads it with (std plugin) at each start. `reload` builds and loads it again. - bjosh --new-commands writes a package with an example. - No Native AOT, because it cannot load modules. bin/bjosh starts src/main.exe. - tests/extension.bjo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 lines
154 B
Bash
Executable file
4 lines
154 B
Bash
Executable file
#!/bin/sh
|
|
# Starts bjosh: src/main.exe beside this directory, with dotnet.
|
|
here=$(dirname "$(readlink -f "$0")")
|
|
exec dotnet "$here/../src/main.exe" "$@"
|