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

team up with argc-completions #13

Open
Konfekt opened this issue May 22, 2024 · 6 comments
Open

team up with argc-completions #13

Konfekt opened this issue May 22, 2024 · 6 comments

Comments

@Konfekt
Copy link

Konfekt commented May 22, 2024

Hello,

for those coming from argc-completions a quick comparison would be helpful.
Can the projects build up on each other?

@abgox
Copy link
Owner

abgox commented May 22, 2024

  • The completions of PSCompletions are not automatically generated, it need json file.
  • These json file must be defined in advance and added locally.

@Konfekt
Copy link
Author

Konfekt commented May 22, 2024

Thank you. It seems that PSCompletions is also more native, being a PS1 script, whereas argc needs an additional exe and MSYS2 at least for installation

@abgox
Copy link
Owner

abgox commented May 22, 2024

  • The PSCompletions module is now based on a json file.

  • You should say what completions you need to say, and I'll consider add it.

  • Maybe I can take a look at how argc generates completion, which allow me to quickly generate some json file that matches the PSCompletions.

  • I'm also writing the document of PSCompletions, which makes it possible for others to work with me to add/update completions.

@Konfekt
Copy link
Author

Konfekt commented May 22, 2024

You should say what completions you need to say, and I'll consider add it.

Maybe consider these: https://github.com/se35710/scoop-main/blob/master/bucket/coreutils.json

I am mainly thinking of replicating the Git Bash experience

@abgox
Copy link
Owner

abgox commented May 22, 2024

  • I printed the help information for these commands, and many of them have no subcommands and few options.

@Konfekt
Copy link
Author

Konfekt commented May 22, 2024

More comprehensive would be https://github.com/bmatzelle/gow/tree/master/bin

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

No branches or pull requests

2 participants