portaki-cli 8.7.0

Portaki module CLI (portaki) — init, build, lint, test, and OCI publish
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! The settings the host fills in.
//!
//! Declared here, held by the platform: it checks what the host saves, stores it, blocks the
//! publication while a `required` field is empty, and hands it back on every invocation. No
//! `updateConfig` to write, no KV key, no `publishReadiness` for an empty field.

use serde::{Deserialize, Serialize};

#[portaki_sdk::config]
#[derive(Debug, Clone, Default, PartialEq, Eq, Serialize, Deserialize)]
pub struct ModuleConfig {
    /// What the guest card greets with. Empty means the bundled wording.
    #[field(label = "host.greeting.label")]
    pub greeting: String,
}