cli: Add `rad config get`
Gets a specific config value.
3 files changed
+64
-5
e5fcbba4
→
137961c1
modified radicle-cli/examples/rad-config.md
@@ -6,7 +6,8 @@ $ rad config
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -49,3 +50,15 @@ $ rad config
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified radicle-cli/src/commands/config.rs
@@ -1,5 +1,6 @@
|
|
|
|
| + | |
|
|
|
|
|
@@ -16,9 +17,11 @@ pub const HELP: Help = Help {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -34,6 +37,7 @@ Options
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -59,6 +63,12 @@ impl Args for Options {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -82,6 +92,12 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -104,3 +120,29 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified radicle-cli/tests/commands.rs
@@ -5,6 +5,7 @@ use std::{env, thread, time};
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -238,7 +239,10 @@ fn rad_inspect() {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|