installCLI() — dead-code-hunter Function Reference
Architecture documentation for the installCLI() function in index.ts from the dead-code-hunter codebase.
Entity Profile
Dependency Diagram
graph TD 9f178763_0bb8_a0fb_e74f_8f045fcb3e5c["installCLI()"] 917645bc_a477_1891_eaae_c95a41b4031a["run()"] 917645bc_a477_1891_eaae_c95a41b4031a -->|calls| 9f178763_0bb8_a0fb_e74f_8f045fcb3e5c 0a4256af_7573_e65e_82a1_3e7efcb155b9["processEnv()"] 9f178763_0bb8_a0fb_e74f_8f045fcb3e5c -->|calls| 0a4256af_7573_e65e_82a1_3e7efcb155b9 style 9f178763_0bb8_a0fb_e74f_8f045fcb3e5c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/index.ts lines 15–25
async function installCLI(version: string): Promise<void> {
const env = version !== 'latest'
? processEnv({ SUPERMODEL_VERSION: version })
: processEnv();
core.info(`Installing Supermodel CLI${version !== 'latest' ? ` ${version}` : ' (latest)'}...`);
await exec.exec(
'sh',
['-c', 'curl -fsSL https://raw.githubusercontent.com/supermodeltools/cli/main/install.sh | sh'],
{ env }
);
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does installCLI() do?
installCLI() is a function in the dead-code-hunter codebase.
What does installCLI() call?
installCLI() calls 1 function(s): processEnv.
What calls installCLI()?
installCLI() is called by 1 function(s): run.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free