Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

3.5 KB
Raw Blame
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Command reference — hood-cli</title>
<meta name="description" content="Full hood-cli command reference, generated straight from the CLI's own --help output — never hand-written, never out of sync.">
<link rel="stylesheet" href="./site.css">
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ctext y='.9em' font-size='90'%3E%F0%9F%92%BB%3C/text%3E%3C/svg%3E">
</head>
<body>

<nav class="top" aria-label="Site">
  <div class="wrap">
    <a class="brand" href="./index.html">hood<span class="tick">-cli</span></a>
    <div class="links">
      <a href="./index.html">Home</a>
      <a href="./index.html#quickstart" class="hide-sm">Quickstart</a>
      <a href="https://github.com/nirholas/hood-cli">GitHub</a>
    </div>
  </div>
</nav>

<header class="hero wrap" style="padding-bottom:8px">
  <h1>Command <span class="grad">reference</span></h1>
  <p class="lede">
    Every block below is the real, unedited output of <code>hood &lt;command&gt; --help</code> —
    generated by <code>scripts/generate-docs.mjs</code> from the CLI's own commander
    definitions. If a flag is documented here, it exists in the shipped binary.
  </p>
</header>

<main class="wrap">
  <div class="cmd-list" id="cmd-list"></div>
  <div class="cmd-detail" id="cmd-detail"></div>
</main>

<footer class="wrap">
  <p>Generated __GENERATED_AT__. MIT licensed. Built by <a href="https://x.com/nichxbt">nirholas</a> · <a href="https://three.ws">three.ws</a>.</p>
</footer>

<script id="commands-data" type="application/json">
__COMMANDS_DATA__
</script>
<script>
(function () {
  var data = JSON.parse(document.getElementById('commands-data').textContent);
  var list = document.getElementById('cmd-list');
  var detail = document.getElementById('cmd-detail');

  function esc(s) {
    var d = document.createElement('div');
    d.textContent = s;
    return d.innerHTML;
  }

  function render(name) {
    var cmd = data.commands.find(function (c) { return c.name === name; }) || { name: 'hood', help: data.root };
    detail.innerHTML = '<pre>' + esc(cmd.help) + '</pre>';
    detail.classList.add('active');
    document.querySelectorAll('.cmd-row').forEach(function (row) {
      row.classList.toggle('active', row.getAttribute('data-name') === name);
    });
    if (history.replaceState) history.replaceState(null, '', '#' + name);
  }

  var rootRow = document.createElement('div');
  rootRow.className = 'cmd-row';
  rootRow.setAttribute('data-name', '__root__');
  rootRow.innerHTML = '<code>hood</code><span>top-level usage &amp; global flags</span>';
  rootRow.addEventListener('click', function () { render('__root__'); });
  list.appendChild(rootRow);

  data.commands.forEach(function (cmd) {
    var firstLine = (cmd.help.split('\n').find(function (l) { return l.trim() && !l.startsWith('Usage:'); }) || '').trim();
    var row = document.createElement('div');
    row.className = 'cmd-row';
    row.setAttribute('data-name', cmd.name);
    row.innerHTML = '<code>hood ' + esc(cmd.name) + '</code><span>' + esc(firstLine).slice(0, 70) + '</span>';
    row.addEventListener('click', function () { render(cmd.name); });
    list.appendChild(row);
  });

  var initial = (location.hash || '').replace('#', '');
  render(data.commands.some(function (c) { return c.name === initial; }) ? initial : (data.commands[0] ? data.commands[0].name : '__root__'));
})();
</script>

</body>
</html>