Closed WcaleNieWolny closed 1 year ago
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
I have added docs: https://github.com/Cap-go/website/pull/117
Shell example for encryption sessionkey:
ENCRYPT_OUTPUT="$(@npx @capgo/cli@latest bundle encrypt)"
if [[ $? -ne 0 ]]; then
echo "ENCRYPT_OUTPUT"
exit 1
fi
echo $(echo "$ENCRYPT_OUTPUT" | grep "● ivSessionKey: " | sed -e "s/● ivSessionKey: //g")
This PR allows the usage of bundle link in CI/CD or other forms of shell scripting. It is not a very smart solution but it works very well. Here is how to use these changes:
If you want to further process the link you can use something like
And here is the output: Success: (Tested on selfhosted capgo)
Fail:
Note: In this bash script, the colors will be removed. It will be white if used in a bash script
/claim #116