)]}'
{
  "commit": "589cea60614fafcff52411d6ecdc9bc6e37a806a",
  "tree": "de75c366a5eda412729e0c0f2358272aa87cb84c",
  "parents": [
    "1f4b0cc51e2c651b39a999d1c809cd4d64e2eeb2"
  ],
  "author": {
    "name": "Nico Huber",
    "email": "nico.h@gmx.de",
    "time": "Sat Feb 11 18:01:26 2023 +0100"
  },
  "committer": {
    "name": "Nico Huber",
    "email": "nico.h@gmx.de",
    "time": "Fri Aug 30 00:53:43 2024 +0200"
  },
  "message": "cli: Add a new CLI wrapper\n\nThis new CLI wrapper introduces a command mode, like we are used from\nGit for instance. The first argument specifies the command mode, which\nis `memory` for the classic flashprog CLI. Alternatively to a first\nargument, it can be called as `flashprog-cmd`. This will allow us to\nadd more CLI features that can be developed independently from the\nclassic CLI.\n\nFor instance, flashprog could then be called like this:\n\n  $ flashprog memory -p ch341a_spi\n  $ flashprog mem -p ch341a_spi\n\nIf no command mode is specified, we fall back to the classic CLI for\nconvenience. So this is also still possible:\n\n  $ flashprog -p ch341a_spi\n\nChange-Id: I98cb110b47ebce52daf2e0972fc4565ef9d40242\nSigned-off-by: Nico Huber \u003cnico.h@gmx.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "79601fcf60a4c97bdba210acf961dfdbb3424321",
      "old_mode": 33188,
      "old_path": "Makefile",
      "new_id": "a75c280c531d66e5bed9931a6cef382712adc0c3",
      "new_mode": 33188,
      "new_path": "Makefile"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "82723fd32dc677af3b57d05865625364e0acbbf9",
      "new_mode": 33188,
      "new_path": "cli.c"
    },
    {
      "type": "modify",
      "old_id": "2f16ef6060dbb7f0b9d9fec111b7c05fc4d51bfa",
      "old_mode": 33188,
      "old_path": "cli_classic.c",
      "new_id": "26253dcc2886e4c6350d79d8fc5ada56eaa2beb8",
      "new_mode": 33188,
      "new_path": "cli_classic.c"
    },
    {
      "type": "modify",
      "old_id": "b7a03402cc4386eb015f74a1e4bdde9a81826240",
      "old_mode": 33188,
      "old_path": "include/cli.h",
      "new_id": "1ba442b49aece6daab027d8e5f9badaa5e3f02b3",
      "new_mode": 33188,
      "new_path": "include/cli.h"
    },
    {
      "type": "modify",
      "old_id": "ddb705a7225875f735224d5a6c158594445b1fae",
      "old_mode": 33188,
      "old_path": "meson.build",
      "new_id": "e8dd5255365a85ccf2824b1f9a425c6f73b072fd",
      "new_mode": 33188,
      "new_path": "meson.build"
    }
  ]
}
