Skip to content

Provide a programmatic way to configure Picocli's TraceLevel #1471

@ekinano

Description

@ekinano

The current pattern is to set the picocli.trace system property. It would be nice if there were a more programmatic way to do this, e.g. something like

cmdLine.setTraceLevel(OFF)

For context, we are currently using Picocli's parsing capabilities in an environment where a pattern like System.setProperty is heavily discouraged and requires a security exception.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions