๐ ๏ธ Tools CLI
The NestFlux Tools CLI is a powerful command-line utility that helps you manage your project configuration and generate development resources. It provides an interactive interface for common development tasks.
๐ Getting Startedโ
To start the Tools CLI, run the following command in your project root:
pnpm tools
This will launch an interactive menu with various options to help you configure and manage your NestFlux project.
๐ Available Featuresโ
๐ Project Metadata Managementโ
The Tools CLI allows you to easily update your project's core information:
๐ท๏ธ Change Project Nameโ
- Updates the project name in all necessary
package.json
files across the monorepo - Modifies root package.json and workspace packages that reference the project name
- Prevents manual editing errors and maintains project integrity
๐ข Change Project Versionโ
- Updates the version number in all relevant
package.json
files throughout the monorepo - Follows semantic versioning and ensures consistency across all workspace packages
- Ensures proper version management without manual errors
Always use the CLI to update name or version to ensure consistency across your entire monorepo workspace
๐ณ Docker Generationโ
๐๏ธ PostgreSQL Database Dockerโ
The Tools CLI can generate a complete PostgreSQL database setup with Docker, including:
- ๐ฆ Docker Compose Configuration: Ready-to-use
docker-compose.yml
for PostgreSQL - ๐ SSL/TLS Support: Automatically configured with SSL encryption
- ๐ก๏ธ Security Best Practices: Implements secure database configuration
๐ SSL Certificate Setupโ
When generating the PostgreSQL Docker setup, the tool:
-
๐ Certificate Requirements: You only need to provide:
- SSL certificate file (
.crt
) - Private key file (
.key
)
- SSL certificate file (
-
๐ Automatic Configuration: The tool handles:
- Docker volume mounting for certificates
- PostgreSQL SSL configuration
- Connection string setup
- Environment variable configuration
The Tools CLI streamlines your NestFlux development workflow by automating common tasks and ensuring consistent, secure configurations across your project! ๐โจ