Skip to main content

goliothctl#

Manage Golioth platform resources and developer workflow.

Synopsis#

The goliothctl CLI manages authentication, developer workflow, interactions with the platform, local configuration and more.

goliothctl [flags]

Examples#

# List Projectsgoliothctl project list
# Set current projectgoliothctl config set projectId my-first-project
# List devicesgoliothctl device list
# Provision device and credentialsgoliothctl provision --hwId "DE:AD:BE:EF" --name "My first device" --credId "deadbeef-id"  --psk "supersecret"

Options#

      --apiUrl string      golioth api server url (default "https://api.golioth.io")  -c, --config string      config file (default is $HOME/.golioth/.goliothctl.yaml)  -h, --help               help for goliothctl      --projectId string   golioth project id

SEE ALSO#