{"id":18079272,"url":"https://github.com/ashawley/scala-xml-pp","last_synced_at":"2025-04-05T21:42:43.313Z","repository":{"id":150093047,"uuid":"135963329","full_name":"ashawley/scala-xml-pp","owner":"ashawley","description":"Scala XML pretty-printer command","archived":false,"fork":false,"pushed_at":"2018-12-13T16:11:55.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T02:10:02.063Z","etag":null,"topics":["scala","scala-xml","xml"],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ashawley.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-04T02:58:29.000Z","updated_at":"2020-01-16T04:30:51.000Z","dependencies_parsed_at":"2023-06-05T07:45:34.941Z","dependency_job_id":null,"html_url":"https://github.com/ashawley/scala-xml-pp","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashawley%2Fscala-xml-pp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashawley%2Fscala-xml-pp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashawley%2Fscala-xml-pp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashawley%2Fscala-xml-pp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashawley","download_url":"https://codeload.github.com/ashawley/scala-xml-pp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247406080,"owners_count":20933803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["scala","scala-xml","xml"],"created_at":"2024-10-31T12:42:07.666Z","updated_at":"2025-04-05T21:42:43.290Z","avatar_url":"https://github.com/ashawley.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"Scala XML pretty-printer command\n================================\n\nThis is a command-line tool that uses `scala.xml.PrettyPrinter` to\nformat (_pretty-print_) and overwrite in-place XML files.\n\n```\n$ java -jar ~/Downloads/scala-xml-pp.jar\nError: Missing argument files...\nTry --help for more information.\n\n$ function scala-xml-pp() {\n    java -jar ~/Downloads/scala-xml-pp.jar \"$@\";\n}\n\n$ scala-xml-pp --help\nscala-xml-pp 0.0\nUsage: scala-xml-pp [options] files...\n\n  -w, --width \u003cN\u003e   Maximum width of N columns (default: 80)\n  -i, --indent \u003cN\u003e  Indent N spaces (default: 2)\n  --minimizeEmpty   Minimize empty elements (default: false)\n  --help            Output this help.\n  files...          XML files to format.\n\n$ scala-xml-pp -w 80 -i 2 books.xml \nFormatted books.xml\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashawley%2Fscala-xml-pp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashawley%2Fscala-xml-pp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashawley%2Fscala-xml-pp/lists"}