Commit graph

5 commits

Author SHA1 Message Date
Martin Hebnes Pedersen
fe9b152a7a Refactor CLI message composer
This change refactors the command line message composer to unify the
various composition methods (interactive, non-interactive, reply,
forward, and template-based) into a single function.

The detection of non-interactive sessions was also changed to use a more
reliable check on `os.Stdin` instead of inspecting arguments.

A message preview and confirmation prompt has been added to the
interactive mode, allowing the user to review or edit the message before
it's posted to the outbox.
2025-07-15 19:35:46 +02:00
Martin Hebnes Pedersen
0873ffd95b Add option to forward message in CLI reader 2025-07-09 09:26:49 +02:00
Martin Hebnes Pedersen
848d6bf44c Add option to delete msg in CLI reader 2025-07-08 06:23:07 +02:00
Martin Hebnes Pedersen
9387b5fc7d Fix exit on interrupt for interactive commands 2025-07-06 10:07:52 +02:00
Martin Hebnes Pedersen
6ae942e13b Refactor to prepare for hot reloading of config
* Remove singletons
* Split into app, cli and api packages

Ref #6
2025-06-14 07:50:42 +02:00
Renamed from read.go (Browse further)