aboutsummaryrefslogtreecommitdiff
path: root/vendor/clap/src/_cookbook
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/clap/src/_cookbook')
-rw-r--r--vendor/clap/src/_cookbook/cargo_example.rs7
-rw-r--r--vendor/clap/src/_cookbook/cargo_example_derive.rs7
-rw-r--r--vendor/clap/src/_cookbook/escaped_positional.rs7
-rw-r--r--vendor/clap/src/_cookbook/escaped_positional_derive.rs7
-rw-r--r--vendor/clap/src/_cookbook/find.rs7
-rw-r--r--vendor/clap/src/_cookbook/git.rs7
-rw-r--r--vendor/clap/src/_cookbook/git_derive.rs7
-rw-r--r--vendor/clap/src/_cookbook/mod.rs61
-rw-r--r--vendor/clap/src/_cookbook/multicall_busybox.rs7
-rw-r--r--vendor/clap/src/_cookbook/multicall_hostname.rs7
-rw-r--r--vendor/clap/src/_cookbook/pacman.rs7
-rw-r--r--vendor/clap/src/_cookbook/repl.rs5
-rw-r--r--vendor/clap/src/_cookbook/typed_derive.rs7
13 files changed, 0 insertions, 143 deletions
diff --git a/vendor/clap/src/_cookbook/cargo_example.rs b/vendor/clap/src/_cookbook/cargo_example.rs
deleted file mode 100644
index ec5d582..0000000
--- a/vendor/clap/src/_cookbook/cargo_example.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-//! # Example: cargo subcommand (Builder API)
-//!
-//! ```rust
-#![doc = include_str!("../../examples/cargo-example.rs")]
-//! ```
-//!
-#![doc = include_str!("../../examples/cargo-example.md")]
diff --git a/vendor/clap/src/_cookbook/cargo_example_derive.rs b/vendor/clap/src/_cookbook/cargo_example_derive.rs
deleted file mode 100644
index d49f956..0000000
--- a/vendor/clap/src/_cookbook/cargo_example_derive.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-//! # Example: cargo subcommand (Derive API)
-//!
-//! ```rust
-#![doc = include_str!("../../examples/cargo-example-derive.rs")]
-//! ```
-//!
-#![doc = include_str!("../../examples/cargo-example-derive.md")]
diff --git a/vendor/clap/src/_cookbook/escaped_positional.rs b/vendor/clap/src/_cookbook/escaped_positional.rs
deleted file mode 100644
index 99a3f83..0000000
--- a/vendor/clap/src/_cookbook/escaped_positional.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-//! # Example (Builder API)
-//!
-//! ```rust
-#![doc = include_str!("../../examples/escaped-positional.rs")]
-//! ```
-//!
-#![doc = include_str!("../../examples/escaped-positional.md")]
diff --git a/vendor/clap/src/_cookbook/escaped_positional_derive.rs b/vendor/clap/src/_cookbook/escaped_positional_derive.rs
deleted file mode 100644
index e6f99ad..0000000
--- a/vendor/clap/src/_cookbook/escaped_positional_derive.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-//! # Example (Derive API)
-//!
-//! ```rust
-#![doc = include_str!("../../examples/escaped-positional-derive.rs")]
-//! ```
-//!
-#![doc = include_str!("../../examples/escaped-positional-derive.md")]
diff --git a/vendor/clap/src/_cookbook/find.rs b/vendor/clap/src/_cookbook/find.rs
deleted file mode 100644
index 2ca11c6..0000000
--- a/vendor/clap/src/_cookbook/find.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-//! # Example: find-like CLI (Builder API)
-//!
-//! ```rust
-#![doc = include_str!("../../examples/find.rs")]
-//! ```
-//!
-#![doc = include_str!("../../examples/find.md")]
diff --git a/vendor/clap/src/_cookbook/git.rs b/vendor/clap/src/_cookbook/git.rs
deleted file mode 100644
index 03a926c..0000000
--- a/vendor/clap/src/_cookbook/git.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-//! # Example: git-like CLI (Builder API)
-//!
-//! ```rust
-#![doc = include_str!("../../examples/git.rs")]
-//! ```
-//!
-#![doc = include_str!("../../examples/git.md")]
diff --git a/vendor/clap/src/_cookbook/git_derive.rs b/vendor/clap/src/_cookbook/git_derive.rs
deleted file mode 100644
index d311973..0000000
--- a/vendor/clap/src/_cookbook/git_derive.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-//! # Example: git-like CLI (Derive API)
-//!
-//! ```rust
-#![doc = include_str!("../../examples/git-derive.rs")]
-//! ```
-//!
-#![doc = include_str!("../../examples/git-derive.md")]
diff --git a/vendor/clap/src/_cookbook/mod.rs b/vendor/clap/src/_cookbook/mod.rs
deleted file mode 100644
index dacb121..0000000
--- a/vendor/clap/src/_cookbook/mod.rs
+++ /dev/null
@@ -1,61 +0,0 @@
-// Contributing
-//
-// New examples:
-// - Building: They must be added to `Cargo.toml` with the appropriate `required-features`.
-// - Testing: Ensure there is a markdown file with [trycmd](https://docs.rs/trycmd) syntax
-// - Link the `.md` file from here
-
-//! # Documentation: Cookbook
-//!
-//! Typed arguments: [derive][typed_derive]
-//! - Topics:
-//! - Custom `parse()`
-//!
-//! Custom cargo command: [builder][cargo_example], [derive][cargo_example_derive]
-//! - Topics:
-//! - Subcommands
-//! - Cargo plugins
-//!
-//! find-like interface: [builder][find]
-//! - Topics:
-//! - Position-sensitive flags
-//!
-//! git-like interface: [builder][git], [derive][git_derive]
-//! - Topics:
-//! - Subcommands
-//! - External subcommands
-//! - Optional subcommands
-//! - Default subcommands
-//! - [`last`][crate::Arg::last]
-//!
-//! pacman-like interface: [builder][pacman]
-//! - Topics:
-//! - Flag subcommands
-//! - Conflicting arguments
-//!
-//! Escaped positionals with `--`: [builder][escaped_positional], [derive][escaped_positional_derive]
-//!
-//! Multi-call
-//! - busybox: [builder][multicall_busybox]
-//! - Topics:
-//! - Subcommands
-//! - hostname: [builder][multicall_hostname]
-//! - Topics:
-//! - Subcommands
-//!
-//! repl: [builder][repl]
-//! - Topics:
-//! - Read-Eval-Print Loops / Custom command lines
-
-pub mod cargo_example;
-pub mod cargo_example_derive;
-pub mod escaped_positional;
-pub mod escaped_positional_derive;
-pub mod find;
-pub mod git;
-pub mod git_derive;
-pub mod multicall_busybox;
-pub mod multicall_hostname;
-pub mod pacman;
-pub mod repl;
-pub mod typed_derive;
diff --git a/vendor/clap/src/_cookbook/multicall_busybox.rs b/vendor/clap/src/_cookbook/multicall_busybox.rs
deleted file mode 100644
index e3384d6..0000000
--- a/vendor/clap/src/_cookbook/multicall_busybox.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-//! # Example: busybox-like CLI (Builder API)
-//!
-//! ```rust
-#![doc = include_str!("../../examples/multicall-busybox.rs")]
-//! ```
-//!
-#![doc = include_str!("../../examples/multicall-busybox.md")]
diff --git a/vendor/clap/src/_cookbook/multicall_hostname.rs b/vendor/clap/src/_cookbook/multicall_hostname.rs
deleted file mode 100644
index 9777654..0000000
--- a/vendor/clap/src/_cookbook/multicall_hostname.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-//! # Example: hostname-like CLI (Builder API)
-//!
-//! ```rust
-#![doc = include_str!("../../examples/multicall-hostname.rs")]
-//! ```
-//!
-#![doc = include_str!("../../examples/multicall-hostname.md")]
diff --git a/vendor/clap/src/_cookbook/pacman.rs b/vendor/clap/src/_cookbook/pacman.rs
deleted file mode 100644
index 880c581..0000000
--- a/vendor/clap/src/_cookbook/pacman.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-//! # Example: pacman-like CLI (Builder API)
-//!
-//! ```rust
-#![doc = include_str!("../../examples/pacman.rs")]
-//! ```
-//!
-#![doc = include_str!("../../examples/pacman.md")]
diff --git a/vendor/clap/src/_cookbook/repl.rs b/vendor/clap/src/_cookbook/repl.rs
deleted file mode 100644
index 549ec82..0000000
--- a/vendor/clap/src/_cookbook/repl.rs
+++ /dev/null
@@ -1,5 +0,0 @@
-//! # Example: Command REPL (Builder API)
-//!
-//! ```rust
-#![doc = include_str!("../../examples/repl.rs")]
-//! ```
diff --git a/vendor/clap/src/_cookbook/typed_derive.rs b/vendor/clap/src/_cookbook/typed_derive.rs
deleted file mode 100644
index a5fd15f..0000000
--- a/vendor/clap/src/_cookbook/typed_derive.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-//! # Example: Custom Types (Derive API)
-//!
-//! ```rust
-#![doc = include_str!("../../examples/typed-derive.rs")]
-//! ```
-//!
-#![doc = include_str!("../../examples/typed-derive.md")]