{
    "description": "Creates a new generic directive definition in the given or default project.",
    "properties": {
        "export": {
            "default": false,
            "description": "When true, the declaring NgModule exports this directive.",
            "type": "boolean",
            "x-user-analytics": 19
        },
        "flat": {
            "default": true,
            "description": "When true (the default), creates the new files at the top level of the current project.",
            "type": "boolean"
        },
        "lintFix": {
            "default": false,
            "description": "When true, applies lint fixes after generating the directive.",
            "type": "boolean",
            "x-user-analytics": 15
        },
        "module": {
            "alias": "m",
            "description": "The declaring NgModule.",
            "type": "string"
        },
        "name": {
            "$default": {
                "$source": "argv",
                "index": 0
            },
            "description": "The name of the new directive.",
            "type": "string",
            "x-prompt": "What name would you like to use for the directive?"
        },
        "path": {
            "description": "The path at which to create the interface that defines the directive, relative to the workspace root.",
            "format": "path",
            "type": "string",
            "visible": false
        },
        "prefix": {
            "alias": "p",
            "description": "A prefix to apply to generated selectors.",
            "oneOf": [
                {
                    "maxLength": 0
                },
                {
                    "format": "html-selector",
                    "minLength": 1
                }
            ],
            "type": "string"
        },
        "project": {
            "$default": {
                "$source": "projectName"
            },
            "description": "The name of the project.",
            "type": "string"
        },
        "selector": {
            "description": "The HTML selector to use for this directive.",
            "format": "html-selector",
            "type": "string"
        },
        "skipImport": {
            "default": false,
            "description": "When true, does not import this directive into the owning NgModule.",
            "type": "boolean",
            "x-user-analytics": 18
        },
        "skipTests": {
            "default": false,
            "description": "When true, does not create \"spec.ts\" test files for the new class.",
            "type": "boolean",
            "x-user-analytics": 12
        },
        "spec": {
            "default": true,
            "description": "When true (the default), generates a  \"spec.ts\" test file for the new directive.",
            "type": "boolean",
            "x-deprecated": "Use \"skipTests\" instead."
        }
    },
    "required": [
        "name"
    ],
    "title": "Angular Directive Options Schema",
    "type": "object"
}