Skip to content

Add getopts-test demo crate - #143

Open
Herrtian wants to merge 1 commit into
rust-lang:masterfrom
Herrtian:test/add-demo-crate
Open

Add getopts-test demo crate#143
Herrtian wants to merge 1 commit into
rust-lang:masterfrom
Herrtian:test/add-demo-crate

Conversation

@Herrtian

Copy link
Copy Markdown

Closes #140.

This adds a small workspace binary that exercises repeated flags, required and optional option values, repeated options, help output, and positional arguments. Its assert_cmd integration tests cover a typical invocation, defaults and --, help, parse errors, and missing positional input.

The path dependency keeps default features disabled so the workspace's existing --no-default-features job continues to test the non-Unicode configuration.

Tests:

  • cargo test
  • cargo test --no-default-features
  • cargo fmt --all -- --check
  • RUSTDOCFLAGS=-Dwarnings cargo doc --no-deps
  • cargo clippy -p getopts-test --all-targets --no-deps -- -D warnings

@apiraino

Copy link
Copy Markdown

Hi @Herrtian ,

are per our previous warning, you seems to be opening again PRs in quick succession:

These PRs were flagged as LLM generated behaviour, so we are placing again a temporary embargo on your GitHub profile, for the last few months we have been receiving an increased amount of automated submissions by users running bots.

Please ensure you read our policies (1) and contribution standards (2). You can contact the moderation team to discuss and possibly reconsider your ban.

If you're unsure, feel free to join rust-lang.zulipchat.com/join/rlfvpemsaacs3pfi6kwqnqjb and ask for a mentor.

The Rust moderation team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create a getopts-test crate

2 participants