more reorg
This commit is contained in:
parent
fcd77fb79e
commit
390b6c6c0a
8 changed files with 117 additions and 133 deletions
|
|
@ -4,7 +4,6 @@
|
|||
// machine, DMN, identity) lives in mind/.
|
||||
|
||||
pub mod ui_channel;
|
||||
pub mod log;
|
||||
|
||||
pub mod chat;
|
||||
pub mod context;
|
||||
|
|
@ -725,7 +724,7 @@ pub async fn main() {
|
|||
|
||||
match &cli.command {
|
||||
Some(SubCmd::Read { follow, block }) => {
|
||||
if let Err(e) = crate::mind::observe::cmd_read_inner(*follow, *block, cli.debug).await {
|
||||
if let Err(e) = crate::mind::log::cmd_read_inner(*follow, *block, cli.debug).await {
|
||||
eprintln!("{:#}", e);
|
||||
std::process::exit(1);
|
||||
}
|
||||
|
|
@ -737,7 +736,7 @@ pub async fn main() {
|
|||
eprintln!("Usage: consciousness write <message>");
|
||||
std::process::exit(1);
|
||||
}
|
||||
if let Err(e) = crate::mind::observe::cmd_write(&msg, cli.debug).await {
|
||||
if let Err(e) = crate::mind::log::cmd_write(&msg, cli.debug).await {
|
||||
eprintln!("{:#}", e);
|
||||
std::process::exit(1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue