glendix/cmd
Values
pub fn detect_install_command() -> String
lock 파일 기반으로 패키지 매니저 install 명령어를 감지한다.
pub fn detect_runner() -> String
lock 파일 기반으로 패키지 매니저 runner를 감지한다. pnpm-lock.yaml → “pnpm exec”, bun.lockb/bun.lock → “bunx”, 기본 → “npx”
pub fn run_tool_with_bridge(args: String) -> Nil
브릿지 JS 자동 생성 후 pluggable-widgets-tools를 실행하고, 완료 후 브릿지를 삭제한다.