Skip to content

Commit f2b4542

Browse files
committed
feat: add optional patterns for subcommand with group name and description
1 parent 75fa99f commit f2b4542

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/cli/src/arcscord_file/file_v1.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ const fileDataSchema = z.object({
2323
defaultSubCommandDescriptionPattern: z.string().optional(),
2424
defaultSubCommandGroupNamePattern: z.string().optional(),
2525
defaultSubCommandGroupDescriptionPattern: z.string().optional(),
26+
defaultSubCommandWithGroupNamePattern: z.string().optional(),
27+
defaultSubCommandWithGroupDescriptionPattern: z.string().optional(),
2628
}).optional(),
2729
});
2830

packages/cli/src/arcscord_file/type.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ export type I18nOptions = {
3333
defaultSubCommandDescriptionPattern?: string;
3434
defaultSubCommandGroupNamePattern?: string;
3535
defaultSubCommandGroupDescriptionPattern?: string;
36+
defaultSubCommandWithGroupNamePattern?: string;
37+
defaultSubCommandWithGroupDescriptionPattern?: string;
3638
};
3739

3840
export type PackageManagerType = "npm" | "yarn" | "pnpm";

0 commit comments

Comments
 (0)