🎥 Make videos programmatically with React
Update functionsLsCommand
Ritish Srivastava6f7827344965
diff --git a/packages/lambda/src/cli/commands/functions/ls.ts b/packages/lambda/src/cli/commands/functions/ls.tsindex 9104e445ee..d2680a0132 100644--- a/packages/lambda/src/cli/commands/functions/ls.ts+++ b/packages/lambda/src/cli/commands/functions/ls.ts@@ -2,6 +2,7 @@ import {CliInternals} from '@remotion/cli';import type {LogLevel} from '@remotion/renderer';import {getFunctions} from '../../../api/get-functions';import {getAwsRegion} from '../../get-aws-region';+import {parsedLambdaCli} from '../../args';const NAME_COLS = 70;const MEMORY_COLS = 15;@@ -23,9 +24,11 @@ export const functionsLsCommand = async (logLevel: LogLevel) => {});fetchingOutput.update('Getting functions...', false);+ const compatibleOnly = parsedLambdaCli['compatible-only'];+const functions = await getFunctions({region,- compatibleOnly: false,+ compatibleOnly,});if (CliInternals.quietFlagProvided()) {