Skip to content

Allow argument suppressing without removing.#47

Open
The-Futurist wants to merge 15 commits into
adrianaisemberg:masterfrom
The-Futurist:master
Open

Allow argument suppressing without removing.#47
The-Futurist wants to merge 15 commits into
adrianaisemberg:masterfrom
The-Futurist:master

Conversation

@The-Futurist

@The-Futurist The-Futurist commented Sep 17, 2017

Copy link
Copy Markdown

This PR delivers:

  1. New method attribute HideAll
  2. Support for masking all command line args if Main has the attribute and user specifies the hide term.
  3. Tiny change to console app showing how it's used.
  4. (cosmetic) Moved method TryHandlePrematureError to the private region, it was in public region.

Intended to ease testing/debugging where developers/users can suppress all args easily yet leave them present in the debug settings (or .bat files, whatever). Just prepending 'rem' for example causes the system to act as if no args were supplied (thus showing help).

…nce of parameters without needing to remove them from the command line.
…repended then it hides the args completely, no need to remove them in order to hide them.
@The-Futurist

Copy link
Copy Markdown
Author

@adrianaisemberg - Hi, I added this while playing with your utility, made it easier for me to explore and test, it should be useful going forward but you may want to adjust it yourself, not sure.

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

Successfully merging this pull request may close these issues.

1 participant