Rust CLI command that lists flags set on an m2dir message in 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.
//! # m2dir flag list
//!
//! The `m2dir flag list` command, naming the flags set on one message.
use std::fmt;
use anyhow::Result;
use clap::Parser;
use pimalaya_cli::printer::Printer;
use pimalaya_cli::table::{Cell, ContentArrangement, Row, Table};
use schemars::JsonSchema;
use serde::Serialize;
use crate::{
account::context::Account,
m2dir::{
arg::{M2dirNameFlag, MessageIdArg},
client::M2dirClient,
},
shared::table::style_from_preset,
};
/// List flags set on an m2dir message.
///
/// Reads the `.meta/<id>.flags` metadata file and prints one flag per
/// row. Retur
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key