# iridescentarmor/chainmail-cafe architecture

> Architecture diagram of the GitHub repository iridescentarmor/chainmail-cafe, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/iridescentarmor/chainmail-cafe
- Repository: https://github.com/iridescentarmor/chainmail-cafe

## Overview

Chainmail Cafe is a small C# console app for maintaining a café bill. The user manages items, tips, and bill data through the CLI; the app displays totals including GST and can load or save a bill to a file. These responsibilities are implemented together in Program.cs, so they are represented as one runtime component. The excerpts show the CLI entry point and portions of item, tip, display, and file-handling logic; the README documents the broader capabilities.

Main entry points: [`BillCafe/Program.cs`](https://github.com/iridescentarmor/chainmail-cafe/blob/master/BillCafe/Program.cs) (BillCafe CLI)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("Cafe user"))
node_cli["BillCafe CLI<br/>[Program.cs]"]
node_billfile["Bill file"]

node_user -->|"uses"| node_cli
node_cli -->|"loads and saves"| node_billfile

click node_cli "https://github.com/iridescentarmor/chainmail-cafe/blob/master/BillCafe/Program.cs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_user toneBlue
class node_cli toneTeal
class node_billfile toneIndigo
```

## Components

### Other components

- **Cafe user**
- [BillCafe CLI](https://github.com/iridescentarmor/chainmail-cafe/blob/master/BillCafe/Program.cs): `BillCafe/Program.cs`
- **Bill file**

## Connections

- Cafe user → BillCafe CLI: uses (evidence: `README.md`)
- BillCafe CLI → Bill file: loads and saves (evidence: `README.md`)
