Skip to content

Instantly share code, notes, and snippets.

@rafa-thayto
Created April 26, 2024 22:39
Show Gist options
  • Select an option

  • Save rafa-thayto/bce71bc5a195f22d67841e84f773125e to your computer and use it in GitHub Desktop.

Select an option

Save rafa-thayto/bce71bc5a195f22d67841e84f773125e to your computer and use it in GitHub Desktop.
This script gets some output at the end of the cli execution
yes | somectl credentials generate -d some-thing -t foo -e bar | sed "s/Generating credentials//" | awk '{print $1}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment