@lemur-bookstores/secure-stack-cli
v0.2.0
Published
CLI tool for SecureStack - Project scaffolding, code generation, and development tools
Downloads
51
Maintainers
Readme
@lemur-bookstores/secure-stack-cli
The official CLI tool for SecureStack, designed to streamline the development of secure, type-safe applications.
Installation
npm install -g @lemur-bookstores/secure-stack-cliUsage
securestack <command> [options]Commands
Project Creation
create <project-name>
Creates a new SecureStack project with interactive setup.
securestack create my-appOptions:
-t, --template <template>: Project template (monolith, microservices, hybrid)--skip-install: Skip dependency installation--skip-prompts: Skip interactive prompts
init
Initialize SecureStack in an existing project.
securestack initCode Generation
generate service <name>
Generates a new service with CRUD operations, router, and middleware.
securestack generate service usergenerate module <name>
Generates a basic module structure.
securestack generate module authgenerate router <name>
Generates a router with query and mutation stubs.
securestack generate router postsgenerate middleware <name>
Generates a middleware template.
securestack generate middleware loggingDevelopment
dev
Starts the development server with hot reload.
securestack dev
securestack dev --port 4000build
Builds the project for production.
securestack build
securestack build --minifyService Mesh
mesh visualize
Visualizes the service mesh topology.
securestack mesh visualizemesh status
Shows the status of a service.
securestack mesh status --url http://localhost:3000mesh health
Runs health checks on a service.
securestack mesh health --url http://localhost:3000mesh rotate-keys
Manually rotates encryption keys for a service.
securestack mesh rotate-keys --url http://localhost:3000Deployment
docker
Generates Dockerfile and docker-compose.yml.
securestack dockerdeploy
Runs deployment scripts defined in package.json.
securestack deployLicense
MIT
