CLI command to fetch and display JMAP vacation response as a table.
// Source: https://github.com/pimalaya/himalaya | License: Apache-2.0 | Copyright 2022-2026 soywod <pimalaya.org@posteo.net>
// Provided via justclaw.it.com; keep this notice with the code.
//! # JMAP vacation get
//!
//! The `jmap vacation-response get` command, RFC 8621
//! `VacationResponse/get`.
use std::fmt;
use anyhow::{Result, bail};
use clap::Parser;
use io_jmap::rfc8621::vacation_response::{
JMAP_VACATION_RESPONSE_CAPABILITY, JmapVacationResponse,
};
use pimalaya_cli::printer::{Message, Printer};
use pimalaya_cli::table::{Cell, Row, Table, sanitize};
use schemars::JsonSchema;
use serde::Serialize;
use crate::{
account::context::Account, jmap::client::JmapClient, shared::table::style_from_preset,
};
/// Get the JMAP vacation response (VacationResponse/get).
#[derive(Deb
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key