@@ -54,6 +54,10 @@ impl Cli {
|
||||
tracing::debug!("executing do");
|
||||
}
|
||||
("get", args) => {
|
||||
if !self.cuddle.has_project() {
|
||||
anyhow::bail!("get is not available without a project");
|
||||
}
|
||||
|
||||
let query = args
|
||||
.get_one::<String>("query")
|
||||
.ok_or(anyhow!("query is required"))?;
|
||||
|
Reference in New Issue
Block a user