Command line utility to manage Astarte
Assuming you have you go installation and GOPATH set up, you can just run
go get github.com/astarte-platform/astartectl
astartectl binary will be installed in your
If you are using
astartectl a lot with the same deployment, it could be easier to use a configuration
file instead of using flags. By default
astartectl will search for
.astartectl.yaml in your home
directory, but you can make it use a custom configuration by setting its path in the
This is a minimal sample configuration
# This will be used as base url and urls to housekeeping, realm-management and # pairing will be build appending /<service-name> to the base url url: https://<your API base url> housekeeping: key: <path to your housekeeping key> realm: name: <your realm name> key: <path to your realm key>
You can also use environment variables, by using the
ASTARTECTL prefix and joining the configuration
Flags always override configuration.
astartectl to see available commands.