Skip to content

Commit 278125a

Browse files
committed
feat: Document the remaining subcommands
1 parent f18a312 commit 278125a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/plumbing/options/mod.rs

+3
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ pub enum Subcommands {
8181
/// Subcommands for creating worktree archives
8282
#[cfg(feature = "gitoxide-core-tools-archive")]
8383
Archive(archive::Platform),
84+
/// Remove untracked files from the working tree
8485
#[cfg(feature = "gitoxide-core-tools-clean")]
8586
Clean(clean::Command),
8687
/// Subcommands for interacting with commit-graph files
@@ -111,6 +112,7 @@ pub enum Subcommands {
111112
/// Fetch data from remotes and store it in the repository
112113
#[cfg(feature = "gitoxide-core-blocking-client")]
113114
Fetch(fetch::Platform),
115+
/// Clone a repository into a new directory
114116
#[cfg(feature = "gitoxide-core-blocking-client")]
115117
Clone(clone::Platform),
116118
/// Interact with the mailmap.
@@ -125,6 +127,7 @@ pub enum Subcommands {
125127
/// Interact with the exclude files like .gitignore.
126128
#[clap(subcommand)]
127129
Exclude(exclude::Subcommands),
130+
/// Interact with a worktree index like .git/index.
128131
#[clap(subcommand)]
129132
Index(index::Subcommands),
130133
/// Interact with submodules.

0 commit comments

Comments
 (0)