arpeggio-cli

Crates.ioarpeggio-cli
lib.rsarpeggio-cli
version0.0.2
sourcesrc
created_at2024-04-10 10:31:50.478909
updated_at2024-04-10 15:31:17.297442
descriptionCLI for Arpeggio-based projects
homepage
repositoryhttps://github.com/isaacdecoded/arpeggio-cli
max_upload_size
id1203425
size75,028
Isaac Herrera (isaacdecoded)

documentation

README

ARPEGGIO CLI

The Arpeggio CLI tools provides an interface for managing projects based on the Arpeggio template and enforces the practice of Domain-driven Design (DDD), Clean Architecture and Command and Query Responsibility Segregation (CQRS) approaches.

Requirements

Installation

cargo install arpeggio-cli

Usage

Most relevant commands included in the Arpeggio CLI are:

  • Create a new project
arpeggio-cli new <PROJECT_NAME>
  • Add a bounded context to current project directory
arpeggio-cli add bounded-context <BOUNDED_CONTEXT_NAME>
  • Add an aggregate to specified bounded context
arpeggio-cli add aggregate <AGGREGATE_NAME> [BOUNDED_CONTEXT_NAME]
  • And finally, add components to specified aggregate and bounded context, for example:
arpeggio-cli add entity <ENTITY_NAME> [AGGREGATE_NAME] [BOUNDED_CONTEXT_NAME]
arpeggio-cli add command <COMMAND_NAME> [AGGREGATE_NAME] [BOUNDED_CONTEXT_NAME]
arpeggio-cli add controller <CONTROLLER_NAME> [AGGREGATE_NAME] [BOUNDED_CONTEXT_NAME]
arpeggio-cli add repository <REPOSITORY_NAME> [AGGREGATE_NAME] [BOUNDED_CONTEXT_NAME] [--domain] [--infrastructure]

For more information, this is possible to explore the commands and its arguments by using the --help flag:

arpeggio-cli --help
Commit count: 20

cargo fmt