Skip to content

[nit feature] show configured options when running pomodoro #160

@24seconds

Description

@24seconds

Description

When the pomodoro is running, sometimes user may(?) want to know what was the configuration.
To solve this curiosity, it would be nice to provide this

# IPC mode
> pomodoro config list 

# standalone mode
> config list

# expected output sample
[2023-03-28T11:56:07Z INFO  pomodoro::configuration]
    config flag result!
    ┌────┬─────────────────────┬───────────────────────────────────┐
    │ ok │ desc                │ reason                            │
    ├────┼─────────────────────┼───────────────────────────────────┤
    │ O  │ no config err       │                                   │
    ├────┼─────────────────────┼───────────────────────────────────┤
    │ X  │ slack_channel       │ can not find slack config in json │
    ├────┼─────────────────────┼───────────────────────────────────┤
    │ X  │ slack_token         │ can not find slack config in json │
    ├────┼─────────────────────┼───────────────────────────────────┤
    │ O  │ discord_webhook_url │                                   │
    └────┴─────────────────────┴───────────────────────────────────┘

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions