aboutsummaryrefslogtreecommitdiffstats
path: root/SlackBuilds/opencode-bin/opencode.1
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-01 22:56:07 +0200
committerDanilo M. <danix@danix.xyz>2026-04-01 22:58:53 +0200
commit1045963959ddfb697898fa90476f837aae4e2881 (patch)
treef4f93fcd99ea0f2dfa1342d79baef10d5f66cc7c /SlackBuilds/opencode-bin/opencode.1
parentfbb8e8f558f541d6a573105dc369ba7c563f78eb (diff)
downloadmy-slackbuilds-1045963959ddfb697898fa90476f837aae4e2881.tar.gz
my-slackbuilds-1045963959ddfb697898fa90476f837aae4e2881.zip
repo: move all packages under SlackBuilds/ subfolder
Reorganize repository by moving all 11 package directories into a new SlackBuilds/ subfolder. Update README.md, CLAUDE.md, and hooks/post-commit to reflect the new path structure. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'SlackBuilds/opencode-bin/opencode.1')
-rw-r--r--SlackBuilds/opencode-bin/opencode.167
1 files changed, 67 insertions, 0 deletions
diff --git a/SlackBuilds/opencode-bin/opencode.1 b/SlackBuilds/opencode-bin/opencode.1
new file mode 100644
index 0000000..ba2b76b
--- /dev/null
+++ b/SlackBuilds/opencode-bin/opencode.1
@@ -0,0 +1,67 @@
+.TH OPENCODE 1 "2025" "opencode" "User Commands"
+.SH NAME
+opencode \- open source AI coding agent for the terminal
+.SH SYNOPSIS
+.B opencode
+[\fIOPTIONS\fR]
+.SH DESCRIPTION
+.B opencode
+is an AI coding agent designed for the terminal. It provides a TUI
+(Terminal User Interface) for interacting with 75+ LLM providers
+including Anthropic Claude, OpenAI, Google Gemini, GitHub Copilot,
+and local models via Ollama.
+.PP
+It uses a client/server architecture allowing the server to run on
+one machine while being driven remotely from another client.
+.SH OPTIONS
+.TP
+.BR \-h ", " \-\-help
+Display help information and exit.
+.TP
+.BR \-v ", " \-\-version
+Print version number and exit.
+.TP
+.BR \-d ", " \-\-debug
+Enable debug logging.
+.TP
+.BR \-c " " \fIDIR\fR ", " \-\-cwd " " \fIDIR\fR
+Set the working directory for the session.
+.TP
+.BR \-p " " \fIPROMPT\fR ", " \-\-print " " \fIPROMPT\fR
+Run non-interactively with the given prompt and print the response,
+then exit. Useful for scripting and automation.
+.TP
+.BR \-f " " \fIFORMAT\fR ", " \-\-format " " \fIFORMAT\fR
+Output format when using \fB\-p\fR. Options: \fBtext\fR (default), \fBjson\fR.
+.TP
+.BR \-q ", " \-\-quiet
+Suppress the spinner animation. Useful when running from scripts.
+.SH ENVIRONMENT
+.TP
+.B OPENCODE_INSTALL_DIR
+Override the binary installation directory used by the install script.
+.TP
+.B XDG_BIN_DIR
+XDG Base Directory Specification compliant binary path.
+.SH FILES
+.TP
+.I ~/.config/opencode/
+User configuration directory.
+.TP
+.I ~/.local/share/opencode/auth.json
+Stored authentication credentials.
+.SH TUI COMMANDS
+Inside the TUI, the following slash commands are available:
+.TP
+.B /connect
+Configure and authenticate an LLM provider.
+.TP
+.B /models
+Switch between available models.
+.SH SEE ALSO
+Full documentation at \fIhttps://opencode.ai/docs\fR
+.SH AUTHORS
+Developed by the Anomaly team. See \fIhttps://github.com/anomalyco/opencode\fR
+for contributors.
+.SH LICENSE
+MIT License.