Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update examples/benchmarks to use Clap derive syntax #1258

Merged

Conversation

dannycjones
Copy link
Contributor

@dannycjones dannycjones commented Feb 9, 2025

Some of the benchmarks and other examples use the non-derive syntax of Clap. Meanwhile, the main CLI for Mountpoint uses the derive syntax providing much better ergonomics.

This change migrates to derive syntax for all benchmarks/examples, maintaining existing behavior and aliasing to match the main CLI for consistency. By using aliasing, we can avoid old command history or any scripts failing to run.

Does this change impact existing behavior?

This change does not change any behavior.

Does this change need a changelog entry? Does it require a version change?

No, benchmark/example change only.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).

@dannycjones dannycjones temporarily deployed to PR integration tests February 9, 2025 17:44 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests February 9, 2025 17:44 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests February 9, 2025 17:44 — with GitHub Actions Inactive
@dannycjones dannycjones enabled auto-merge February 9, 2025 17:44
@dannycjones dannycjones temporarily deployed to PR integration tests February 9, 2025 17:44 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests February 9, 2025 17:44 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests February 9, 2025 17:44 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests February 9, 2025 17:44 — with GitHub Actions Inactive
@dannycjones dannycjones disabled auto-merge February 9, 2025 17:44
@dannycjones dannycjones changed the title Update prefetch_benchmark to use Clap derive syntax Update examples/benchmarks to use Clap derive syntax Feb 9, 2025
@dannycjones dannycjones temporarily deployed to PR integration tests February 9, 2025 22:15 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests February 9, 2025 22:15 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests February 9, 2025 22:15 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests February 9, 2025 22:15 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests February 9, 2025 22:15 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests February 9, 2025 22:15 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests February 10, 2025 09:15 — with GitHub Actions Inactive
@dannycjones dannycjones added this pull request to the merge queue Feb 10, 2025
Merged via the queue into awslabs:main with commit 8c68c1d Feb 10, 2025
24 checks passed
@dannycjones dannycjones deleted the update-prefetch-benchmark-cli-parsing branch February 10, 2025 15:34
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.

2 participants