From 985c37f5fcfef98aea5108c42d197ff0e5e2d59b Mon Sep 17 00:00:00 2001 From: cloudhead Date: Wed, 22 Nov 2023 15:19:42 +0100 Subject: [PATCH] cli: Hints system Enable hints by default, but allow users to turn them off via configuration. Add a hint when pushing while offline. --- radicle-httpd/src/test.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/radicle-httpd/src/test.rs b/radicle-httpd/src/test.rs index e1001be71..9dc2af821 100644 --- a/radicle-httpd/src/test.rs +++ b/radicle-httpd/src/test.rs @@ -11,6 +11,7 @@ use serde_json::Value; use time::OffsetDateTime; use tower::ServiceExt; +use radicle::cli; use radicle::cob::issue::Issues; use radicle::cob::patch::{MergeTarget, Patches}; use radicle::crypto::ssh::keystore::MemorySigner; @@ -70,6 +71,7 @@ pub fn profile(home: &Path, seed: [u8; 32]) -> radicle::Profile { public_key: keypair.pk.into(), config: profile::Config { node: node::Config::new(alias), + cli: cli::Config::default(), }, } }