Add a way to filter out projects via the CLI.
This commit is contained in:
parent
114596154b
commit
97621dec03
|
@ -22,6 +22,9 @@ async function main(): Promise<void> {
|
||||||
`,
|
`,
|
||||||
{
|
{
|
||||||
flags: {
|
flags: {
|
||||||
|
filter: {
|
||||||
|
type: 'string',
|
||||||
|
},
|
||||||
includeDefaults: {
|
includeDefaults: {
|
||||||
default: false,
|
default: false,
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
|
@ -43,7 +46,7 @@ async function main(): Promise<void> {
|
||||||
d2022_03_07,
|
d2022_03_07,
|
||||||
d2022_03_08,
|
d2022_03_08,
|
||||||
d2022_03_09,
|
d2022_03_09,
|
||||||
];
|
].filter((project) => project.name.startsWith(cli.flags.filter ?? ''));
|
||||||
|
|
||||||
for (const {
|
for (const {
|
||||||
createInputImage,
|
createInputImage,
|
||||||
|
|
Loading…
Reference in New Issue