platformcrew/Flag Parser
Parse boolean flags from text (or commit message) using key-value pattern matching
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| text | The text to search for flags. If empty or not provided, falls back to the GitHub commit message from GITHUB_EVENT_PATH (available on push events). | no | "" |
| flags | Multiline flag definitions. Each line must follow the format: flag-name: "search-string" Example: example-flag: "[example-flag]" deploy-prod: "DEPLOY_PROD" The search is a literal, case-sensitive substring match. Lines starting with '#' are treated as comments and ignored. | yes | — |
Outputs
no outputs