class AmberCLI::Documentation::ApplicationAnalysis

Overview

Application Analysis

Amber CLI provides tools to analyze and understand your application structure.

Routes Display

The routes command shows all defined routes in your application.

Usage

amber routes [options]

Options

Examples

Display routes in table format:

amber routes

Output as JSON:

amber routes --json

Sample Output

Verb      Controller       Action    Pipeline  Scope    URI Pattern
GET       HomeController   index     web       /        /
GET       PostsController  index     web       /        /posts
POST      PostsController  create    web       /        /posts
GET       PostsController  show      web       /        /posts/:id

Pipeline Analysis

The pipelines command displays pipeline configuration and associated plugs.

Usage

amber pipelines [options]

Options

Examples

Show all pipelines with plugs:

amber pipelines

Show only pipeline names:

amber pipelines --no-plugs

Defined in:

amber_cli/documentation.cr