#![allow(clippy::or_fun_call)] use std::ffi::OsString; use std::path::{Path, PathBuf}; use std::process::{Command, Stdio}; use std::str::FromStr; use anyhow::{anyhow, Context as _}; use chrono::prelude::*; use json_color::{Color, Colorizer}; use radicle::crypto::Unverified; use radicle::identity::Untrusted; use radicle::identity::{Doc, Id}; use radicle::storage::{ReadRepository, ReadStorage, WriteStorage}; use crate::terminal as term; use crate::terminal::args::{Args, Error, Help}; pub const HELP: Help = Help { name: "inspect", description: "Inspect an identity or project directory", version: env!("CARGO_PKG_VERSION"), usage: r#" Usage rad inspect [