Commit Graph

14 Commits

Author SHA1 Message Date
Clément DOUIN 130629309c adjust code from new pimalaya/tui config api 2024-11-21 09:07:22 +01:00
Clément DOUIN a0dea19cdf wip: use shared stuff from pimalaya-tui 2024-10-16 11:46:12 +02:00
Clément DOUIN b92d7b4a08 make use of pimalaya_tui::config::TomlConfig 2024-09-01 13:46:56 +02:00
Clément DOUIN d26314cd48 fix cargo features 2024-08-13 11:49:46 +02:00
Clément DOUIN b773218c94 wip: fix printer, make thread compatible with it 2024-05-23 15:04:48 +02:00
Perma Alesheikh 5a0ff83a5e replace anyhow and log with color_eyre and tracing
Since Himalaya is intended to be ran as a CLI in the terminal emulator
environment, their user experience could vastly improve with better and
more colorful error messages and logging.

This change will replace more minimal libraries for error-reporting/han-
dling with their more advanced counterparts.

Since these crates have tight integrations, this commit will change both
in one shot.

Also we have don't need env_logger any more. So I also have removed that
guy as well.

Signed-off-by: Perma Alesheikh <me@prma.dev>
2024-04-15 12:17:56 +02:00
Clément DOUIN 799ee8b25b use new template cursor api 2024-03-21 13:57:26 +01:00
Perma Alesheikh fc59757a9d remove another unnecessary conversion
Reasons:
- Avoid unnecessary conversion, since into is called on an String value
  when String is expected, anyway.

Signed-off-by: Perma Alesheikh <me@prma.dev>
2024-01-09 22:12:57 +01:00
Perma Alesheikh f7a7937cb1 use as_deref instead of as_ref for account.name
Reasons:
- More concise.
- Avoids the need for map(String::str).

Signed-off-by: Perma Alesheikh <me@prma.dev>
2024-01-09 21:54:21 +01:00
Clément DOUIN b0d7e773dc renamed sync feature to account-sync, put wizard stuff under feature 2024-01-09 09:28:45 +01:00
Clément DOUIN a6b863759c add one cargo feature per backend feature 2024-01-07 23:48:45 +01:00
Clément DOUIN 0352e91e36 improve backend features management for every command 2024-01-03 12:58:44 +01:00
Clément DOUIN ef3214f36f clean doc 2023-12-08 12:18:18 +01:00
Clément DOUIN fff11fbe20 refactor template with clap derive api 2023-12-07 22:37:28 +01:00