Skip to main content

@abapify/adt-cli

Provides the adt binary — the user-facing entry point for the abapify toolkit. Commands are thin wrappers over services that expose the same business logic programmatically (consumed by adt-mcp and workspace tests).

See the CLI reference for commands.

Install

bun add -g @abapify/adt-cli # or: npm i -g @abapify/adt-cli
adt --help

Public API

// Bin: adt, adt-all
export * from '@abapify/adt-cli'; // -> lib/cli, lib/plugins

// Programmatic services
export {
ImportService,
type ObjectImportOptions,
type PackageImportOptions,
type TransportImportOptions,
type ImportResult,
} from '@abapify/adt-cli';

// Checkin (E08)
export {
CheckinService,
type CheckinOptions,
type CheckinResult,
type ChangePlan,
type ChangePlanEntry,
type ChangeAction,
type DependencyTier,
type ApplyResult,
type ApplyTierResult,
buildPlan,
classifyTier,
flattenPlanObjects,
diffObject,
applyPlan,
} from '@abapify/adt-cli';

Usage

# CLI
adt auth login --config adt.config.ts
adt import transport DEVK900001 ./src --format abapgit

# Programmatic
import { ImportService } from '@abapify/adt-cli';
const result = await new ImportService().importTransport({
transportNumber: 'DEVK900001',
outputPath: './src',
format: 'abapgit',
});

Dependencies

Workspace: adk, adt-auth, adt-client, adt-config, adt-locks, adt-plugin, adt-plugin-abapgit, adt-plugin-gcts, adt-plugin-gcts-cli, adt-rfc, adt-tui, and the domain CLI plugins (adt-atc, adt-aunit, adt-diff, adt-export).

See also