@abapify/adt-plugin-abapgit
v0.4.60
Published
abapGit serialization plugin for adt-cli — round-trips ADT objects to/from the abapGit on-disk format
Readme
@abapify/adt-plugin-abapgit
abapGit serialization plugin for adt-cli — round-trips ADT objects to/from the abapGit on-disk format.
Install
npm install @abapify/adt-plugin-abapgitUsage
import { abapgitFormatPlugin } from '@abapify/adt-plugin-abapgit';
const adkClass = {
name: 'ZCL_EXAMPLE',
description: 'Example class',
dataSync: {
name: 'ZCL_EXAMPLE',
description: 'Example class',
language: 'EN',
include: [{ includeType: 'main' }],
},
};
const source = 'CLASS zcl_example DEFINITION PUBLIC. ENDCLASS.';
const { files } = await abapgitFormatPlugin.materialize!({
object: adkClass,
objectType: 'CLAS',
packagePath: ['ZROOT'],
sources: { main: source },
formatOptions: { folderLogic: 'prefix' },
});Features
- Round-trips ADT objects to / from the abapGit on-disk format
prefixandfullfolder logic- Used by
adt checkout/adt checkin
Documentation
adt-cli.netlify.app/sdk/packages/adt-plugin-abapgit
Part of abapify — open, typed tooling for SAP ABAP Development Tools (ADT): CLI, MCP server, and SDK.
