Skip to content

Conversation

bosdhill
Copy link
Contributor

@bosdhill bosdhill commented Aug 6, 2025

Read input from stdin if --config - is passed.

Fix small typo for similar stdin usage message in caddy fmt.

Return same error as 'validate' when there are no args.

Resolves #7162

Read input from stdin if `--config -` is passed.

Fix small typo for similar stdin usage message in `caddy fmt`.

Return same error as 'validate' when there are no args.
@CLAassistant
Copy link

CLAassistant commented Aug 6, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@francislavoie francislavoie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

FYI a nice shortcut is -c- :)

@francislavoie francislavoie merged commit 19ff47a into caddyserver:master Aug 7, 2025
23 checks passed
@francislavoie francislavoie added this to the v2.10.1 milestone Aug 7, 2025
@francislavoie francislavoie added the feature ⚙️ New feature or request label Aug 7, 2025
@bosdhill bosdhill deleted the feature/adapt-stdin branch August 7, 2025 01:07
mohammed90 pushed a commit to cedricziel/caddy that referenced this pull request Aug 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature ⚙️ New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

adapt: support for reading from stdin
3 participants