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

Support Auto Completing Manifest Name (Ref #17) #8

Closed
ralphcallaway opened this issue Oct 16, 2019 · 4 comments
Closed

Support Auto Completing Manifest Name (Ref #17) #8

ralphcallaway opened this issue Oct 16, 2019 · 4 comments

Comments

@ralphcallaway
Copy link
Collaborator

Sub case of #17

if i have a file manifest/package.xml and i type sfdx force:source:clean -x m i'd expect to be able to tab and it would auto complete the file name (default zsh behavior)

not sure if there is something in the sfdx command that supports this

i'm currently using https://github.com/wadewegner/salesforce-cli-zsh-completion which might be the source of the behavior, so may end up being something to add over there

@ChuckJonas
Copy link
Collaborator

I'm non entirely sure... I know that auto-complete for the standard plugin is provided to zsh via https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/sfdx/_sfdx

I think this is the only reason I get auto-complete when I run sfdx force:mdapi:deploy -d deploy/...

We could create something similar, but it will require a manual install (I don't think omgzsh is going to accept something this niche)

@ralphcallaway
Copy link
Collaborator Author

oh sweet didn't know the completions were already in a plugin

this isn't worth thinking about, closing this

@ChuckJonas
Copy link
Collaborator

I think maybe as an alternate solution, we should just default -x to manifest/package.xml... as this is really the only path that would ever be valid for a typical dev project

@ralphcallaway
Copy link
Collaborator Author

love that as a default

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