mender-cli

reference

mender-cli 1.12.0

Released 12.28.2023

Statistics

Developers with the most changesets
Fredrik Flornes Ellertsen 2 (20.0%)
Manuel Zedel 2 (20.0%)
Roberto Giovanardi 1 (10.0%)
Lluis Campos 1 (10.0%)
Daniel Skinstad Drabitzius 1 (10.0%)
Luis Ramirez Vargas 1 (10.0%)
Peter Grzybowski 1 (10.0%)
Steven Leadbeater 1 (10.0%)
Developers with the most changed lines
Steven Leadbeater 313 (47.5%)
Peter Grzybowski 254 (38.5%)
Manuel Zedel 52 (7.9%)
Daniel Skinstad Drabitzius 16 (2.4%)
Fredrik Flornes Ellertsen 13 (2.0%)
Roberto Giovanardi 4 (0.6%)
Lluis Campos 4 (0.6%)
Luis Ramirez Vargas 3 (0.5%)
Developers with the most lines removed
Manuel Zedel 19 (17.3%)
Fredrik Flornes Ellertsen 6 (5.5%)

Developers with the most signoffs (total 1) |---|---| | Kristian Amlie | 1 (100.0%) |

Top changeset contributors by employer
Northern.tech 7 (70.0%)
fellerts@fastmail.com 2 (20.0%)
stevenleadbeater@live.co.uk 1 (10.0%)
Top lines changed by employer
Northern.tech 333 (50.5%)
stevenleadbeater@live.co.uk 313 (47.5%)
fellerts@fastmail.com 13 (2.0%)
Employers with the most signoffs (total 1)
Northern.tech 1 (100.0%)
Employers with the most hackers (total 8)
Northern.tech 6 (75.0%)
stevenleadbeater@live.co.uk 1 (12.5%)
fellerts@fastmail.com 1 (12.5%)

Changelogs

mender-cli (1.12.0)

New changes in mender-cli since 1.11.1:

Bug Fixes
  • Keep stdout clean
  • Use term's built-in IsTerminal
Features
  • Adding artifact downloads to CLI
  • Add meaningful error message for conflict artifact

mender-cli 1.11.1

Released 10.18.2023

Statistics

Developers with the most changesets
Peter Grzybowski 1 (100.0%)
Developers with the most changed lines
Peter Grzybowski 272 (100.0%)
Developers with the most signoffs (total 1)
Fabio Tranchitella 1 (100.0%)
Top changeset contributors by employer
Northern.tech 1 (100.0%)
Top lines changed by employer
Northern.tech 272 (100.0%)
Employers with the most signoffs (total 1)
Northern.tech 1 (100.0%)
Employers with the most hackers (total 1)
Northern.tech 1 (100.0%)

Changelogs

mender-cli (1.11.1)

New changes in mender-cli since 1.11.0:

Features
  • post metadata with the direct upload with skip verify (MEN-6696)

mender-cli 1.11.0

Released 07.28.2023

Statistics

A total of 494 lines added, 1194 removed (delta -700)

Developers with the most changesets
Lluis Campos 5 (35.7%)
Sven Schermer 3 (21.4%)
Peter Grzybowski 3 (21.4%)
Krzysztof Jaskiewicz 2 (14.3%)
Esteban Agüero Pérez 1 (7.1%)
Developers with the most changed lines
Krzysztof Jaskiewicz 979 (67.2%)
Peter Grzybowski 396 (27.2%)
Lluis Campos 55 (3.8%)
Sven Schermer 25 (1.7%)
Esteban Agüero Pérez 1 (0.1%)
Developers with the most lines removed
Krzysztof Jaskiewicz 961 (80.5%)
Top changeset contributors by employer
Northern.tech 10 (71.4%)
Disruptive Technologies 3 (21.4%)
estape11@gmail.com 1 (7.1%)
Top lines changed by employer
Northern.tech 1430 (98.2%)
Disruptive Technologies 25 (1.7%)
estape11@gmail.com 1 (0.1%)
Employers with the most hackers (total 5)
Northern.tech 4 (60.0%)
Disruptive Technologies 1 (20.0%)
estape11@gmail.com 1 (20.0%)

Changelogs

mender-cli (1.11.0)

New changes in mender-cli since 1.10.0:

Bug Fixes
  • Hide errors when help flag is present (MEN-6357)
  • Allow to use --token to specify API token (MEN-6357)
  • List devices in raw mode not in stdout
Features
Other
  • Update container base image to golang 1.20
  • formatting (go fmt). (MEN-6338)

mender-cli 1.10.0

Released 02.20.2023

Statistics

A total of 11 lines added, 10 removed (delta 1)

Developers with the most changesets
Lluis Campos 4 (66.7%)
Clément Péron 1 (16.7%)
Alex Miliukov 1 (16.7%)
Developers with the most changed lines
Lluis Campos 6 (50.0%)
Clément Péron 4 (33.3%)
Alex Miliukov 2 (16.7%)
Developers with the most lines removed
Lluis Campos 1 (10.0%)
Top changeset contributors by employer
Northern.tech 5 (83.3%)
peron.clem@gmail.com 1 (16.7%)
Top lines changed by employer
Northern.tech 8 (66.7%)
peron.clem@gmail.com 4 (33.3%)
Employers with the most hackers (total 3)
Northern.tech 2 (66.7%)
peron.clem@gmail.com 1 (33.3%)

Changelogs

mender-cli (1.10.0)

New changes in mender-cli since 1.9.0:

Bug Fixes
  • allow to get the server from mender-clirc configuration file

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.2

Released 03.10.2023

Statistics

A total of 17 lines added, 4 removed (delta 13)

Developers with the most changesets
Ole Petter Orhagen 1 (50.0%)
Clément Péron 1 (50.0%)
Developers with the most changed lines
Ole Petter Orhagen 13 (76.5%)
Clément Péron 4 (23.5%)
Top changeset contributors by employer
Northern.tech 1 (50.0%)
peron.clem@gmail.com 1 (50.0%)
Top lines changed by employer
Northern.tech 13 (76.5%)
peron.clem@gmail.com 4 (23.5%)
Employers with the most hackers (total 2)
Northern.tech 1 (50.0%)
peron.clem@gmail.com 1 (50.0%)

Changelogs

mender-cli (1.8.2)

New changes in mender-cli since 1.8.1:

Bug Fixes
  • allow to get the server from mender-clirc configuration file

mender-cli 1.8.1

Released 10.19.2022

Statistics

A total of 57 lines added, 30 removed (delta 27)

Developers with the most changesets
Fabio Tranchitella 4 (100.0%)
Developers with the most changed lines
Fabio Tranchitella 58 (100.0%)
Top changeset contributors by employer
Northern.tech 4 (100.0%)
Top lines changed by employer
Northern.tech 58 (100.0%)
Employers with the most hackers (total 1)
Northern.tech 1 (100.0%)

Changelogs

mender-cli (1.8.1)

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)

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 .