Drop the shell prompt from a command
Rule prose-craft.command-prompt in the Prose craft category.
| Field | Value |
|---|---|
| Kind | pattern |
| Severity | warning |
| Scope | raw |
Profile strict |
advisory |
Profile normal |
excluded |
Profile relaxed |
excluded |
Message
Section titled “Message”shell prompt: <match> – drop the prompt so the command can be copied
Show the command alone; name the shell in the fence’s language tag if it matters.
Examples
Section titled “Examples”Example 1: flagged
Section titled “Example 1: flagged”$ npm installRewrite:
npm installExample 2: flagged
Section titled “Example 2: flagged”❯ git statusRewrite:
> git status is what a quoted line looks like, not a promptProvenance
Section titled “Provenance”Retired Vale style – prose-craft/CommandPrompt.yml