Skip to content

Stray debug print "Configuring global options" on every CLI command invocation #610

Description

@ManoharPaturi

Description

Every task command invocation (including --dryrun and config exports) prints Configuring global options to stdout before doing anything else. It's a leftover debug print (from #152) inside the command() closure built by RunContext.cli_command, not routed through the logger or rich console, and it pollutes scripted output.

Steps to reproduce

Any executor-enabled task command, e.g.:

$ nemorun <group> <task> name=test --dryrun
Configuring global options
Dry run for ...

Expected behavior

No stray debug output — command output should only contain the framework's status output and the program's own prints.

Actual behavior

Configuring global options is unconditionally printed to stdout (nemo_run/cli/api.py, in RunContext.cli_command).

Environment

nemo-run main (b85eb67), Python 3.12, macOS

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions