portaki-cli 6.3.0

Portaki module CLI (portaki) — init, build, lint, test, and OCI publish
1
2
3
4
5
6
7
8
9
10
//! Module queries — what the dashboard reads.

use portaki_sdk::prelude::*;

use crate::config::{load_config, ModuleConfig};

#[portaki_sdk::query(name = "getConfig")]
pub fn get_config(_ctx: Context) -> Result<ModuleConfig> {
    load_config()
}