jirust icon indicating copy to clipboard operation
jirust copied to clipboard

[Improvement] Prompt/create default config on initialization or missing ~/.config/jirust/config.toml

Open gwicho38 opened this issue 10 months ago • 2 comments

Issue

The config.toml is required for the app to function. If a user fails to specify one prior to launching the application, the application returns:

Image

Reproduction

Image

Potential Improvement

  1. Generate the config.toml in a well known location with default settings.

  2. Provide a more descriptive failure statement:

Could not read file $HOME/.config/jirust/config.toml becomes Could not read file $HOME/.config/jirust/config.toml. You must create a jirust with a config.toml --> $HOME/.config/jirust/config.toml

Note

Of course I should have just read more closely 🤦. I tend to have limited bandwith with young kids, but could try send over a PR if it's within the intent of this project.

gwicho38 avatar Feb 21 '25 06:02 gwicho38