arpeggio

Crates.ioarpeggio
lib.rsarpeggio
version1.0.6
sourcesrc
created_at2024-05-09 06:48:35.156098
updated_at2024-10-30 12:32:38.178716
descriptionCLI for managing Arpeggio-based projects
homepage
repositoryhttps://github.com/isaacdecoded/arpeggio-cli
max_upload_size
id1234881
size87,514
Isaac Herrera (isaacdecoded)

documentation

README

ARPEGGIO CLI

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

Requirements

Installation

cargo install arpeggio

Usage

Most relevant commands included in the Arpeggio CLI are:

  • Create a new project
arpeggio new <PROJECT_NAME>
  • Add a bounded context to current project directory
arpeggio add bounded-context <BOUNDED_CONTEXT_NAME>
  • Add an aggregate to specified bounded context
arpeggio add aggregate <AGGREGATE_NAME> [BOUNDED_CONTEXT_NAME]
  • And finally, add components to specified aggregate and bounded context, for example:
arpeggio add entity <ENTITY_NAME> [AGGREGATE_NAME] [BOUNDED_CONTEXT_NAME]
arpeggio add command <COMMAND_NAME> [AGGREGATE_NAME] [BOUNDED_CONTEXT_NAME]
arpeggio add controller <CONTROLLER_NAME> [AGGREGATE_NAME] [BOUNDED_CONTEXT_NAME]
arpeggio 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 --help
Commit count: 20

cargo fmt