Skip to content

Commit

Permalink
fix: list all resource type filter valeus (api7#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
bzp2010 authored May 23, 2024
1 parent a6f6b52 commit c3b568a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/cli/src/command/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ export class BackendCommand<OPTS extends object = object> extends BaseCommand {
'Filter for resource types, contains only the specified type',
)
.conflicts('excludeResourceType')
.choices(Object.values(ADCSDK.ResourceType))
.argParser(parseResourceTypeFilter),
)
.addOption(
Expand All @@ -140,6 +141,7 @@ export class BackendCommand<OPTS extends object = object> extends BaseCommand {
'Filter for resource types, not contains only the specified type',
)
.conflicts('includeResourceType')
.choices(Object.values(ADCSDK.ResourceType))
.argParser(parseResourceTypeFilter),
)
.addOption(
Expand Down

0 comments on commit c3b568a

Please sign in to comment.