{"id":16416423,"url":"https://github.com/igapyon/blancoapexformattercli","last_synced_at":"2026-05-14T08:33:26.048Z","repository":{"id":144563998,"uuid":"63473867","full_name":"igapyon/blancoApexFormatterCli","owner":"igapyon","description":"Command line interface for Apex source code formatter.","archived":false,"fork":false,"pushed_at":"2017-10-09T02:55:25.000Z","size":2395,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-05T13:38:15.538Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"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/igapyon.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":"2016-07-16T08:42:27.000Z","updated_at":"2016-07-16T11:16:07.000Z","dependencies_parsed_at":"2024-07-09T15:31:17.271Z","dependency_job_id":null,"html_url":"https://github.com/igapyon/blancoApexFormatterCli","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/igapyon/blancoApexFormatterCli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igapyon%2FblancoApexFormatterCli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igapyon%2FblancoApexFormatterCli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igapyon%2FblancoApexFormatterCli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igapyon%2FblancoApexFormatterCli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igapyon","download_url":"https://codeload.github.com/igapyon/blancoApexFormatterCli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igapyon%2FblancoApexFormatterCli/sbom","scorecard":{"id":482288,"data":{"date":"2025-08-11","repo":{"name":"github.com/igapyon/blancoApexFormatterCli","commit":"0e775a4e1e6889a652f82a7644270d401dbac9b8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-78wr-2p64-hpwj","Warn: Project is vulnerable to: GHSA-gwrp-pvrq-jmwv","Warn: Project is vulnerable to: GHSA-4p6w-m9wc-c9c9","Warn: Project is vulnerable to: GHSA-5v34-g2px-j4fw","Warn: Project is vulnerable to: GHSA-q5r4-cfpx-h6fh"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T16:55:54.675Z","repository_id":144563998,"created_at":"2025-08-19T16:55:54.675Z","updated_at":"2025-08-19T16:55:54.675Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33016988,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-11T07:09:13.822Z","updated_at":"2026-05-14T08:33:26.004Z","avatar_url":"https://github.com/igapyon.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blancoApexFormatter\n\nblancoApexFormatter is a Apax language source code formatter.\nblancoApexFormatter is written in Java. blancoApexFormatter is provided as an OSS product.\n\n## spec\n\nblancoApexFormatter format Apax code like below:\n\n### before (input)\n\n```java\n@isTest\npublic without sharing class MySimpleTest {\n         static testMethod void testMain001(){\n              System.assert(false,\n              'First hello word written in Apex, as a error of test code.');\n}\n}\n```\n\n### after (formatted output)\n\n```java\n@isTest\npublic without sharing class MySimpleTest {\n    static testMethod void testMain001() {\n        System.assert(false,\n            'First hello word written in Apex, as a error of test code.');\n    }\n}\n```\n\n## usage\n\nThere is several way to use blancoApexFormatter.\nMy currently recommendation is to use blancoApexFormatterPlugin. blancoApexFormatter provides Maven Plugin, Ant Task and command line interface. See below:\n\n### Maven Plugin\n\n```xml\n            \u003cplugin\u003e\n                \u003cgroupId\u003ejp.igapyon.blanco.apex.formatter.plugin\u003c/groupId\u003e\n                \u003cartifactId\u003eblancoApexFormatterPlugin\u003c/artifactId\u003e\n                \u003cversion\u003e1.0.3\u003c/version\u003e\n                \u003cconfiguration\u003e\n                    \u003cinput\u003e${project.basedir}/src/main/apex\u003c/input\u003e\n                    \u003coutput\u003e${project.build.directory}/apex-formatted\u003c/output\u003e\n                    \u003cverbose\u003efalse\u003c/verbose\u003e\n                    \u003cisSmashWhitespace\u003efalse\u003c/isSmashWhitespace\u003e\n                    \u003cisFormatComma\u003etrue\u003c/isFormatComma\u003e\n                    \u003cisFormatSemicolon\u003etrue\u003c/isFormatSemicolon\u003e\n                    \u003cisFormatIndent\u003etrue\u003c/isFormatIndent\u003e\n                    \u003cisFormatSpecialChar\u003etrue\u003c/isFormatSpecialChar\u003e\n                    \u003cisFormatBracket\u003etrue\u003c/isFormatBracket\u003e\n                \u003c/configuration\u003e\n                \u003cexecutions\u003e\n                    \u003cexecution\u003e\n                        \u003cgoals\u003e\n                            \u003cgoal\u003eformat\u003c/goal\u003e\n                        \u003c/goals\u003e\n                    \u003c/execution\u003e\n                \u003c/executions\u003e\n            \u003c/plugin\u003e\n```\n\nRunning Maven Plugin of blancoApexFormatter is like below:\n\n```sh\nmvn jp.igapyon.blanco.apex.formatter.plugin:blancoApexFormatterPlugin:1.0.3:format\n```\n\n### Ant task\n\nPrepare Ant taskdef on your build.xml like below:\n\n```xml\n\t\u003ctaskdef name=\"apexformatter\" classname=\"blanco.apex.formatter.ant.BlancoApexFormatterTask\"\u003e\n\t\t\u003cclasspath\u003e\n\t\t\t\u003cpathelement location=\"./lib/blancoApexFormatterCli.jar\" /\u003e\n\t\t\t\u003cpathelement location=\"./lib/blancoApexFormatter.jar\" /\u003e\n\t\t\t\u003cpathelement location=\"./lib/blancoApexSyntaxParser.jar\" /\u003e\n\t\t\t\u003cpathelement location=\"./lib/blancoApexParser.jar\" /\u003e\n\t\t\t\u003cpathelement location=\"./lib/apache/commons-cli-1.3.1.jar\" /\u003e\n\t\t\t\u003cpathelement location=\"./lib/apache/commons-io-2.5.jar\" /\u003e\n\t\t\u003c/classpath\u003e\n\t\u003c/taskdef\u003e\n```\n\nRun Ant task of blancoApexFormatter like below:\n\n```xml\n\t\u003ctarget name=\"doFormat\"\u003e\n\t\t\u003capexformatter input=\"./test/data/apex/\"\n\t\t               output=\"./test/data/apex.output\"/\u003e\n\t\u003c/target\u003e\n```\n\n'input' and 'output' attributes are required.\n\n### Command line\n\n```\njava -cp blancoApexFormatterCli.jar:lib/blancoApexFormatter.jar:lib/blancoApexSyntaxParser.jar:lib/blancoApexParser.jar:lib/apache/commons-cli-1.3.1.jar:lib/apache/commons-io-2.5.jar blanco.apex.formatter.cli.BlancoApexFormatterCli -i /home/tosiki/workspace/apex-lang/src.apex -o /home/tosiki/workspace/apex-lang/src.apex.output\n```\n\nCommand line interface of blancoApexFormatter provides several option like below:\n\n```\nusage: BlancoApexFormatterCli\n -h,--help                   show usage.\n -i,--input \u003cinputdir\u003e       input directory.\n -o,--output \u003coutputdir\u003e     output directory.\n -v,--verbose                run verbose mode.\n -xbracket \u003ctrue\u003e            format bracket.\n -xcomma \u003ctrue\u003e              format comma.\n -xindent \u003ctrue\u003e             format indent.\n -xsemicolon \u003ctrue\u003e          format semicolon.\n -xsmashwhitespace \u003cfalse\u003e   format with whitespace smash (hard format).\n -xspecialchar \u003ctrue\u003e        format special char.\n```\n\n## download\n\nYou can download latest version of blancoApexFormatter from URL below:\n\n### source distribution\n\n* https://github.com/igapyon/blancoApexFormatter/releases \n* https://github.com/igapyon/blancoApexSyntaxParser/releases\n* https://github.com/igapyon/blancoApexParser/releases\n\n\n## LICENSE\n\n```\n/*\n * Copyright 2016 Toshiki Iga\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figapyon%2Fblancoapexformattercli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figapyon%2Fblancoapexformattercli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figapyon%2Fblancoapexformattercli/lists"}