Skip to content

Some feature functions for CLI.#35

Merged
paulirwin merged 3 commits intopaulirwin:masterfrom
flight-tom:master
Mar 9, 2022
Merged

Some feature functions for CLI.#35
paulirwin merged 3 commits intopaulirwin:masterfrom
flight-tom:master

Conversation

@flight-tom
Copy link
Copy Markdown
Contributor

  • Support folder to folder converting.
  • Enhance error handling to prevent any exception interrupting from folder convert going.
  • Adopt log4net for logging to replace Console.WriteLine.

Anyway, you guys' work really help me lots.

**First argument becomes a mode indicator.**

- f mode: file to file convert.
- d mode: folder to folder convert -> means get ting all *.java files for converting to *.cs.
- Prevent interrupt from single file was failed.
- In folder mode, will skip when destination  file was there already.
@paulirwin
Copy link
Copy Markdown
Owner

Thanks for the contribution! I am not in favor of adding log4net to this project (especially not as configured writing to C:\applogs) but I don't see a reason why we can't use the .NET logging extensions. I'll add this to 2.1 but replacing log4net with the logging extensions. Thanks!

@paulirwin paulirwin merged commit 25ed205 into paulirwin:master Mar 9, 2022
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.

2 participants