[PR #493] [MERGED] chore(cli): Migrate the definition of CLI to the Derive API #511

Closed
opened 2026-06-08 11:28:57 +03:00 by zhus · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bootandy/dust/pull/493
Author: @sorairolake
Created: 5/15/2025
Status: Merged
Merged: 5/17/2025
Merged by: @bootandy

Base: masterHead: migrate-to-derive-api


📝 Commits (1)

  • 9979364 chore(cli): Migrate to Derive API

📊 Changes

12 files changed (+514 additions, -538 deletions)

View changed files

📝 Cargo.lock (+19 -0)
📝 Cargo.toml (+2 -2)
📝 build.rs (+2 -1)
📝 completions/_dust (+48 -26)
📝 completions/_dust.ps1 (+13 -13)
📝 completions/dust.elv (+13 -13)
📝 completions/dust.fish (+19 -19)
📝 man-page/dust.1 (+47 -17)
📝 src/cli.rs (+253 -321)
📝 src/config.rs (+62 -101)
📝 src/main.rs (+26 -25)
📝 src/node.rs (+10 -0)

📄 Description

Change the definition of CLI from the Builder API to the Derive API.

Also add the help message for the positional argument and the possible values.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bootandy/dust/pull/493 **Author:** [@sorairolake](https://github.com/sorairolake) **Created:** 5/15/2025 **Status:** ✅ Merged **Merged:** 5/17/2025 **Merged by:** [@bootandy](https://github.com/bootandy) **Base:** `master` ← **Head:** `migrate-to-derive-api` --- ### 📝 Commits (1) - [`9979364`](https://github.com/bootandy/dust/commit/9979364c9b9e9c6b1834ee7ccc8c25a82647f093) chore(cli): Migrate to Derive API ### 📊 Changes **12 files changed** (+514 additions, -538 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+19 -0) 📝 `Cargo.toml` (+2 -2) 📝 `build.rs` (+2 -1) 📝 `completions/_dust` (+48 -26) 📝 `completions/_dust.ps1` (+13 -13) 📝 `completions/dust.elv` (+13 -13) 📝 `completions/dust.fish` (+19 -19) 📝 `man-page/dust.1` (+47 -17) 📝 `src/cli.rs` (+253 -321) 📝 `src/config.rs` (+62 -101) 📝 `src/main.rs` (+26 -25) 📝 `src/node.rs` (+10 -0) </details> ### 📄 Description Change the definition of CLI from the [Builder API](https://docs.rs/clap/4.5.38/clap/_tutorial/index.html) to the [Derive API](https://docs.rs/clap/4.5.38/clap/_derive/_tutorial/index.html). Also add the help message for the positional argument and the possible values. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
zhus added the pull-request label 2026-06-08 11:28:57 +03:00
zhus closed this issue 2026-06-08 11:28:58 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bootandy/archived-dust#511