Skip to content

Add global options to Jakefile #352

@luvies

Description

@luvies

Could you add a global options object that allows setting defaults for various options? For example, the exec function current defaults to printStdout and printStderr to false, but with the global options you could do something like the following:

jake.options.exec.printStdout = true;
jake.options.exec.printStderr = true;

And this would mean that all future calls to jake.exec would have both options true by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions