[PR #393] [MERGED] Redo 'Fix zsh completion' with clap #459

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

📋 Pull Request Information

Original PR: https://github.com/bootandy/dust/pull/393
Author: @eatsu
Created: 4/28/2024
Status: Merged
Merged: 5/1/2024
Merged by: @bootandy

Base: masterHead: redo-390


📝 Commits (1)

  • 78b48aa Redo 'Fix zsh completion' with clap

📊 Changes

7 files changed (+106 additions, -66 deletions)

View changed files

📝 completions/_dust (+21 -36)
📝 completions/_dust.ps1 (+2 -2)
📝 completions/dust.bash (+25 -3)
📝 completions/dust.elv (+2 -2)
📝 completions/dust.fish (+3 -3)
📝 man-page/dust.1 (+17 -13)
📝 src/cli.rs (+36 -7)

📄 Description

Because I'm not familiar with Rust, when I was working on https://github.com/bootandy/dust/pull/390 I didn't realize that the completions were auto-generated via clap. I'm sorry. This redoes it with clap.

This improves not only the completions but also the --help and the man page. Also the --output-format flag will raise an error if the given value is invalid.


🔄 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/393 **Author:** [@eatsu](https://github.com/eatsu) **Created:** 4/28/2024 **Status:** ✅ Merged **Merged:** 5/1/2024 **Merged by:** [@bootandy](https://github.com/bootandy) **Base:** `master` ← **Head:** `redo-390` --- ### 📝 Commits (1) - [`78b48aa`](https://github.com/bootandy/dust/commit/78b48aae0c6bad9da8ece0c50d5736a865e3d51e) Redo 'Fix zsh completion' with clap ### 📊 Changes **7 files changed** (+106 additions, -66 deletions) <details> <summary>View changed files</summary> 📝 `completions/_dust` (+21 -36) 📝 `completions/_dust.ps1` (+2 -2) 📝 `completions/dust.bash` (+25 -3) 📝 `completions/dust.elv` (+2 -2) 📝 `completions/dust.fish` (+3 -3) 📝 `man-page/dust.1` (+17 -13) 📝 `src/cli.rs` (+36 -7) </details> ### 📄 Description Because I'm not familiar with Rust, when I was working on https://github.com/bootandy/dust/pull/390 I didn't realize that the completions were auto-generated via clap. I'm sorry. This redoes it with clap. This improves not only the completions but also the --help and the man page. Also the --output-format flag will raise an error if the given value is invalid. --- <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:27 +03:00
zhus closed this issue 2026-06-08 11:28:28 +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#459