{
    "$schema": "https://raw.githubusercontent.com/npenin/akala/main/packages/commands/command-schema.json",
    "": {
        "inject": [
            "params.0",
            "params.1",
            "params.2",
            "params.3"
        ]
    },
    "cli": {
        "inject": [
            "options.name",
            "options.commands",
            "options.metadataFile",
            "options.typescriptFile"
        ],
        "usage": "add-script <commands> [typescriptFile] [metadataFile]",
        "options": {
            "name": {
                "needsValue": true
            },
            "commands": {
                "normalize": true
            }
        }
    },
    "doc": {
        "description": "Adds scripts generate (and generate-metadata if `typescriptFile` is provided) to the package.json in cwd.\nif `name` is provided, generated scripts names are suffixed with the provided name",
        "inject": [
            "name of the container to be used",
            "path to the folder containing the commands",
            "path to the metadata file to get generated"
        ]
    }
}
