Skip to content

Add URL flag helpers - #536

Open
Skytuhua wants to merge 1 commit into
spf13:masterfrom
Skytuhua:feat/url-flags
Open

Skytuhua wants to merge 1 commit into
spf13:masterfrom
Skytuhua:feat/url-flags

Conversation

@Skytuhua

Copy link
Copy Markdown

Add URL flags backed by net/url.Parse, with shorthand, variable, and getter helpers. Relative URLs are supported, and invalid input preserves the previous value.

Tests: go test ./... and go vet ./... pass.

Closes #398.

@CLAassistant

CLAassistant commented Oct 30, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Support URLs as a native Flag type

2 participants