You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 075a314
Browse filesBrowse the repository at this point in the historyBrowse files
<divclass="highlight"><pre><span></span><code>cgc<spanclass="w"></span>context<spanclass="w"></span>create<spanclass="w"></span>mobile-app<spanclass="w"></span>--database<spanclass="w"></span>kuzudb<spanclass="w"></span><spanclass="c1"># Or use shorthand aliases: --db, -db, -d</span>
<p>CGC resolves configuration keys in the following hierarchical priority (highest level overrides lower levels):</p>
923
961
<ol>
924
962
<li><strong>CLI Flag Parameters</strong>: Overrides passed during execution (e.g., <code>cgc index --db falkordb</code>).</li>
925
-
<li><strong>Local Repository Variables</strong>: Values defined in <code><workspace_root>/.codegraphcontext/.env</code>.</li>
926
-
<li><strong>User Global Settings</strong>: Configurations stored in <code>~/.codegraphcontext/.env</code>.</li>
927
-
<li><strong>Environment Shell Exports</strong>: System environment variables (e.g., <code>export DEFAULT_DATABASE=neo4j</code>).</li>
963
+
<li><strong>Runtime Environment Variables</strong>: System environment variables (shell/CI, e.g., <code>export DEFAULT_DATABASE=neo4j</code>).</li>
964
+
<li><strong>Local Project Variables</strong>: Values defined in <code>.codegraphcontext/.env</code> and <code>.env</code> in the current project directory.</li>
965
+
<li><strong>User Global Settings</strong>: Configurations stored in <code>~/.codegraphcontext/.env</code> (including settings persisted by <code>cgc config set</code>).</li>
928
966
<li><strong>System Defaults</strong>: Hardcoded fallback values defined within the Python package.</li>
0 commit comments