You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CDTOOL-1258] Move imageoptimizerdefaults commands under service (#1627)
### Change summary
This PR moves the `imageoptimizerdefaults` command under the `service`
command. A alias for `fastly imageoptimizerdefaults` is added here to
prevent breaking changes.
All Submissions:
* [x] Have you followed the guidelines in our Contributing document?
* [x] Have you checked to ensure there aren't other open [Pull
Requests](https://github.com/fastly/cli/pulls) for the same
update/change?
<!-- You can erase any parts of this template not applicable to your
Pull Request. -->
### New Feature Submissions:
* [x] Does your submission pass tests?
```
make test TEST_ARGS="-run TestImageOptimizerDefaultsUpdate ./pkg/commands/service/imageoptimizerdefaults"
ok github.com/fastly/cli/pkg/commands/service/imageoptimizerdefaults 1.117s
make test TEST_ARGS="-run TestImageOptimizerDefaultsGet ./pkg/commands/service/imageoptimizerdefaults"
ok github.com/fastly/cli/pkg/commands/service/imageoptimizerdefaults 1.086s
```
### Changes to Core Features:
* [ ] Have you written new tests for your core changes, as applicable?
* [x] Have you successfully run tests with your changes locally?
### User Impact
None, an alias has been made.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@
18
18
- feat(service/backend): moved the `backend` command under the `service` command, with an unlisted and deprecated alias of `backend` ([#1621](https://github.com/fastly/cli/pull/1621))
19
19
- feat(service/backend): moved the `acl` and `aclentry` commands under the `service` command, with a unlisted and deprecated aliases of `acl` and `aclentry` ([#1621](https://github.com/fastly/cli/pull/1624))
20
20
- feat(version): If the latest version is at least one major version higher than the current version, provide links to the release notes for the major version(s) so the user can review them before upgrading. ([#1623](https://github.com/fastly/cli/pull/1623))
21
+
- feat(service/imageoptimizerdefaults): moved the `imageoptimizerdefaults` commands under the `service` command, with an unlisted and deprecated alias of `imageoptimizerdefaults` ([#1627](https://github.com/fastly/cli/pull/1627))
21
22
- feat(service/alert): moved the `alerts` command to the `service alert` command, with an unlisted and deprecated alias of `alerts` ([#1616](https://github.com/fastly/cli/pull/1626))
0 commit comments