mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-03 14:55:09 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/opencode-web
Normal file
29
tldr/opencode-web
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# opencode web
|
||||
|
||||
> Start an OpenCode server with a web interface.
|
||||
> More information: <https://opencode.ai/docs/cli#web>.
|
||||
|
||||
- Start the web interface on the default port:
|
||||
|
||||
`opencode web`
|
||||
|
||||
- Start on a specific port:
|
||||
|
||||
`opencode web --port {{8080}}`
|
||||
|
||||
- Start on a specific hostname:
|
||||
|
||||
`opencode web --hostname {{0.0.0.0}}`
|
||||
|
||||
- Enable mDNS service discovery:
|
||||
|
||||
`opencode web --mdns`
|
||||
|
||||
- Display help:
|
||||
|
||||
`opencode web {{[-h|--help]}}`
|
||||
Reference in New Issue
Block a user