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

Make the authentication flag (-a) optional #1

Open
MatthewKosloski opened this issue Jun 18, 2019 · 0 comments
Open

Make the authentication flag (-a) optional #1

MatthewKosloski opened this issue Jun 18, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@MatthewKosloski
Copy link
Owner

If it exists, authentication arguments are read from App.config, and these serve as the default and can be optionally overridden by args supplied to the CLI. In other words, if there is a complete App.config, no authentication arguments need to be provided to the CLI under the -a flag.

However the -a flag is still required with blank CLI args (-a ::::).

Thus, to indicate an intention to use the authentication arguments from App.config, you can do:

dotnet SFDCInjector.dll inject -a :::: -e EventClassName:EventFieldPropertyValue

To improve user experience, I propose that the -a flag should be optional and only included if there is an intention to override one or more authentication arguments from App.config.

In other words, I propose that aforementioned usage of the injector be simplified to:

dotnet SFDCInjector.dll inject -e EventClassName:EventFieldPropertyValue
@MatthewKosloski MatthewKosloski added the enhancement New feature or request label Jun 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant