Commit graph

19 commits

Author SHA1 Message Date
Guillaume Yziquel 1b35da2d07 Using HIMALAYA_CONFIG as a way to provide himalaya configuration file from environment. 2024-05-22 21:53:15 +00: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 7ee710634b
bump deps, make global config option repeatable 2024-03-16 22:20:19 +01:00
Clément DOUIN 3e0cf0cfda
refactor backend system, remove accouts flattening 2024-02-21 11:38:50 +01:00
Clément DOUIN 161f35d20e
clean cargo features 2024-01-08 10:34:37 +01:00
Clément DOUIN a6b863759c
add one cargo feature per backend feature 2024-01-07 23:48:45 +01:00
prma 38c8a67ddd
fix: remove printer message from completions command
this way the output command can be used to source completion
2024-01-05 21:56:47 +01:00
Clément DOUIN 70fad9b1fd
fix default command 2024-01-03 22:49:39 +01:00
Clément DOUIN be877f0b3e
fix linux, macos and windows release builds 2024-01-01 00:27:45 +01:00
Clément DOUIN 04e721d591
adjust api, test commands with a greenmail instance 2023-12-09 09:38:33 +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
Clément DOUIN b28f12c367
refactor attachment with clap derive api 2023-12-07 21:59:12 +01:00
Clément DOUIN b8ef771614
refactor message with clap derive api (part 2) 2023-12-07 18:50:46 +01:00
Clément DOUIN a47902af7d
refactor message with clap derive api (part 1) 2023-12-07 12:19:45 +01:00
Clément DOUIN 5e1a03e3c1
refactor flag with clap derive api 2023-12-07 10:10:18 +01:00
Clément DOUIN 2c33dd2f9f
refactor envelope with clap derive api 2023-12-06 23:12:06 +01:00
Clément DOUIN 4a77253c1d
refactor folder with clap derive api 2023-12-06 22:13:50 +01:00
Clément DOUIN abe4c7f4ea
refactor account with clap derive api 2023-12-06 18:09:49 +01:00