Skip to content

Commit 257b978

Browse files
Deployed 41e0162 to dev with Zensical 0.0.47 and mike 2.2.0+zensical-0.1.0
1 parent 9d562e8 commit 257b978

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

‎dev/search.json‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎dev/tools/cli/index.html‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,13 @@ <h2 id="command-line">Command line<a class="headerlink" href="#command-line" tit
10351035
<li><code>--verbose</code> / <code>-v</code> shows full tracebacks instead of a one-line message, and
10361036
adds the env-file line to the source report described under
10371037
<a href="../configuration/#where-settings-come-from">Where settings come from</a>.</li>
1038+
<li><code>--version</code> / <code>-V</code> prints one line with the osw version, the location of
1039+
the osw package and the Python version, then exits, needing no instance or
1040+
credentials.</li>
10381041
</ul>
1042+
<p><code>--help</code> / <code>-h</code> works on <code>osw</code> itself and after any subcommand or group, e.g.
1043+
<code>osw entity --help</code> or <code>osw entity get -h</code>, and prints that command's own
1044+
help.</p>
10391045
<p>Failures exit non-zero with a short message on stderr and no traceback.</p>
10401046

10411047

‎dev/tools/mcp/index.html‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,6 +1050,12 @@ <h1 id="mcp-server">MCP server<a class="headerlink" href="#mcp-server" title="Pe
10501050
<code>OSW_DOMAIN</code> must be set, either in the server entry's <code>env</code> block or in the
10511051
<code>.env</code> file that entry names. Without it the server refuses to start rather than
10521052
register tools that would all fail.</p>
1053+
<p><code>osw-mcp</code> also answers two flags from a shell, for checking an install rather
1054+
than for an MCP client to pass: <code>-h</code> / <code>--help</code> prints usage and exits, and
1055+
<code>-V</code> / <code>--version</code> prints one line with the osw version, the location of the
1056+
osw package and the Python version, then exits. Neither one starts the server
1057+
or needs an instance or credentials. Any other argument, including a
1058+
shortened form of these two flags, is rejected with a usage error.</p>
10531059
<h2 id="quick-install">Quick install<a class="headerlink" href="#quick-install" title="Permanent link">&para;</a></h2>
10541060
<p>For Claude Code, one command registers the server. Replace the domain and the
10551061
credential file path with your own:</p>

0 commit comments

Comments
 (0)