1.1.3 • Published 7 years ago

nuggit v1.1.3

Weekly downloads
4
License
ISC
Repository
github
Last release
7 years ago

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

ScenarioExample
List programs and classesnuggit example.nugg --list
Extract all programs and classesnuggit example.nugg
Extract a single classnuggit example.nugg --single=ZCL_MYCLASS

Arguments and options

Argument description in table below.

nuggit <source.nugg> [options]

ArgumentDescription
<source.nugg>Path to source nugget
OptionDescription
--outdir=<directory>Optional Path to output directory if different from current directory
--listOptional 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?