diff --git a/source/driftingnebula.ts b/source/driftingnebula.ts index b2d511d..6548230 100644 --- a/source/driftingnebula.ts +++ b/source/driftingnebula.ts @@ -22,6 +22,9 @@ async function main(): Promise { `, { flags: { + filter: { + type: 'string', + }, includeDefaults: { default: false, type: 'boolean', @@ -43,7 +46,7 @@ async function main(): Promise { d2022_03_07, d2022_03_08, d2022_03_09, - ]; + ].filter((project) => project.name.startsWith(cli.flags.filter ?? '')); for (const { createInputImage,