Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Magic CLI]: Info messages (not even Warnings) constantly being outputed to stderr. #214

Open
comods opened this issue Sep 3, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request magic-cli Anything related to the Magic CLI

Comments

@comods
Copy link

comods commented Sep 3, 2024

Issue description

I have to 2> /dev/null to get magic to shut up about Info messages, not even Warning messages. For example "Downloading 60 files." should be sent to stdout.

  1. Send to stdout instead of stderr (> /dev/null should work and 2> /dev/null should not be needed).
  2. -q and --quiet should work
  • With -q do not show any Info messages like "Downloading 60 files" and No-Op messages like "Package already added".
  • With -qq do not show any Warning messages.

Steps to reproduce

These have all given me issues:

magic --no-progress init --mojoproject
magic --no-progress add $name
magic --no-progress project channel add $name
magic --no-progress project channel remove $name

Version Info

Linux x86_64 Ubuntu 20.04.6 LTS
jupyter_client   : 8.6.2
jupyter_core     : 5.7.2
traitlets        : 5.14.3
magic 0.2.2
conda 24.7.1
max 24.4.0 (59977802)
Modular version 24.4.0-59977802-release
mojo 24.4.0 (59977802)
Python 3.11.9
@ehsanmok ehsanmok added magic-cli Anything related to the Magic CLI enhancement New feature or request and removed modular-cli labels Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request magic-cli Anything related to the Magic CLI
Projects
None yet
Development

No branches or pull requests

3 participants