/mender-cli

A general-purpose CLI for the Mender backend

Primary LanguageGoOtherNOASSERTION

Build Status Go Report Card

Mender CLI

Mender is an open source over-the-air (OTA) software updater for embedded Linux devices. Mender comprises a client running at the embedded device, as well as a server that manages deployments across many devices.

This repository contains a standalone tool that makes it much easier to work with the Mender server management APIs.

The goal with mender-cli is to improve integration between the Mender server and continuous integration (CI)/build automation. In this case mender-cli is run by the CI server as the last step, in order to automatically upload newly built Mender Artifacts to the Mender server (where it can then be deployed to test devices).

Over time the plan is to extend the functionality of mender-cli to simplify the most common use cases for integrating the Mender server into other backend and cloud systems.

Getting started

Supporting documentation for mender-cli will be added shortly.

Using the client

Currently only two use cases are supported:

  • Log in
  • Upload artifact

Example:

mender-cli login --server https://hosted.mender.io --username myusername@example.com
mender-cli artifacts --server https://hosted.mender.io upload qemux86-64-uefi-grub_release_1_1.5.0b1.mender

Contributing

We welcome and ask for your contribution. If you would like to contribute to Mender, please read our guide on how to best get started contributing code or documentation.

License

Mender is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

Security disclosure

We take security very seriously. If you come across any issue regarding security, please disclose the information by sending an email to security@mender.io. Please do not create a new public issue. We thank you in advance for your cooperation.

Connect with us