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
We should also support environment variables as they are standard fare for cli applications. They should be namespaced with SKYNET_ e.g. SKYNET_API_KEY.
The priority of configuration should be as given here, that is, check first for cli options, then env vars, then config options.
This applies to all SDKs except the CLI, which should outsource the work of determining configuration to the Go SDK. See NebulousLabs/skynet-cli#7.
The text was updated successfully, but these errors were encountered:
Issue by m-cat
Friday Aug 21, 2020 at 15:19 GMT
Originally opened as NebulousLabs/skynet-docs#28
There should be configuration options such as a dot-file and/or environment variables. Some initial thoughts:
--api-key
etc.SKYNET_
e.g.SKYNET_API_KEY
.This applies to all SDKs except the CLI, which should outsource the work of determining configuration to the Go SDK. See NebulousLabs/skynet-cli#7.
The text was updated successfully, but these errors were encountered: