<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>divekit index on Divekit</title><link>https://divekit.org/docs/2-divekit-cli/index/</link><description>Recent content in divekit index on Divekit</description><generator>Hugo</generator><language>en</language><atom:link href="https://divekit.org/docs/2-divekit-cli/index/index.xml" rel="self" type="application/rss+xml"/><item><title>divekit index add</title><link>https://divekit.org/docs/2-divekit-cli/index/add/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://divekit.org/docs/2-divekit-cli/index/add/</guid><description>&lt;!-- Code generated by cmd/docgen. DO NOT EDIT. --&gt;&#10;&lt;h2 id="synopsis"&gt;Synopsis&lt;/h2&gt;&#10;&lt;p&gt;Add a Divekit project to the local index for fast discovery.&lt;/p&gt;&#10;&lt;p&gt;Registers a project path in the index database so it can be found by&#10;the search command. If no path is provided, the current directory is used.&lt;/p&gt;&#10;&lt;h2 id="usage"&gt;Usage&lt;/h2&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;divekit index add &lt;span class="o"&gt;[&lt;/span&gt;path&lt;span class="o"&gt;]&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;flags&lt;span class="o"&gt;]&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="examples"&gt;Examples&lt;/h2&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Add current directory to index&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;divekit index add&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Add a specific project by path&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;divekit index add /path/to/project&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Find and add all projects recursively&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;divekit index add --recursive&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Find sibling projects (go up one dir, scan siblings)&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;divekit index add --siblings&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Combine: go up one dir, then search recursively&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;divekit index add --siblings --recursive&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="flags"&gt;Flags&lt;/h2&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;--recursive Search recursively in subdirectories&#10; --siblings Go up one directory and find all sibling projects&#10;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="inherited-flags"&gt;Inherited Flags&lt;/h2&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;-l, --loglevel string log level (debug, info, warn, error, fatal) (default &amp;#34;info&amp;#34;)&#10; --no-index skip project index update&#10; --non-interactive run in non-interactive mode (fails if interactive input is required)&#10; -y, --yes assume yes/default for all prompts (non-interactive with automatic defaults)&#10;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="parent-command"&gt;Parent Command&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://divekit.org/docs/2-divekit-cli/index/"&gt;divekit index&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;</description></item><item><title>divekit index refresh</title><link>https://divekit.org/docs/2-divekit-cli/index/refresh/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://divekit.org/docs/2-divekit-cli/index/refresh/</guid><description>&lt;!-- Code generated by cmd/docgen. DO NOT EDIT. --&gt;&#10;&lt;h2 id="synopsis"&gt;Synopsis&lt;/h2&gt;&#10;&lt;p&gt;Refresh the project index by validating all entries.&lt;/p&gt;&#10;&lt;p&gt;Iterates through all indexed projects and:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Verifies that each project path still exists&lt;/li&gt;&#10;&lt;li&gt;Checks that each path is a valid Divekit project&lt;/li&gt;&#10;&lt;li&gt;Updates the list of distributions for valid projects&lt;/li&gt;&#10;&lt;li&gt;Removes invalid or deleted projects from the index&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="usage"&gt;Usage&lt;/h2&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;divekit index refresh &lt;span class="o"&gt;[&lt;/span&gt;flags&lt;span class="o"&gt;]&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="examples"&gt;Examples&lt;/h2&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Refresh the entire project index&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;divekit index refresh&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Refresh without interactive prompts&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;divekit index refresh --non-interactive&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="inherited-flags"&gt;Inherited Flags&lt;/h2&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;-l, --loglevel string log level (debug, info, warn, error, fatal) (default &amp;#34;info&amp;#34;)&#10; --no-index skip project index update&#10; --non-interactive run in non-interactive mode (fails if interactive input is required)&#10; -y, --yes assume yes/default for all prompts (non-interactive with automatic defaults)&#10;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="parent-command"&gt;Parent Command&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://divekit.org/docs/2-divekit-cli/index/"&gt;divekit index&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;</description></item></channel></rss>