Replies: 1 comment
-
@coffee-r Hey! Feel free to make a PR with pretty print being a default. No need in a flag, the single line output was never actually intended |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I used #277 as a reference for ideas.
I recognize that
php artisan scramble:export
returns json minimized to one line by default.The idea was to include the generated JSON in version control. However, since the JSON is on a single line, it is difficult to track differences when changes are made.
To improve the readability and maintainability of JSON files, why not add an option to allow line breaks? This would enhance version control diffs and make it easier for developers to review changes.
While Scramble provides dynamic documentation generation, static documentation is beneficial for a variety of reasons, including:
The following is a recommended implementation:
usage:
Beta Was this translation helpful? Give feedback.
All reactions