Skip to Content

git0

Project setup functions — dependency installation and IDE launching.

installDependencies()

function installDependencies(targetDir: string): Promise<void>;

Defined in: src/git0.js:207

Automatically detects project type and installs dependencies Supports Node.js, Docker, Python, Rust, and Go projects

Parameters

ParameterTypeDescription

targetDir

string

Path to the project directory

Returns

Promise<void>

Export

Async


openInIDE()

function openInIDE(targetDir: string): void;

Defined in: src/git0.js:157

Opens a directory in the first available IDE/editor Also attempts to open a README or package.json file after 3 seconds

Parameters

ParameterTypeDescription

targetDir

string

Path to the directory to open

Returns

void

Export

Last updated on

On this page