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

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

Open
24seconds opened this issue Mar 28, 2023 · 1 comment
Open

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

24seconds opened this issue Mar 28, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@24seconds
Copy link
Owner

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

@24seconds 24seconds added enhancement New feature or request good first issue Good for newcomers labels Mar 28, 2023
@24seconds
Copy link
Owner Author

If it is too much then it's good to separate this issue into two

  1. implement config list in standalone mode
  2. implement config list for IPC mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant