Skip to content

Commit

Permalink
fix: Add 'log-file-directory' as a flag that's always allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
mutahhir committed Feb 12, 2024
1 parent 5b7438c commit 3e86a5a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/cdktf-cli/src/bin/cdktf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ yargs
required: false,
desc: "Which log level should be written. Only supported via setting the env CDKTF_LOG_LEVEL",
})
.option("log-file-directory", {
require: false,
desc: "The directory path where CDKTF should create `cdktf.log` and print logs at the `debug` level. If not set, CDKTF writes logs to standard out at the level specified in `CDKTF_LOG_LEVEL`.",
})
.option("context-json", {
required: false,
hidden: true,
Expand Down

0 comments on commit 3e86a5a

Please sign in to comment.