mender-cli

reference

mender-cli 1.9.0

Released 09.25.2022

Statistics

A total of 171 lines added, 188 removed (delta -17)

Developers with the most changesets
Fabio Tranchitella 4 (44.4%)
Ole Petter Orhagen 2 (22.2%)
Lluis Campos 1 (11.1%)
Alex Miliukov 1 (11.1%)
Manuel Zedel 1 (11.1%)
Developers with the most changed lines
Fabio Tranchitella 204 (85.7%)
Ole Petter Orhagen 14 (5.9%)
Alex Miliukov 13 (5.5%)
Manuel Zedel 6 (2.5%)
Lluis Campos 1 (0.4%)
Developers with the most lines removed
Fabio Tranchitella 39 (20.7%)
Top changeset contributors by employer
Northern.tech 9 (100.0%)
Top lines changed by employer
Northern.tech 238 (100.0%)
Employers with the most hackers (total 5)
Northern.tech 5 (100.0%)

Changelogs

mender-cli (1.9.0)

New changes in mender-cli since 1.8.0:

Bug Fixes
  • stop the port-forward command on errors when reading the websocket (MEN-5565)
  • automatically handle reconnections in port-forward (MEN-5565)
  • use a mutex lock per connection instead of a global one (MEN-5565)
Features
  • add option to specify a JWT or personal access token (MEN-5660)

mender-cli 1.8.0

Released 06.14.2022

Statistics

A total of 484 lines added, 172 removed (delta 312)

Developers with the most changesets
Lluis Campos 4 (36.4%)
Fabio Tranchitella 2 (18.2%)
Ruben Schwarz 2 (18.2%)
Mikael Torp-Holte 1 (9.1%)
Maciej Tomczuk 1 (9.1%)
Kristian Amlie 1 (9.1%)
Developers with the most changed lines
Lluis Campos 199 (40.6%)
Fabio Tranchitella 115 (23.5%)
Ruben Schwarz 114 (23.3%)
Maciej Tomczuk 59 (12.0%)
Mikael Torp-Holte 2 (0.4%)
Kristian Amlie 1 (0.2%)
Top changeset contributors by employer
Northern.tech 9 (81.8%)
SOTEC 2 (18.2%)
Top lines changed by employer
Northern.tech 376 (76.7%)
SOTEC 114 (23.3%)
Employers with the most hackers (total 6)
Northern.tech 5 (83.3%)
SOTEC 1 (16.7%)

Changelogs

mender-cli (1.8.0)

New changes in mender-cli since 1.7.0:

  • New command mender-cli artifacts delete ID to delete an artifact
  • Raw mode for devices list command
  • disable Failed to parse flags: unknown flag error messages (MEN-5428)
  • improve auth and device error messages for the troubleshoot commands (MEN-5428)
Dependabot bumps
  • Aggregated Dependabot Changelogs:

    • Bumps golang from 1.16.2-alpine3.12 to 1.16.3-alpine3.12.
    • Bumps github.com/cheggaaa/pb/v3 from 3.0.7 to 3.0.8.
    • Bumps golang from 1.16.3-alpine3.12 to 1.16.4-alpine3.12.
    • Bumps golang from 1.16.4-alpine3.12 to 1.16.5-alpine3.12.

      updated-dependencies:
      - dependency-name: golang
      dependency-type: direct:production
      update-type: version-update:semver-patch
    • Bumps github.com/spf13/viper from 1.7.1 to 1.8.0.

      updated-dependencies:
      - dependency-name: github.com/spf13/viper
      dependency-type: direct:production
      update-type: version-update:semver-minor
    • Bumps github.com/spf13/viper from 1.8.0 to 1.8.1.

      updated-dependencies:
      - dependency-name: github.com/spf13/viper
      dependency-type: direct:production
      update-type: version-update:semver-patch
    • Bumps github.com/spf13/cobra from 1.1.3 to 1.2.1.

      updated-dependencies:
      - dependency-name: github.com/spf13/cobra
      dependency-type: direct:production
      update-type: version-update:semver-minor
    • Bumps github.com/google/uuid from 1.2.0 to 1.3.0.

      updated-dependencies:
      - dependency-name: github.com/google/uuid
      dependency-type: direct:production
      update-type: version-update:semver-minor
    • Bumps github.com/spf13/viper from 1.8.1 to 1.9.0.

      updated-dependencies:
      - dependency-name: github.com/spf13/viper
      dependency-type: direct:production
      update-type: version-update:semver-minor
    • Bumps github.com/spf13/viper from 1.9.0 to 1.10.0.

      updated-dependencies:
      - dependency-name: github.com/spf13/viper
      dependency-type: direct:production
      update-type: version-update:semver-minor
    • Bumps github.com/spf13/cobra from 1.2.1 to 1.3.0.

      updated-dependencies:
      - dependency-name: github.com/spf13/cobra
      dependency-type: direct:production
      update-type: version-update:semver-minor
    • Bumps github.com/spf13/viper from 1.10.0 to 1.10.1.

      updated-dependencies:
      - dependency-name: github.com/spf13/viper
      dependency-type: direct:production
      update-type: version-update:semver-patch
    • Bumps github.com/gorilla/websocket from 1.4.2 to 1.5.0.

      updated-dependencies:
      - dependency-name: github.com/gorilla/websocket
      dependency-type: direct:production
      update-type: version-update:semver-minor
    • Bumps github.com/spf13/cobra from 1.3.0 to 1.4.0.

      updated-dependencies:
      - dependency-name: github.com/spf13/cobra
      dependency-type: direct:production
      update-type: version-update:semver-minor

mender-cli 1.7.0

Released 04.16.2021

Changelogs

mender-cli (1.7.0)

New changes in mender-cli since 1.6.0:

  • Fix: Respect the --server flag from config everywhere
  • mender-cli --record <my-file> terminal <DEVICE-ID> records the terminal session into a local file. (MEN-4318)
  • mender-cli --playback <my-file> terminal playbacks the previously recorded terminal session from a local file. (MEN-4318)
  • New command mender-cli devices list to list all devices from /devauth/devices endpoint. The amount of detail can be controlled using cli parameter -d/--detail, same as for other commands.
  • Previously, the --generate-autocomplete call would silently ignore errors, when the autocomplete directory was not present. This explicitly logs the errors returned during autocomplete script generation.
  • New command port-forward: port-forward TCP and UDP ports from the device
  • Add filetransfer upload and download support (MEN-4323)
  • Aggregated Dependabot Changelogs:
  • Bumps golang from 1.15.6-alpine3.12 to 1.15.8-alpine3.12.
  • Bumps github.com/spf13/cobra from 1.1.1 to 1.1.3.
  • Release notes
  • Changelog
  • Commits
  • Bumps github.com/cheggaaa/pb/v3 from 3.0.5 to 3.0.6.
  • Release notes
  • Commits
  • Bumps golang from 1.15.8-alpine3.12 to 1.16.0-alpine3.12.
  • Bumps golang from 1.16.0-alpine3.12 to 1.16.2-alpine3.12.
  • Bumps github.com/cheggaaa/pb/v3 from 3.0.6 to 3.0.7.
  • Release notes
  • Commits

mender-cli 1.6.1

Released 16.04.2021

Changelogs

mender-cli (1.6.1)

New changes in mender-cli since 1.6.0:

  • Fix: Respect the --server flag from config everywhere

mender-cli 1.6.0

Released 01.20.2021

Changelogs

mender-cli (1.6.0)

New changes in mender-cli since 1.5.0:

  • Fix login with password, and improve the configuration file handling
  • Add 'artifact list' command to list Artifacts on the Mender server
  • Prompt for the users username if not provided on the CLI
  • Add '--version' option to display the current mender-cli version
  • New CLI command "terminal" to access a device's remote terminal
  • mender-cli requires now golang 1.15 or newer
  • Aggregated Dependabot Changelogs:
  • Bumps golang from 1.14-alpine3.12 to 1.15.1-alpine3.12.
  • Bump golang from 1.14-alpine3.12 to 1.15.1-alpine3.12
  • Bumps golang from 1.15.1-alpine3.12 to 1.15.2-alpine3.12.
  • Bump golang from 1.15.1-alpine3.12 to 1.15.2-alpine3.12
  • Bumps github.com/cheggaaa/pb/v3 from 3.0.4 to 3.0.5.
  • Release notes
  • Commits
  • Bump github.com/cheggaaa/pb/v3 from 3.0.4 to 3.0.5
  • Bumps golang from 1.15.2-alpine3.12 to 1.15.3-alpine3.12.
  • Bumps github.com/spf13/cobra from 1.0.0 to 1.1.1.
  • Release notes
  • Changelog
  • Commits
  • Bump golang from 1.15.2-alpine3.12 to 1.15.3-alpine3.12
  • Bump github.com/spf13/cobra from 1.0.0 to 1.1.1
  • Bumps golang from 1.15.3-alpine3.12 to 1.15.4-alpine3.12.
  • Bump golang from 1.15.3-alpine3.12 to 1.15.4-alpine3.12
  • Bumps golang from 1.15.4-alpine3.12 to 1.15.5-alpine3.12.
  • Bump golang from 1.15.4-alpine3.12 to 1.15.5-alpine3.12
  • Bumps golang from 1.15.5-alpine3.12 to 1.15.6-alpine3.12.
  • Bump golang from 1.15.5-alpine3.12 to 1.15.6-alpine3.12

mender-cli 1.5.1

Released 01.21.2021

Changelogs

mender-cli (1.5.1)

New changes in mender-cli since 1.5.0:

  • Fixed login with password

mender-cli 1.5.0

Released 09.11.2020

Changelogs

mender-cli (1.5.0)

New changes in mender-cli since 1.4.0:

  • Add: Make the server flag default to hosted Mender
  • Add: Bash auto-completion functionality
  • Add: Zsh auto-completion support
  • Add: Configuration file functionality This adds the possibility to add the username and password to a configuration file, in which the 'mender-cli' tool will look if no password or username is set on the CLI. The configuration file is expected to be JSON. The configuration file can be located in one of:
  • /etc/mender-cli
  • $HOME
  • . (directory where binary is run from) and must be named like:
    .mender-clirc.json

    This helps usage, in that now, in order to login, a user with a configuration file can do:

    $ mender-cli login

    as opposed to:

    $ mender-cli --username foo --password bar --server bar.com

    The parameters which are configurable from the config file are:

  • username
  • password
  • server

mender-cli 1.4.1

Released 16.04.2021

Changelogs

mender-cli (1.4.1)

New changes in mender-cli since 1.4.0:

  • Bump golang version to 1.14-alpine3.12

mender-cli 1.4.0

Released 07.15.2020

Changelogs

mender-cli (1.4.0)

New changes in mender-cli since 1.3.0:

  • Support for two factor authentication token for login (MEN-3176)
  • Change the name of the two-factor auth option.

mender-cli 1.3.0

Released 03.05.2020

Changelogs

mender-cli (1.3.0)

New changes in mender-cli since 1.2.0:

  • Build and publish Mac OS X binary for mender-cli

mender-cli 1.2.0

Released 09.16.2019

Changelogs

mender-cli (1.2.0)

New changes in mender-cli since 1.1.0:

  • Store login token in XDG Basedir Spec Cache-directory (MEN-2387)

We welcome contributions to improve this documentation. To submit a change, use the Edit link at the top of the page or email us at .