2024-01-30 16:34:44 +01:00
2023-08-04 15:08:14 +02:00
2023-08-04 15:08:14 +02:00
2024-01-17 15:34:50 +01:00
2024-01-18 16:00:41 +01:00
2023-08-10 23:27:41 +02:00
2023-08-10 23:27:41 +02:00
2024-01-18 16:14:17 +01:00

radicle-tui

Radicle terminal user interfaces

Installation

Requirements

  • Linux or Unix based operating system.
  • Git 2.34 or later
  • OpenSSH 9.1 or later with ssh-agent

📦 From source

Requires the Rust toolchain.

You can install the binary from source, by running the following commands from inside this repository:

cargo install --path . --force --locked

Or directly from our seed node:

cargo install --force --locked --git https://seed.radicle.xyz/z39mP9rQAaGmERfUMPULfPUi473tY.git

This will install rad-tui. You can execute it by running rad tui. All available commands can be shown by running rad tui --help.

Interfaces

The Radicle terminal interfaces are designed to be modular and to integrate well with the existing Radicle CLI. Right now, they are meant to be called from other programs that will collect and process their output.

Usage

Patches

Select a patch and an operation, return both formatted as rad command:

$ rad tui patch select
rad patch show 546443226b300484a97a2b2d7c7000af6e8169ba (stderr)

Same as above:

$ rad tui patch select --operation
rad patch show 546443226b300484a97a2b2d7c7000af6e8169ba (stderr)

Select a patch and an operation, return both as JSON:

$ rad tui patch select --operation --json
{ "operation": "show", "id": "546443226b300484a97a2b2d7c7000af6e8169ba" } (stderr)

Select a patch only and return its id:

$ rad tui patch select --id
546443226b300484a97a2b2d7c7000af6e8169ba (stderr)

Select a patch only and return its id as JSON:

$ rad tui patch select --id --json
{ "operation": "null", "id": "546443226b300484a97a2b2d7c7000af6e8169ba" } (stderr)

License

Radicle is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.

S
Description
Radicle terminal user interface
Readme
7.1 MiB
Languages
Rust 97.9%
Shell 0.8%
Nix 0.7%
Dockerfile 0.6%