sassoftware / viya4-orders-cli

A CLI that calls the appropriate SAS Viya Orders API endpoint to obtain the requested Viya software order assets for the given order.
Apache License 2.0
14 stars 6 forks source link

base64 --encoding syntax invalid on Linux #4

Closed MiskyCAN closed 3 years ago

MiskyCAN commented 3 years ago

On Linux, the syntax needs to be: echo -n {secret/key} | base64

base64 --encoding throws this error: base64: unrecognized option '--encoding'

base64 --help
Mandatory arguments to long options are mandatory for short options too.
   -d, --decode          decode data
   -i, --ignore-garbage  when decoding, ignore non-alphabet characters
   -w, --wrap=COLS       wrap encoded lines after COLS character (default 76).
                      Use 0 to disable line wrapping