pub struct AdoptOptions {
pub username: String,
pub key_name: String,
pub level: Vec<String>,
pub project: Option<String>,
pub testing: bool,
pub checkout: Option<PathBuf>,
pub bake: Option<PathBuf>,
}Expand description
Adopt options — the CLI seam’s defaults land here.
Fields§
§username: StringThe gateway login user (the OIDC dance’s username).
key_name: StringThe API-key name — the idempotency key AND half of the auth
header value (<name>:<key>).
level: Vec<String>The granted security-level PATH segments, root first —
["Authenticated", "Roles", "Administrator"] by CLI default.
project: Option<String>Deploy the CLI’s WebDev routes (scriptExec on) into this
project after the bootstrap (--project).
testing: boolShip the embedded TESTING bundle with the routes (--testing)
— the Jython framework + testing/run|tags routes + the smoke
sentinel; the step ASSERTS discover ≥1 module and a green
smoke run before reporting (the empty-suite trap). Requires
--project.
checkout: Option<PathBuf>Check out every ENABLED project into <dir>/<project>
(--checkout) — scripts decoded, the grep/lint posture.
bake: Option<PathBuf>Download a roaming gwbk to this path after everything else
landed (--bake) — the just-reset keeps key + routes.
Trait Implementations§
Source§impl Clone for AdoptOptions
impl Clone for AdoptOptions
Source§fn clone(&self) -> AdoptOptions
fn clone(&self) -> AdoptOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more