Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ finish
Function
finish
packages/opencode/src/cli/cmd/run.ts:834–838 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
832
process.exitCode = 1
833
})
834
async
function
finish() {
835
if
(args.attach)
return
836
const
error =
await
completed
837
if
(error) process.exitCode = 1
838
}
839
840
if
(args.command) {
841
const
result =
await
client.session.command({
Callers
1
execute
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected