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

Make output for “verbose” + “test” modes configurable #70

Closed
BlueM opened this issue Feb 9, 2018 · 0 comments
Closed

Make output for “verbose” + “test” modes configurable #70

BlueM opened this issue Feb 9, 2018 · 0 comments
Milestone

Comments

@BlueM
Copy link
Owner

BlueM commented Feb 9, 2018

To be able to handle output from cliclick -m verbose (or -m test) and output from cliclick p separately, the output destination for the -m output should be configurable.

Proposed solution:

  • -m verbose For the current behavior (written to stdout)
  • -m verbose:stderr to write to stderr
  • -m verbose:stdout would be the same as not specifying the output destination at all (just for consistency sake)
  • -m verbose:/path/to/file to write to a file
@BlueM BlueM added this to the v4 milestone Feb 9, 2018
BlueM added a commit that referenced this issue Mar 11, 2018
Introduce OutputHandler, which is used for both verbosity output (from “-m test” or “-m verbose”) and command output (e.g. from “p” command). This handler can write to stderr, stdout, a file or the clipboard.
@BlueM BlueM closed this as completed in 5f20ced Mar 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant