taers232c / GAMADV-XTD3

Command line tool to manage Google Workspace
703 stars 87 forks source link

Suppressing output #291

Closed okay-scam closed 1 year ago

okay-scam commented 2 years ago

When I run gam print course-participants course STUDENTS-2020 show teachers I get Got 5 Teachers for Course: 91554867539... followed by the output.

How would I suppress the "Got 5 Teachers..." message?

jay-eleven commented 2 years ago

Hi scv-m!

Gam provides different ways to redirect its output. I don't have access to a GAFE domain and can't test, but the Got 5 teachers for course... might be printed to stderr, so all you need to do is redirect stderr to null.

Please check https://github.com/taers232c/GAMADV-XTD3/wiki/Meta-Commands-and-File-Redirection

taers232c commented 2 years ago

See: https://github.com/taers232c/GAMADV-XTD3/wiki/gam.cfg#variables gam config show_gettings false save

taers232c commented 1 year ago

Sam,

All of the Getting/Got messages can be suppressed.gam config show_getings false save

Ross

@.***

On Aug 3, 2022, at 10:26 PM, Sam @.***> wrote:

When I run gam print course-participants course STUDENTS-2020 show teachers I get Got 5 Teachers for Course: 91554867539... followed by the output.

How would I suppress the "Got 5 Teachers..." message?

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/291, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL7H4NSQAKFFLDUZQF3VXNIAFANCNFSM55RFOKWA. You are receiving this because you are subscribed to this thread.