Code Monkey home page Code Monkey logo

astartectl's Introduction

astartectl

Command line utility to manage Astarte

Installation

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.

astartectl's People

Contributors

bettio avatar rbino avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.