Skip to content

Commit

Permalink
chore: prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
ReuDa committed Dec 23, 2024
1 parent 061498f commit b01bf62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## v4.2.5 (next release)
- `advice validate-status` - parameter `query` is now optional

## v4.2.4
- Removed unnecessary dependency

Expand Down
6 changes: 1 addition & 5 deletions src/cli/steadybit-advice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ program
.description('Validates the status of one or multiple advice for a given environment and an optional query.')
.addOption(new Option('-e, --environment <environment>', 'The environment name.').makeOptionMandatory(true))
.addOption(new Option('-s, --status <expected-status>', 'The expected status of the advice.').default('Implemented'))
.addOption(
new Option('-q, --query <query>', '(optional) A target query to filter advice by targets.').makeOptionMandatory(
true
)
)
.addOption(new Option('-q, --query <query>', '(optional) A target query to filter advice by targets.'))
.action(requirePlatformAccess(validateAdviceStatus));

program.parseAsync(process.argv);

0 comments on commit b01bf62

Please sign in to comment.