Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] kci-click: add kci PoC using Click #2111

Closed
wants to merge 1 commit into from

Commits on Sep 21, 2023

  1. [RFC] kci-click: add kci PoC using Click

    Add a kci-click proof-of-concept replacement for kci using the Click
    package.  It comes with a sample kernelci-click.toml settings file to
    illustrate how the values can be combined with the command line
    arguments.
    
    Some sample commands:
    
      $ KCI_SETTINGS=kernelci-click.toml ./kci-click foo bar --verbose
      FOO command group
      FOO BAR BAZ: 789
    
      $ ./kci-click whoami --no-verbose
      {
        "id": "64ef04e7391d44b7fa620d13",
        "active": true,
        "profile": {
          "username": "admin",
          "hashed_password": "<hashed-password>",
          "groups": [
            {
              "id": "6499aa9da02fef8143c1feb0",
              "name": "admin"
            }
          ],
          "email": "something@domain.com"
        }
      }
    
    Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
    gctucker committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    f24dd7c View commit details
    Browse the repository at this point in the history