Skip to content
  • David Runge's avatar
    keyringctl: Simplify subcommands · 8ec1654e
    David Runge authored and Levente Polyak's avatar Levente Polyak committed
    Change `convert()` to create the target directory including parents.
    Change `export_keyring()` to create the output directory and its
    parents before outputting data into it.
    Remove `keyring_import()` as its functionality is covered by using
    `convert()` directly with different subcommands.
    Change `__main__` to define `import-main` and `import-packager`
    subcommands instead of `import` and to add an `export-keyring`
    subcommand. Remove the explicit creation of target dirs (it is now
    implemented in `convert()` and `export_keyring()`.