Skip to content

feat: add -p option for custom output path and code refactoring#181

Open
NathanVong wants to merge 5 commits into
Mebus:masterfrom
NathanVong:master
Open

feat: add -p option for custom output path and code refactoring#181
NathanVong wants to merge 5 commits into
Mebus:masterfrom
NathanVong:master

Conversation

@NathanVong

Copy link
Copy Markdown

Summary

This PR addresses issue #116 by adding the -p flag, which allows users to specify a custom output directory for the generated files. Additionally, I have performed some code refactoring to improve stability and maintainability.

Changes

  • Feature: Added -p argument to specify the output directory for the generated file.
  • Refactoring:
    • Added write permission checks to prevent runtime errors.
    • Removed redundant code to improve overall code quality.
  • Documentation: Updated the README with the new -p option.

Testing

  • Verified that the -p flag correctly saves the output to the specified directory.
  • Confirmed that the program handles permission errors gracefully.

Closes #116

NathanVong added 5 commits May 9, 2026 16:27
feat: add -p option to specify output path; refactor code for permission checks
Add -p option for output path and code cleanup
Added details about enhancements and new features in the README.
docs: clean up README for pull request
docs: clean up README for pull request
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity

Metric Results
Complexity 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

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.

Feature Request

1 participant