Implement most core actions

This commit is contained in:
Mikayla 2023-11-14 00:06:33 -08:00
parent ec16e70336
commit ee4957dd47
No known key found for this signature in database
12 changed files with 570 additions and 315 deletions

View file

@ -1,10 +1,9 @@
use anyhow::{anyhow, Result};
use gpui::AsyncAppContext;
use gpui::{actions, AsyncAppContext};
use std::path::Path;
use util::ResultExt;
// todo!()
// actions!(cli, [Install]);
actions!(Install);
pub async fn install_cli(cx: &AsyncAppContext) -> Result<()> {
let cli_path = cx.update(|cx| cx.path_for_auxiliary_executable("cli"))??;