-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(product): Add 'product' commands for each Fastly product. #1362
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love the test mocking. Package names could be more idiomatic.
Adds 'enable', 'disable', and 'status' commands for each product previously supported by the 'products' command (which is now deprecated). Also adds 'configure' commands for products which support configuration (DDoS Protection and Next-Gen WAF).
@cee-dub If you're interested, this could use a second 'structural' review; much like go-fastly, this now has an |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice use of generics to deal with consuming the different API types that are essentially the same.
Adds 'enable', 'disable', and 'status' commands for each product previously supported by the 'products' command (which is now deprecated).
Also adds 'configure' commands for products which support configuration (DDoS Protection and Next-Gen WAF).