fn api_send(payload: &str) -> Value {
	let mut proc = Command::new("keybase");
	proc.args(&["chat", "api", "-m", &payload]);
	let output = proc.output().expect("No output").stdout;
	let response: Value = from_str(from_utf8(&output).expect("Bad output")).expect("Bad output");
	response
}
/// Send a json object to the keybase process. Type `keybase chat api --help` for a list of available methods.
Send a json object to the keybase process. Type `keybase chat api --help` for a list of available methods.
Send a json object to the keybase process . Type ` keybase chat api -- help ` for a list of available methods .
fn api_send(payload: &str) -> Value {
	let mut proc = Command::new("keybase");
	proc.args(&["chat", "api", "-m", &payload]);
	let output = proc.output().expect("No output").stdout;
	let response: Value = from_str(from_utf8(&output).expect("Bad output")).expect("Bad output");
	response
}
fn api_send ( payload : & str ) -> Value { let mut proc = Command :: new ( " " ) ; proc . args ( & [ " " , " " , " " , & payload ] ) ; let output = proc . output ( ) . expect ( " " ) . stdout ; let response : Value = from_str ( from_utf8 ( & output ) . expect ( " " ) ) . expect ( " " ) ; response }
Send a json object to the keybase process.
Send a json object to the keybase process .
payload
&str