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

[mkdir] Args are in caps #2589

Open
3 tasks done
Tyriar opened this issue Mar 17, 2025 · 0 comments · May be fixed by #2590
Open
3 tasks done

[mkdir] Args are in caps #2589

Tyriar opened this issue Mar 17, 2025 · 0 comments · May be fixed by #2590

Comments

@Tyriar
Copy link
Contributor

Tyriar commented Mar 17, 2025

Sanity checks

  • My issue relates to a specific CLI completion spec (e.g. git checkout is missing options in git completion spec). If your issue is more general, please create your issue here: withfig/fig
  • I have searched github.com/withfig/autocomplete/issues and there are no duplicates of my issue
  • I would like to work on this.

What CLI tool does this relate to?

mkdir

Which statement makes the most sense?

There is a bug with this completion spec

Issue Details

Mode and context are in screaming caps:

{
name: ["-m", "--mode"],
description: "Set file mode (as in chmod), not a=rwx - umask",
args: { name: "MODE" },
},
{
name: ["-p", "--parents"],
description: "No error if existing, make parent directories as needed",
},
{
name: ["-v", "--verbose"],
description: "Print a message for each created directory",
},
{
name: ["-Z", "--context"],
description:
"Set the SELinux security context of each created directory to CTX",
args: { name: "CTX" },
},

Would be best to be consistent here.

Tyriar added a commit to Tyriar/withfig-autocomplete that referenced this issue Mar 17, 2025
@Tyriar Tyriar linked a pull request Mar 17, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant