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

Log to stderr to notify that CLI is looking for deprecated environment #442

Merged
merged 1 commit into from
Feb 25, 2021

Conversation

gianarb
Copy link
Contributor

@gianarb gianarb commented Feb 25, 2021

Description

Get and delete cli command got rewritten to gain consistency. One of the
additional features is better flag support.

The gRPC connection to tink-server can now be changed via flags, but the
warning who notified when the retro compatible and deprecated code get
executed was not printed to stderr.

Why is this needed

To be able to pipe the output of the command to other scripts or commands.

variable

Get and delete cli command got rewritten to gain consistency. One of the
additional features is better flag support.

The gRPC connection to tink-server can now be changed via flags, but the
warning who notified when the retro compatible and deprecated code get
executed was not printed to stderr.

Signed-off-by: Gianluca Arbezzano <[email protected]>
@codecov
Copy link

codecov bot commented Feb 25, 2021

Codecov Report

Merging #442 (4179a6a) into master (a41538d) will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #442   +/-   ##
=======================================
  Coverage   34.82%   34.82%           
=======================================
  Files          47       47           
  Lines        2886     2886           
=======================================
  Hits         1005     1005           
  Misses       1789     1789           
  Partials       92       92           
Impacted Files Coverage Δ
cmd/tink-cli/cmd/delete/delete.go 51.28% <0.00%> (ø)
cmd/tink-cli/cmd/get/get.go 60.93% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a41538d...9c40ec8. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/tink-cli ready-to-merge Signal to Mergify to merge the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants