@docs-search/docs-search-cli

CLI tool to install and run the Docs Search RAG application
236 1
Install
npm install @docs-search/docs-search-cli
Latest Version:1.0.1
License:MIT
Last Updated:Oct 1, 2026
Links: GitHub  ·  npm
Maintainer: daluch

Docs Search CLI (docs-search-cli)

Command-line tool to automatically check prerequisites, install, configure, and launch the Docs Search RAG Application.

Features

  • 🔍 System Prerequisite Checks: Automatically verifies Python (3.8+), Python venv module, Node.js (18+), npm, and Git. Rejects broken Windows App Execution Alias stubs.
  • 🛠️ Automated Setup: Clones/updates repository, creates Python virtualenv, installs backend requirements.txt, runs Django database migrations, and installs Vue frontend dependencies.
  • 🚀 One-Command Launch: Spawns both Django Backend API and Vue Frontend Dev servers, and automatically opens your web browser.
  • 📦 Modular Code Structure: Clean separation of concerns (env-checker, repo-manager, backend, frontend, logger, index).

Usage

Run directly with npx (No installation needed)

npx docs-search-cli

Or install globally via npm

npm install -g docs-search-cli
docs-search

Available Commands & Options

npx docs-search-cli [command] [options]

Commands

Command Description
start Setup environment, install dependencies, run migrations & start servers (default)
install Perform full installation and build without starting servers
check Check system environment & prerequisites only

Options

Flag Short Description Default
--port <port> -p Backend API server port 8000
--frontend-port <port> Frontend dev server port 5173
--dir <dir> -d Target installation directory ~/.docs-search
--skip-build Skip Vue frontend build step false
--no-open Do not launch web browser automatically false
--help -h Display CLI help menu
--version -v Display CLI version

Project Architecture

cli/
├── bin/
│   └── cli.js            # Executable CLI entrypoint
├── src/
│   ├── env-checker.js    # Python, venv, Node, npm, Git prerequisite checks
│   ├── repo-manager.js   # Local codebase detection & remote repository cloning
│   ├── backend.js        # Virtualenv creation, pip dependencies, Django migrations
│   ├── frontend.js       # Vue npm dependencies, build, and dev server
│   ├── logger.js         # Colorized ANSI logger
│   └── index.js          # Main CLI orchestrator
└── package.json

Related Packages

@4tw/vue-cli-plugin-cypress-django

Integration testing with cypress and django

2,900 4
@maddogcz/djangoforms

A set of Vue 3 SFC with Quasar v2 for work with django forms

1,702 1
@mingto/mt-cli

明途脚手架工具

2,568
cli
mgo-cli

create a vue3 webapp by demand

2,096
cli
@vue/babel-preset-app

babel-preset-app for vue-cli

28,669,765 29,510

Version History

Version Released License
1.0.1 MIT
1.0.0 MIT