File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff Large diffs are not rendered by default.
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
10521052register 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 "> ¶</ a > </ h2 >
10541060< p > For Claude Code, one command registers the server. Replace the domain and the
10551061credential file path with your own:</ p >
You can’t perform that action at this time.
0 commit comments