improved
CLI Improvements
4 months ago by Pierre Courgeon
The 0.4.0 version of the Sifflet CLI will be available on July 7th.
Changes
The sifflet code workspace command has been improved as follows:
sifflet code workspace applycommand:- Now shows a plan and asks for user confirmation to apply. Use the
--auto-approveflag to directly apply without seeing the plan. - Breaking change: Now, untracked monitors are deleted from Sifflet by default. Use the
--keep-untracked-resourcesflag to keep them. - Breaking change: The
--dry-runflag has been removed. Use thesifflet code workspace plancommand instead.
- Now shows a plan and asks for user confirmation to apply. Use the
- The
sifflet code workspace plancommand is now available. sifflet code workspace deletecommand:- Now shows a plan and asks for user confirmation to apply. Use the
--auto-approveflag to directly apply without seeing the plan. - The
--keep-resourcesflag 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
--verboseflag has been removed. All commands are now verbose by default. Use the--quietflag to only see errors and a summary.
Migration guide
- If you use
sifflet code workspace applyorsifflet code workspace deletein CI/CD pipelines, you should add the--auto-approveflag to skip the confirmation step. - Replace
sifflet code workspace apply --dry-runcommands bysifflet code workspace plan - Remove
--verboseflags
