Skip to content
This repository was archived by the owner on Sep 1, 2024. It is now read-only.
This repository was archived by the owner on Sep 1, 2024. It is now read-only.

Improved output control #1

@ccryx

Description

@ccryx

Currently, the output of the command is very python-y, i.e. it's just print()-ing python lists containing dictionnaries.
Instead it should print each element of a list on a new line with square brackets and curly braces removed.

Additionally, the behavior when providing --info with one desired piece of information is inconsistent with the other output.
As of now, it only prints the desired piece of information with no additional identifier.
This was done so I could use kphttpc in scripts that query the database for a password.
In place of the current behavior there should be a command line option that toggles script friendly output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions