improved
CLI Improvements
7 days ago by Pierre Courgeon
The 0.4.0
version of the Sifflet CLI will be available on July 30th.
Changes
The sifflet code workspace
command has been improved as follows:
sifflet code workspace apply
command:- Now shows a plan and asks for user confirmation to apply. Use the
--auto-approve
flag to directly apply without seeing the plan. - Breaking change: Now, untracked monitors are deleted from Sifflet by default. Use the
--keep-untracked-resources
flag to keep them. - Breaking change: The
--dry-run
flag has been removed. Use thesifflet code workspace plan
command instead.
- Now shows a plan and asks for user confirmation to apply. Use the
- The
sifflet code workspace plan
command is now available. sifflet code workspace delete
command:- Now shows a plan and asks for user confirmation to apply. Use the
--auto-approve
flag to directly apply without seeing the plan. - The
--keep-resources
flag is now available. Use it if you want to delete the workspace but keep the monitors.
- Now shows a plan and asks for user confirmation to apply. Use the
- Breaking change: The
--verbose
flag has been removed. All commands are now verbose by default. Use the--quiet
flag to only see errors and a summary.
Migration guide
- If you use
sifflet code workspace apply
orsifflet code workspace delete
in CI/CD pipelines, you should add the--auto-approve
flag to skip the confirmation step. - Replace
sifflet code workspace apply --dry-run
commands bysifflet code workspace plan
- Remove
--verbose
flags