Skip to content

Conversation

mablr
Copy link
Contributor

@mablr mablr commented Sep 19, 2025

Motivation

Close #11724

Solution

  • add Fig variant to clap's Shell enum

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes (aliased + hidden old subcommands)

Copy link
Contributor

@onbjerg onbjerg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

"[deprecated] `forge generate-fig-spec` is deprecated; use `forge completions fig`"
);
generate(
foundry_common::clap::Shell::Fig,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deprecation warning + running like completions fig

Copy link
Contributor

@onbjerg onbjerg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually, can you use sh_eprintln! instead? should be available

@onbjerg onbjerg enabled auto-merge (squash) September 19, 2025 15:06
@onbjerg onbjerg self-assigned this Sep 19, 2025
@onbjerg onbjerg merged commit 7e19a08 into foundry-rs:master Sep 19, 2025
25 checks passed
@github-project-automation github-project-automation bot moved this to Done in Foundry Sep 19, 2025
@grandizzy grandizzy moved this from Done to Completed in Foundry Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

Move forge generate-fig-spec into forge completions
2 participants