pub enum ConfluenceSubcommands {
Show 19 variants
Comment(CommentCommand),
Read(ReadCommand),
Write(WriteCommand),
Edit(EditCommand),
Search(SearchCommand),
Create(CreateCommand),
Delete(DeleteCommand),
Move(MoveCommand),
Copy(CopyCommand),
Label(LabelCommand),
Attachment(AttachmentCommand),
Download(DownloadCommand),
Children(ChildrenCommand),
History(HistoryCommand),
Compare(CompareCommandGroup),
User(UserCommand),
Space(SpaceCommand),
Watcher(WatcherCommand),
Restriction(RestrictionCommand),
}Expand description
Confluence subcommands.
Variants§
Comment(CommentCommand)
Manages comments on a Confluence page.
Read(ReadCommand)
Fetches a Confluence page and outputs it as JFM markdown or ADF JSON (mirrors the confluence_read MCP tool).
The output carries localId attributes (and inline-comment anchor
spans) that anchor inline comments and other stateful nodes. Preserve
them verbatim when editing so a later write does not drop those
comments.
Write(WriteCommand)
Pushes content to a Confluence page (mirrors the confluence_write MCP tool).
This fully replaces the page body, so it can silently lose data. Inline
comments (and task-item state) are anchored to the page through the
localId attributes that read emits; if the body you push omits them,
Confluence drops the inline comments tied to those anchors. Edit the JFM
produced by read and keep its localIds intact — do not hand-author a
fresh body or push content produced with local IDs stripped (see
atlassian convert from-adf --strip-local-ids).
Edit(EditCommand)
Interactive fetch-edit-push cycle for a Confluence page.
Search(SearchCommand)
Searches Confluence pages using CQL (mirrors the confluence_search MCP tool).
Create(CreateCommand)
Creates a new Confluence page (mirrors the confluence_create MCP tool).
Delete(DeleteCommand)
Deletes a Confluence page (mirrors the confluence_delete MCP tool).
Move(MoveCommand)
Moves or reparents a Confluence page (same-space only) (mirrors the confluence_move MCP tool).
Copy(CopyCommand)
Copies a Confluence page under a destination parent (mirrors the confluence_copy MCP tool).
Label(LabelCommand)
Manages labels on Confluence pages.
Attachment(AttachmentCommand)
Manages attachments on Confluence pages.
Download(DownloadCommand)
Recursively downloads a Confluence page tree (mirrors the confluence_download MCP tool).
Children(ChildrenCommand)
Lists child pages of a Confluence page or top-level pages in a space (mirrors the confluence_children MCP tool).
History(HistoryCommand)
Lists version history (metadata) for a Confluence page (mirrors the confluence_history MCP tool).
Compare(CompareCommandGroup)
Compares two versions of a Confluence page (structural diff).
User(UserCommand)
Confluence user operations.
Space(SpaceCommand)
Confluence space operations.
Watcher(WatcherCommand)
Manages watchers on Confluence pages.
Restriction(RestrictionCommand)
Manages read/update restrictions on Confluence pages.
Trait Implementations§
Source§impl FromArgMatches for ConfluenceSubcommands
impl FromArgMatches for ConfluenceSubcommands
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for ConfluenceSubcommands
impl Subcommand for ConfluenceSubcommands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for ConfluenceSubcommands
impl RefUnwindSafe for ConfluenceSubcommands
impl Send for ConfluenceSubcommands
impl Sync for ConfluenceSubcommands
impl Unpin for ConfluenceSubcommands
impl UnsafeUnpin for ConfluenceSubcommands
impl UnwindSafe for ConfluenceSubcommands
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more