/** * @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;