Closed
Labels
enhancementNew feature or request
Description
Wire up the one-shot translation UX matching the upstream GitLab skill: paste a workflow, get YAML + a Markdown report on stdout.
npx @intentius/chant-lexicon-gitlab migrate path/to/workflow.yml
npx @intentius/chant-lexicon-gitlab migrate .github/workflows/ --output .gitlab-ci.ymlPipeline: GitHubActionsParser.parse → GitHubToGitLabTransformer.transform (#85) → existing GitLab serializer → .gitlab-ci.yml. The Markdown report (a four-column table: Source / Category / GitLab equivalent / Notes) always goes to stdout.
Also expose as chant migrate --from github --to gitlab <path> once @intentius/chant is installed — both invocations call the same code.
Done when
- New entry point at
lexicons/gitlab/src/migrate-cli.ts, registered as abininpackage.json. -
chant migrate --from github --to gitlabdispatches to it from the core CLI. - Works on every example in
lexicons/github/examples/— produces a Markdown report and a.gitlab-ci.ymlthat parses. -
--output -(stdin/stdout) supported for piping. -
migrate-cli.test.tscovers the CLI surface.
Depends on: #85. Blocks: #87, #89, #90, #91, #92, #93, #95, #96.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity
lex00 commentedon May 23, 2026
Implemented in 7f4144f on
feat/migrate-github-to-gitlab. PR #99 is open (draft); CI green (check / test / validate / link-check all pass). Awaiting merge.