Skip to content

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

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 │                                   │
    └────┴─────────────────────┴───────────────────────────────────┘

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions