diff --git a/NucleicRemote/NucleicRemote/Views/Transcript/GitCommitCard.swift b/NucleicRemote/NucleicRemote/Views/Transcript/GitCommitCard.swift index d01754b..8ce2472 100644 --- a/NucleicRemote/NucleicRemote/Views/Transcript/GitCommitCard.swift +++ b/NucleicRemote/NucleicRemote/Views/Transcript/GitCommitCard.swift @@ -8,6 +8,10 @@ struct GitCommitCard: View { let commit: GitCommitSummary.Commit /// The literal command, revealed under "Show command". Omit to hide the disclosure. var rawCommand: String? = nil + /// The tool result text (e.g. the hash a trailing `git log --oneline -1` prints), shown + /// beneath the card once the command has run. Omit inside an expanded tool card, where the + /// result already shows as its own block. + var output: String? = nil private var accent: Color { Palette.accent }