SalesforceCommerceCloud / SalesforceCommerceCloud/b2c-developer-tooling
Implement ecdn cache ocapi-toggle command
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 19
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 33
Description
Summary
The b2c ecdn cache ocapi-toggle command was documented but never implemented. This command would toggle the OCAPI caching page rule on a CDN zone.
Command to Implement
b2c ecdn cache ocapi-toggle --zone <zone> --enabled/--no-enabled
Context
Discovered during v1.0 GA readiness audit. Documentation was removed in the cleanup PR.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the CLI entry point for b2c ecdn cache and inspect how existing cache commands handle --zone and boolean options. Implement ocapi-toggle to toggle the OCAPI caching page rule on the selected CDN zone, then verify both --enabled and --no-enabled behavior against the command's tests or CLI checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli, cloud
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100