astartectl

command module
v0.10.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

README

astartectl

Command line utility to manage Astarte

Installation

Using homebrew

If you are using homebrew on your system, you can install astartectl out of its tap:

brew tap astarte-platform/astarte
brew update
brew install astartectl
Using binaries from Github Release

You can download latest astartectl binaries for all platforms from GitHub Releases.

Using go get

Assuming you have you go installation and GOPATH set up, you can just run

go get github.com/astarte-platform/astartectl

The astartectl binary will be installed in your GOPATH.

Configuration

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 ASTARTECTL_CONFIG environment variable.

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 key with _, (e.g. ASTARTECTL_REALM_NAME).

Flags always override configuration.

Usage

Run astartectl to see available commands.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL