jazz-plugin-textloader
v1.0.8
Published
Text Loader Jazz Plugin
Readme
Jazz Plugin: Text Loader Documentation
If you want to be a contributor, write to us
Also, access the Jazz Documentation website for more information.
Plugin Pipeline
Tasks
Contains a single task, named load.
load
Purpose: load task is responsable for loading the received data into a text file.
Class: LoaderTask
Parameters:
- target: represents the path of the output text file. References to the inputParameter outputFile.
export const pipeline = [
{
id: "load",
description: " Loads json object into text file",
class: "LoaderTask",
params: ["target"]
}
];Input Parameters
export const inputParameters = {
outputFile: {
alias: "o",
describe: "Output File",
demandOption: true,
default: path.join(path.resolve(process.cwd()), "target.txt"),
name: "target"
}
};- outputFile: indicates the path in which the output file will be generated at the end of the process. Default is the {current path} + /target.txt. References to the parameter named target in the LoaderTask Class.
