[{"data":1,"prerenderedAt":5},["ShallowReactive",2],{"readme:a35hie\u002FNestie":3},{"html":4},"\u003Ch1>Nestie - Your Nest Bestie\u003C\u002Fh1>\n\u003Cp>Nestie is a beautiful, interactive CLI tool built in Go that makes creating NestJS projects and modules effortless. With its intuitive TUI interface powered by Bubble Tea, Nestie streamlines your NestJS development workflow.\u003C\u002Fp>\n\u003Ch2>Features\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Cstrong>Interactive Module Creation\u003C\u002Fstrong>: Beautiful TUI for selecting and configuring modules\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Smart Module Detection\u003C\u002Fstrong>: Automatically scans existing modules in your project\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Proper Entity Generation\u003C\u002Fstrong>: Creates entity files with correct \u003Ccode>.entity.ts\u003C\u002Fcode> naming in \u003Ccode>src\u002Fentities\u002F\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Intelligent Import Consolidation\u003C\u002Fstrong>: Consolidates multiple imports from the same module into single statements in ALL files (both within and outside the module folder) - e.g., \u003Ccode>import { A, B, C } from '@\u002Fmodule'\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Clean Index Generation\u003C\u002Fstrong>: Creates index.ts files excluding test\u002Fspec files and module name files to prevent naming conflicts\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Non-Interactive Generation\u003C\u002Fstrong>: All components generate without user prompts (resource option removed for reliability)\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Flexible Configuration\u003C\u002Fstrong>: Project-level configuration with \u003Ccode>.nestie.json\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Post-Processing Options\u003C\u002Fstrong>: Clean imports, @\u002F path conversion, and formatter integration\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Multiple Output Modes\u003C\u002Fstrong>: Execute commands directly or output for manual execution\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Full-Screen Mode\u003C\u002Fstrong>: Immersive full-screen TUI experience\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2>Installation\u003C\u002Fh2>\n\u003Cpre>\u003Ccode class=\"language-bash\">go install github.com\u002Fa35hie\u002FNestie@latest\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Or build from source:\u003C\u002Fp>\n\u003Cpre>\u003Ccode class=\"language-bash\">git clone https:\u002F\u002Fgithub.com\u002Fa35hie\u002FNestie.git\ncd nestie\ngo build -o nestie .\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch2>Prerequisites\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>NestJS CLI must be installed globally: \u003Ccode>npm install -g @nestjs\u002Fcli\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>Go 1.21 or higher\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2>Usage\u003C\u002Fh2>\n\u003Ch3>Create a New Project\u003C\u002Fh3>\n\u003Cpre>\u003Ccode class=\"language-bash\">nestie new my-awesome-project\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch3>Add Modules Interactively\u003C\u002Fh3>\n\u003Cpre>\u003Ccode class=\"language-bash\">nestie add\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch3>Add a Specific Module\u003C\u002Fh3>\n\u003Cpre>\u003Ccode class=\"language-bash\">nestie add users\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>When you provide a module name, Nestie skips the module selection screen and goes directly to the configuration options.\u003C\u002Fp>\n\u003Ch3>Command Options\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>\u003Ccode>--config &lt;path&gt;\u003C\u002Fcode>: Specify custom config file path\u003C\u002Fli>\n\u003Cli>\u003Ccode>--nestOnly\u003C\u002Fcode>: Output commands without executing them\u003C\u002Fli>\n\u003Cli>\u003Ccode>--fullScreen\u003C\u002Fcode>: Run in full-screen mode\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2>Configuration\u003C\u002Fh2>\n\u003Cp>Create a \u003Ccode>.nestie.json\u003C\u002Fcode> file in your project root to customize default settings:\u003C\u002Fp>\n\u003Cpre>\u003Ccode class=\"language-json\">{\n  \"$schema\": \"https:\u002F\u002Fgithub.com\u002Fa35hie\u002FNestie\u002Fraw\u002Frefs\u002Fheads\u002Fmaster\u002Fschema.json\",\n  \"generation\": {\n    \"controller\": true,\n    \"service\": true,\n    \"entity\": false,\n    \"interface\": false,\n    \"resource\": false,\n    \"middleware\": false,\n    \"pipe\": false,\n    \"provider\": false\n  },\n  \"process\": {\n    \"use@\": false,\n    \"cleanImports\": false,\n    \"formatter\": \"prettier\"\n  }\n}\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch3>JSON Schema Benefits\u003C\u002Fh3>\n\u003Cp>The JSON schema provides:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>IntelliSense\u003C\u002Fstrong>: Auto-completion in VS Code, WebStorm, and other IDEs\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Validation\u003C\u002Fstrong>: Real-time validation of your configuration\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Documentation\u003C\u002Fstrong>: Hover tooltips with property descriptions\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Type Safety\u003C\u002Fstrong>: Prevents configuration errors before runtime\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>Configuration Options\u003C\u002Fh3>\n\u003Ch4>Generation Options\u003C\u002Fh4>\n\u003Cul>\n\u003Cli>\u003Ccode>controller\u003C\u002Fcode>: Generate controller (default: true)\u003C\u002Fli>\n\u003Cli>\u003Ccode>service\u003C\u002Fcode>: Generate service (default: true)\u003C\u002Fli>\n\u003Cli>\u003Ccode>entity\u003C\u002Fcode>: Generate entity class (default: false)\u003C\u002Fli>\n\u003Cli>\u003Ccode>interface\u003C\u002Fcode>: Generate interface (default: false)\u003C\u002Fli>\n\u003Cli>\u003Ccode>middleware\u003C\u002Fcode>: Generate middleware (default: false)\u003C\u002Fli>\n\u003Cli>\u003Ccode>pipe\u003C\u002Fcode>: Generate pipe (default: false)\u003C\u002Fli>\n\u003Cli>\u003Ccode>provider\u003C\u002Fcode>: Generate provider (default: false)\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch4>Post-Processing Options\u003C\u002Fh4>\n\u003Cul>\n\u003Cli>\u003Ccode>use@\u003C\u002Fcode>: Convert imports to use \u003Ccode>@\u002F\u003C\u002Fcode> path style (default: false)\u003C\u002Fli>\n\u003Cli>\u003Ccode>cleanImports\u003C\u002Fcode>: Create index.ts files and clean imports (default: false)\u003C\u002Fli>\n\u003Cli>\u003Ccode>formatter\u003C\u002Fcode>: Run formatter after generation (\u003Ccode>prettier\u003C\u002Fcode>, \u003Ccode>eslint\u003C\u002Fcode>, \u003Ccode>oxfmt\u003C\u002Fcode>, \u003Ccode>oxlint\u003C\u002Fcode>)\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2>TUI Interface\u003C\u002Fh2>\n\u003Cp>Nestie features a beautiful, colorful terminal interface with:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>Module Selection\u003C\u002Fstrong>: Choose between creating new modules or adding to existing ones\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Component Configuration\u003C\u002Fstrong>: Interactive checkboxes for selecting components\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Confirmation Screen\u003C\u002Fstrong>: Review your selections before generation\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Results Display\u003C\u002Fstrong>: Clear feedback on generation success or failure\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>Navigation\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>\u003Ccode>↑\u002F↓\u003C\u002Fcode> or \u003Ccode>j\u002Fk\u003C\u002Fcode>: Navigate options\u003C\u002Fli>\n\u003Cli>\u003Ccode>Space\u003C\u002Fcode>: Toggle checkboxes\u003C\u002Fli>\n\u003Cli>\u003Ccode>Tab\u003C\u002Fcode>: Switch between new\u002Fexisting modules\u003C\u002Fli>\n\u003Cli>\u003Ccode>Enter\u003C\u002Fcode>: Confirm selection\u003C\u002Fli>\n\u003Cli>\u003Ccode>Esc\u003C\u002Fcode>: Go back\u003C\u002Fli>\n\u003Cli>\u003Ccode>q\u003C\u002Fcode>: Quit\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2>Development\u003C\u002Fh2>\n\u003Ch3>Project Structure\u003C\u002Fh3>\n\u003Cpre>\u003Ccode>nestie\u002F\n├── cmd\u002F                 # CLI commands\n│   ├── root.go         # Root command setup\n│   ├── new.go          # New project command\n│   ├── add.go          # Add module command\n│   └── utils.go        # Utility functions\n├── internal\u002F\n│   ├── config\u002F         # Configuration management\n│   ├── generator\u002F      # NestJS command generation\n│   ├── scanner\u002F        # Module detection\n│   └── tui\u002F           # Terminal UI components\n│       ├── app.go     # TUI application\n│       ├── model.go   # Bubble Tea model\n│       └── view.go    # UI rendering\n├── schema.json        # JSON schema for .nestie.json\n└── main.go            # Application entry point\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch3>Building\u003C\u002Fh3>\n\u003Cpre>\u003Ccode class=\"language-bash\">go mod tidy\ngo build -o nestie .\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch3>Testing\u003C\u002Fh3>\n\u003Cpre>\u003Ccode class=\"language-bash\">go test .\u002F...\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch2>Contributing\u003C\u002Fh2>\n\u003Cp>Contributions are welcome! Please feel free to submit a Pull Request.\u003C\u002Fp>\n\u003Ch2>License\u003C\u002Fh2>\n\u003Cp>This project is licensed under the Apache 2.0 License - see the LICENSE file for details.\u003C\u002Fp>\n\u003Ch2>Acknowledgments\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fcharmbracelet\u002Fbubbletea\" target=\"_blank\" rel=\"noopener noreferrer\">Bubble Tea\u003C\u002Fa> - Fantastic TUI framework\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fcharmbracelet\u002Flipgloss\" target=\"_blank\" rel=\"noopener noreferrer\">Lip Gloss\u003C\u002Fa> - Beautiful styling\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fspf13\u002Fcobra\" target=\"_blank\" rel=\"noopener noreferrer\">Cobra\u003C\u002Fa> - Powerful CLI framework\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"https:\u002F\u002Fnestjs.com\u002F\" target=\"_blank\" rel=\"noopener noreferrer\">NestJS\u003C\u002Fa> - The amazing framework this tool supports\u003C\u002Fli>\n\u003C\u002Ful>\n",1787323193596]