MDAA TS Docs
    Preparing search index...

    Function discoverModuleCdkDir

    • Discover the directory the CDK CLI runs from for a given module by invoking mdaa in --testing mode (which prints the command it would run, prefixed with cd '<modulePath>' && npx cdk synth ...) without executing any synth. CDK reads cdk.context.json from this directory.

      The action verb may be quoted (cdk 'synth') or bare (cdk synth) depending on how the CLI assembles the command, so the match accepts either.

      Parameters

      • kitWorkDir: string
      • mdaaWorkingDir: string
      • cdkAccount: string
      • extraArgs: string

      Returns string | undefined