supabase-plus 0.8.13

An extra set of tools for managing Supabase projects going beyond the possibilities of regular Supabase CLI
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::prelude::*;
use duct::cmd;

#[async_trait]
impl CliSubcommand for Upgrade {
    async fn run(self: Box<Self>) -> anyhow::Result<()> {
        if let Err(error) = cmd!("cargo", "install", "supabase-plus").run() {
            crate::styled_bail!(
                "Something went wrong running cargo install\n> {}",
                (format!("{:?}", error), "dimmed")
            );
        }

        Ok(())
    }
}