shell-plugins icon indicating copy to clipboard operation
shell-plugins copied to clipboard

Running shell scripts that wrapped CLIs

Open martijnarts opened this issue 1 year ago • 13 comments

op CLI version

2.10.0

Goal or desired behavior

I have a shell script that runs doctl, something like:

#!/usr/bin/env bash

doctl account get

Current behavior

It currently will output:

$ ./bin/test.sh
Error: GET https://api.digitalocean.com/v2/account: 401 (request "...") Unable to authenticate you

It should just work, though.

Relevant log output

No response

martijnarts avatar Dec 19 '22 13:12 martijnarts