configuration options for createFiles.

interface CreateFilesConfig {
    dir?: string;
    log?:
        | boolean
        | "none"
        | "basic"
        | "verbose";
    dryrun?: boolean;
}

Properties

Properties

dir?: string

the desired output directory. if a relative path is provided, then it will be resolved as a path relative to Deno's current working directory. (which is generally where deno.json resides.)

log?:
    | boolean
    | "none"
    | "basic"
    | "verbose"

select logging level:

  • false or "none": skip logging.
  • true or "basic": log what is being carried out at the top level.
  • "verbose": in addition to basic logging, it also logs which files/folders are being copied or generated.

"basic"

dryrun?: boolean

enable dryrun if you wish for nothing to be written onto the the filesystem.

false