diff --git a/lib/cli-import.ts b/lib/cli-import.ts index 4865a3d..f46c917 100644 --- a/lib/cli-import.ts +++ b/lib/cli-import.ts @@ -28,7 +28,7 @@ export default function CliImport() { program.parse(process.argv); let settings = config.merge(program); - if (process.argv.length === 2) { + if (!(settings.collection && settings.workspace && settings.accessKey && settings.displayName && settings.file)) { program.help(); } else { try {