Skip to content

override / silence output on change of settable #1420

Description

@gjvc

when changing a settable, i would like to do my own logging / printing of the fact, and override / silence the built-in output.

For example:

> set package_path devel/mold/2.36
2025-05-22T23:45:05.615 I           t/b/s/shell.py:99   package_path='lang/python/3.10' -> 'devel/mold/2.36'
package_path - was: 'lang/python/3.10'
now: 'devel/mold/2.36'

The logging line is mine, and I would like to silence the two lines below it.

cmd2==2.5.11, python 3.13

Activity

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

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions