yasserstudio/gmc — Google Merchant Center CLI
Run gmc in CI — preflight gates feed files offline with inline annotations, job summaries, and structured outputs.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| command | The gmc command to run (e.g. preflight, 'reports check', 'feeds diff'). Default: preflight. | no | preflight |
| args | Extra arguments for the command, e.g. '--dir feeds --strict'. | no | "" |
| account | Merchant Center account id (sets GMC_ACCOUNT_ID). Needed for authenticated commands. | no | "" |
| credentials | A Google service-account key JSON, for authenticated commands. Pass a repository secret — never inline. | no | "" |
| version | The @gmc-cli/cli version to run (npm dist-tag or version). Default: latest. | no | latest |
| working-directory | Directory to run gmc in (where your feeds / .gmcpreflightrc live). | no | . |
Outputs
| name | description |
|---|---|
| ok | Whether preflight passed (true/false). Only set when command is preflight. |
| scanned | Number of products scanned. Only set when command is preflight. |
| errors | Number of errors found. Only set when command is preflight. |
| warnings | Number of warnings found. Only set when command is preflight. |
| report | Full preflight report as JSON. Only set when command is preflight. |