Erik Kundt
731a828e86
lib/terminal: Remove option to run command quietly
2025-12-29 12:12:51 +01:00
Erik Kundt
acf476edbe
bin: Allow executing rad silently
2025-12-17 14:54:03 +01:00
Matthias Beyer
48945df404
Fix: Allocate stdout only when necessary
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de >
2025-12-09 13:16:31 +01:00
Erik Kundt
f0a47ac5b5
bin: Improve thiserror usage
2025-09-01 11:37:05 +02:00
Erik Kundt
b4dd057f45
bin: Rewrite CLI tests to not require a binary
...
Before this patch, CLI tests required a successful debug build of
`rad-tui`. This rewrites the tests such that they still do what they did
before: testing argument processing. But without relying on a binary.
2025-08-28 11:18:19 +02:00
Erik Kundt
86e34ac2b4
bin: Disable all CLI tests
...
In light of `cargo test` depending on `rad-tui` being built successfully,
the tests that use them, are ignored for now.
2025-08-22 10:48:53 +02:00
Matthias Beyer
7a1ba8595a
bin: Improve error handling
...
This patch replaces `anyhow::Error` in the programs' entry functions with proper
error types. This makes the semantics around errors that occur when forwarding
commands to `rad` more clear.
Signed-off-by: Erik Kundt <erik@zirkular.io >
2025-08-21 17:09:44 +02:00
Erik Kundt
3ab0da05d5
feat(bin): Add state (de)serialization module
2025-02-12 11:49:54 +01:00
Erik Kundt
6b9e82e350
ci(bin): Fix clippy warning
2025-02-11 11:07:30 +01:00
Erik Kundt
54a643b0f0
bin: Show (local) help on empty command
2025-01-29 17:04:12 +01:00
Erik Kundt
a9ea38bdc4
bin: Complete and beautify help
2025-01-28 12:24:31 +01:00
Erik Kundt
b292b0dcc9
bin: Improve CLI tests
2025-01-28 11:56:00 +01:00
Erik Kundt
b2908e3378
bin: FIx clippy warning
2025-01-28 00:27:52 +01:00
Erik Kundt
0c7868c523
bin: Add more CLI tests
2025-01-27 17:28:22 +01:00
Erik Kundt
4b05911faf
bin: Handle --no-forward wo/ command correctly
2025-01-27 16:47:12 +01:00
Erik Kundt
8d693a6a64
bin: Add CLI testing infrastructure
2025-01-27 16:37:37 +01:00
Erik Kundt
61641c724a
bin: Add --json to main entry
2025-01-27 16:20:17 +01:00
Erik Kundt
4900c0e047
bin: Call rad for all unknown commands
2025-01-27 16:20:17 +01:00
Erik Kundt
cd55f03965
bin: Handle no-forward option in main entry
2025-01-27 09:18:17 +01:00
Erik Kundt
1917ca1c4a
bin: Add app test fixtures
2024-12-11 11:52:40 +01:00
Fintan Halpenny
f4b4dd1412
chore(main): fix import ordering
...
Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com >
X-Clacks-Overhead: GNU Terry Pratchett
2024-08-09 11:03:55 +02:00
Erik Kundt
bbad0a3081
bin: Improve logging
2024-07-19 13:29:36 +02:00
Erik Kundt
8d9bc1645f
bin: Improve issue select theming
2024-07-16 10:33:17 +02:00
Erik Kundt
ba1ef1cc00
bin: Use theme settings in issue selection
2024-07-15 14:12:51 +02:00
Erik Kundt
dba75b31f5
lib: Move all Radicle-dependent code to bin/
2024-06-11 15:09:44 +02:00
Erik Kundt
eca3b296c3
lib: Move out COB modules
2024-06-11 12:46:12 +02:00
Erik Kundt
bc3686d8af
lib: Switch to radicle-cli and remove duplicate code
2024-04-25 12:40:14 +02:00
Erik Kundt
8d9962c8ff
bin: Improve message when command was not found
2024-03-14 13:31:41 +01:00
Erik Kundt
10fd2a7823
bin: Print version as json
2024-03-13 17:41:57 +01:00
Erik Kundt
442f29f725
inbox: Add empty selection command
2024-02-16 16:29:32 +01:00
Erik Kundt
26fae956fa
issue-select: Add basic command implementation
2024-01-30 10:23:25 +01:00
Erik Kundt
9d676ce50e
patch-list: Add implementation
2024-01-02 18:28:23 +01:00
Erik Kundt
b0fc9fab28
lib: Disable issue and patch commands
2023-12-28 16:27:47 +01:00
Erik Kundt
ea0621321b
issue: Initialize w/ unified command
2023-12-23 11:41:51 +01:00
Erik Kundt
74940ca7bf
patch: Initialize w/ unified command
2023-12-23 11:41:46 +01:00
Erik Kundt
bfc6909cfa
lib: Add support for unified commands with args
2023-12-22 16:06:13 +01:00
Erik Kundt
824421177a
lib: Build single binary
2023-12-22 16:06:13 +01:00