application tier

application-cli

`application-cli` binary — scaffolds, migrates, bootstraps, and diagnoses framework apps assembled from application-core + application-engine

`application-cli` binary — scaffolds, migrates, bootstraps, and diagnoses framework apps assembled from application-core + application-engine

Tierapplication
Roleunclassified (baselined)
Pathcrates/application/cli
Edition2021
Targetsapplication-cli, dive_shop_e2e
Public items1 across 0 modules
Tests24

What it is for

application-cli CLI binary — Sprint 35B.

Frappe-bench-style binary that scaffolds + operates framework apps assembled via application-cli-control. Per D-35B.3, supports both flag-driven scripted invocation (application-cli new --vertical=dive-shop my-site) and interactive wizard fallback (application-cli new alone drops into a dialoguer wizard that fills in gaps).

Capabilities

PagesCmd

application-cli CLI binary — Sprint 35B.

Item
pub enum PagesCmd

How to use it

No examples/ target and no doctest in this crate's rustdoc. The tests listed under Verification are the closest executable usage.

Module structure

No public modules: the crate root is its whole surface.

Public surface

`crate root`

ItemWhat it is
pub enum PagesCmdapplication-cli pages … subcommands (Sprint 0.35 T-0.35.5).

No pub use re-exports: every item above is declared in this crate.

Boundary

Depends on no other workspace tier.

Shares tier application with 120 other crates: application-agreements, application-ai, application-analytics, application-approvals, application-assessments, application-audit-log, application-auth, application-billing, … (120 total).

_What this crate deliberately does NOT own is a judgment. No committed registry records one for it, so none is stated here._

Where it sits

Tier (ontology)application
Architectural role (taxonomy)unclassified (baselined)
Locationcrates/application/cli
Vocabulary in force (lexicon)current

Dependencies

Runtime, in this workspace.

CrateTierOptionalOnly on
`application-audit-log`applicationnoalways
`application-auth`applicationnoalways
`application-cms`applicationnoalways
`application-core`applicationnoalways
`application-engine`applicationnoalways

Runtime, from outside the workspace.

CrateRequirementFeaturesOptionalOnly on
anyhow^1noalways
chrono^0.4serdenoalways
clap^4derivenoalways
console^0.15noalways
dialoguer^0.11noalways
dirs^5noalways
include_dir^0.7noalways
serde^1derivenoalways
serde_json^1noalways
sqlx^0.8runtime-tokio, postgres, chrono, uuid, json, postgres, … (9 total)noalways
tera^1noalways
thiserror^2noalways
tokio^1fullnoalways
toml^0.8noalways
uuid^1v4, v7, serde, jsnoalways
walkdir^2noalways

Development, from outside the workspace.

CrateRequirementFeaturesOptionalOnly on
tempfile^3noalways

Build. None.

Depended on by. Nothing in this workspace.

Signal flow — what reaches this crate, and what it reaches.

flowchart LR
  SELF["application-cli"]
  SELF -->|runtime| n_application_audit_log["application-audit-log"]
  SELF -->|runtime| n_application_auth["application-auth"]
  SELF -->|runtime| n_application_cms["application-cms"]
  SELF -->|runtime| n_application_core["application-core"]
  SELF -->|runtime| n_application_engine["application-engine"]
  classDef self fill:#1f883d,stroke:#1f883d,color:#fff;
  class SELF self;

Feature flags

No Cargo features are defined: every capability is unconditional, so no consumer can receive a half-wired crate.

Targets

KindNameSource
binapplication-cli`src/main.rs`
testdive_shop_e2e`tests/dive_shop_e2e.rs`

Error model

No public error type was detected: no public item declares a type named *Error, and no public signature returns one.

Operational characteristics

PropertyEvidence
async public surfacenone detected
async runtimeyes
database accessyes
network I/Onone detected
unsafe codenone detected
environment variablesyes

No unsafe block, unsafe fn, unsafe impl or unsafe trait was found by the parser anywhere in this crate's source.

Configuration

VariableRead in
DATABASE_URLsrc/commands/bootstrap.rs
HOSTNAMEsrc/selfaudit.rs
LOGNAMEsrc/selfaudit.rs
USERsrc/selfaudit.rs

No workspace crate depends on this one.

Verification

KindCount
Unit tests23
Integration tests1
Examples0
Doctests0

Evidence by module. How often each public module is named by something executable.

ModuleTestsExamplesConsumers
crate root100

What the tests establish, by name:

Documentation coverage

MeasureDocumentedTotal
Public items with rustdoc11
Public modules with a //! block00
pie showData
    title Public items with rustdoc
    "Documented" : 1
    "No rustdoc detected" : 0

Metrics

MetricValue
Rust source files16
Source lines2503
Code lines1909
Public API items1
Public modules0
Tests24
Examples0
Cargo features0
Direct runtime dependencies21
Workspace reverse dependencies0
pie showData
    title Public API by kind
    "enum" : 1
pie showData
    title Rust source composition
    "Code" : 1909
    "Blank or comment" : 594

Generation

Rendered by tools-corpus corpus readme from repository evidence alone, renderer schema 2, lexicon current. No model, network service or database was consulted. Regenerate with tools-corpus corpus readme --write; verify with --check.

All application · Manual