Skip to content

--silent flag in get command is not working as intended #413

@Sixeight

Description

@Sixeight

Problem

I tried using the --silent flag when fetching a repository, but I still see output as shown below:

$ ghq get --silent https://github.com/x-motemen/ghq
     clone https://github.com/x-motemen/ghq -> /path/to/github.com/x-motemen/ghq
$ ghq get --silent -u https://github.com/x-motemen/ghq
     update /path/to/github.com/x-motemen/ghq

Expected Behavior

With the --silent flag, I expect no output at all.

$ ghq get --silent https://github.com/x-motemen/ghq

$ ghq get --silent -u https://github.com/x-motemen/ghq

Possible Cause

The issue might be caused by the logger output not being affected by the --silent flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions