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
use crate::config::CONFIG_FILENAME;

pub fn run_before_hook() {}

#[allow(dead_code)]
pub fn does_config_exist() -> bool {
    let Some(mut config_path) = std::env::current_dir().ok() else {
        return false;
    };

    config_path.push(CONFIG_FILENAME);

    config_path.is_file()
}