You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Authenticate the CLI using the token set up in your account.
Contribution
I'd be up for building the plugin myself.
Additional information
I've built a shell plugin before (the Linode plugin). What is different about the SpinupWP CLI is that it seems to have no support for environment variables to get the token from (I have asked for this), so instead the CLI expects a file at ~/.spinupwp/config.json with contents like the following for authentication and configuration:
Is this something that a shell plugin can handle? I've only ever written plugins that use environment variables, and though I know some of how secret references work do not know if something similar can be done as a shell plugin to enable shell plugins for CLIs that do not have environment variable options.
The text was updated successfully, but these errors were encountered:
Platform or tool
SpinupWP
Relevant links
Goal or desired behavior
Authenticate the CLI using the token set up in your account.
Contribution
Additional information
I've built a shell plugin before (the Linode plugin). What is different about the SpinupWP CLI is that it seems to have no support for environment variables to get the token from (I have asked for this), so instead the CLI expects a file at
~/.spinupwp/config.json
with contents like the following for authentication and configuration:Is this something that a shell plugin can handle? I've only ever written plugins that use environment variables, and though I know some of how secret references work do not know if something similar can be done as a shell plugin to enable shell plugins for CLIs that do not have environment variable options.
The text was updated successfully, but these errors were encountered: