Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Empower all commands to handle input to stdin (#2598)
**What this PR does / why we need it**: This PR makes it possible to pass the input to stdin to all commands. Due to this, it renamed `cli.Telemetry` to `cli.Input`. If you think about it, originally logger isn't in the telemetry context so not odd to change. This brought flexibility to us for a variety of other inputs to be propagated to each command. The initial reason why I looked to make this change is so that we can pass the plaintext file to `pipectl encrypt` command via stdin. **Which issue(s) this PR fixes**: Fixes # **Does this PR introduce a user-facing change?**: <!-- If no, just write "NONE" in the release-note block below. --> ```release-note NONE ``` This PR was merged by Kapetanios.
- Loading branch information
Showing
17 changed files
with
163 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.