PLIST viewer.

This commit is contained in:
n1073645 2019-11-21 12:53:44 +00:00
parent ddb77c6ab3
commit e92ed13864

View File

@ -0,0 +1,56 @@
/**
* @author n1073645 [n1073645@gmail.com]
* @copyright Crown Copyright 2019
* @license Apache-2.0
*/
import Operation from "../Operation.mjs";
import OperationError from "../errors/OperationError.mjs";
/**
* PLIST Viewer operation
*/
class PLISTViewer extends Operation {
/**
* PLISTViewer constructor
*/
constructor() {
super();
this.name = "PLIST Viewer";
this.module = "Other";
this.description = "Converts PLISTXML file into a human readable format.";
this.infoURL = "";
this.inputType = "string";
this.outputType = "string";
this.args = [
/* Example arguments. See the project wiki for full details.
{
name: "First arg",
type: "string",
value: "Don't Panic"
},
{
name: "Second arg",
type: "number",
value: 42
}
*/
];
}
/**
* @param {string} input
* @param {Object[]} args
* @returns {string}
*/
run(input, args) {
// const [firstArg, secondArg] = args;
throw new OperationError("Test");
}
}
export default PLISTViewer;