{"id":43406354,"url":"https://github.com/aditosoftware/liquibase-extended-cli","last_synced_at":"2026-02-02T15:59:46.348Z","repository":{"id":257377191,"uuid":"858024615","full_name":"aditosoftware/liquibase-extended-cli","owner":"aditosoftware","description":"Extended CLI wrapper for Liquibase functions that are not easily available from the normal CLI","archived":false,"fork":false,"pushed_at":"2026-01-05T08:28:09.000Z","size":266,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-08T03:31:59.769Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aditosoftware.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-16T07:03:12.000Z","updated_at":"2026-01-05T08:27:52.000Z","dependencies_parsed_at":"2025-12-15T09:06:35.182Z","dependency_job_id":null,"html_url":"https://github.com/aditosoftware/liquibase-extended-cli","commit_stats":null,"previous_names":["aditosoftware/liquibase-extended-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aditosoftware/liquibase-extended-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aditosoftware%2Fliquibase-extended-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aditosoftware%2Fliquibase-extended-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aditosoftware%2Fliquibase-extended-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aditosoftware%2Fliquibase-extended-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aditosoftware","download_url":"https://codeload.github.com/aditosoftware/liquibase-extended-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aditosoftware%2Fliquibase-extended-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29015062,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T14:58:54.169Z","status":"ssl_error","status_checked_at":"2026-02-02T14:58:51.285Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-02-02T15:59:41.192Z","updated_at":"2026-02-02T15:59:46.341Z","avatar_url":"https://github.com/aditosoftware.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# liquibase-extended-cli\n\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=aditosoftware_liquibase-extended-cli\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=aditosoftware_liquibase-extended-cli)\n[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=aditosoftware_liquibase-extended-cli\u0026metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=aditosoftware_liquibase-extended-cli)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=aditosoftware_liquibase-extended-cli\u0026metric=coverage)](https://sonarcloud.io/summary/new_code?id=aditosoftware_liquibase-extended-cli)\n[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=aditosoftware_liquibase-extended-cli\u0026metric=ncloc)](https://sonarcloud.io/summary/new_code?id=aditosoftware_liquibase-extended-cli)\n\nExtended CLI functionality for liquibase.\n\n## Build\n\nYou can build via `mvn clean install`.\n\nAlternatively, you can build via the `installScript.sh`. This will also copy the jar to the desired directory of the extension.\n\n## Updating dependencies\n\nWhenever you are updating dependencies, you need also check the [vscode-liquibase](https://github.com/aditosoftware/vscode-liquibase)\nextension if it still works. If it no longer works, then you might want to update the dependencies there as well.\n\n## Usage\n\n### Basic usage\n\nThe built jar does not include any dependency. Instead, you need to give the required jars in the classpath argument, separated by the specific\nseparator of your OS (`;` (semicolon) for windows, `:` (colon) for macOS and Linux).\n\nYou need the following JARs in your classpath\n\n- liquibase-core: Executing liquibase\n- picocli: Using CLI features\n- snakeyaml: Working with JSON/YAML changelogs\n- gson: Parsing the output to a valid JSON\n- commons-lang3: Utility dependency needed by liquibase\n- commons-io: Utility dependency needed by liquibase\n- opencsv: Utility dependency needed by liquibase\n\nThe following is an example for Windows:\n\n```shell\njava -cp \"liquibase-extended-cli.jar;picocli-4.7.5.jar;liquibase-core-4.28.0.jar;commons-io-2.16.1.jar;commons-lang3-3.14.0.jar;gson-2.10.1.jar;opencsv-5.9.jar;snakeyaml-2.2.jar\" de.adito.LiquibaseExtendedCli \u003ccommand and arguments that should be called\u003e\n```\n\nPlease note that you will need to give correct paths for all the jars.\n\n### Commands\n\nEvery command can be executed via the following:\n\n````shell\njava -cp \"[...]\" de.adito.LiquibaseExtendedCli \u003ccommand-name\u003e \u003cparameters\u003e\n````\n\nYou can always call `--help` for a detailed command help.\n\n#### context\n\nTakes an absolute file path and gets all contexts from the given changelog and their linked changelogs.\n\nExample call: `de.adito.LiquibaseExtendedCli context \"C:\\dev\\project\\.liquibase\\Data\\changelog.xml\"`\n\nExample output: `[\"example\", \"workspace\"]`. Every successful output is written to stdout.\nThis will be always a valid JSON array. This array is already sorted.\n\n#### convert\n\nConverts a file or a directory to another liquibase format.\n\nExample call: `de.adito.LiquibaseExtendedCli convert --format YAML \"C:\\dev\\project\\.liquibase\\Data\\changelog.xml\" \"C:\\dev\\project\\.liquibase\\yaml\"`\n\nThis will write directly to the given path.\n\n**NOTE:** You should always check the created files for any errors.\n\n##### Known issues\n\n* Files with `include` / `includeAll` will not be transformed to the new format. This is due to the limitations of Liquibase. But all path given in\n  the `file` attribute will be transformed to a new path, if the old path was transformed as well.\n\n* YAML and JSON files with `preConditions` will produce invalid results ([Liquibase Issue #4379](https://github.com/liquibase/liquibase/issues/4379))\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faditosoftware%2Fliquibase-extended-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faditosoftware%2Fliquibase-extended-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faditosoftware%2Fliquibase-extended-cli/lists"}