nuggit

1.1.3 • Public • Published

nuggit

Split a big nugget into smaller nuggets

Tool for parsing SAPLink nuggets

Current use case is extracting (outside of an SAP system) individual programs or classes from large nugg files.

Installation

npm install -g nuggit

Usage

Assumes use from command line.

Examples

Scenario Example
List programs and classes nuggit example.nugg --list
Extract all programs and classes nuggit example.nugg
Extract a single class nuggit example.nugg --single=ZCL_MYCLASS

Arguments and options

Argument description in table below.

nuggit <source.nugg> [options]

Argument Description
<source.nugg> Path to source nugget
Option Description
--outdir=<directory> Optional Path to output directory if different from current directory
--list Optional Outputs a list of objects in a nugget that can be parsed by this program
--single=<objectName> Optional Outputs the single object specified, rather than all objects. objectName must be one of the entries returned by nuggit <source> --list

Issues

Raise issues on GitHub

TODO

Features TODO

  • function module source code?
  • unescape source code from XML?
    • include non source parameters as abap comments at the top of the file?

Readme

Keywords

Package Sidebar

Install

npm i nuggit

Weekly Downloads

1

Version

1.1.3

License

ISC

Last publish

Collaborators

  • stu-b-doo