hunk.code_window:       "description": "The name of the directive.",
         "$default": {
           "$source": "argv",
           "index": 0
         }
       },
       "path": {
         "type": "string",
         "format": "path",
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit:       },
         "x-prompt": "What name would you like to use for the directive?"
  
hunk.file_path: packages/schematics/angular/directive/schema.json
hunk.type: replace
file: import { ng } from '../../utils/process';
  import { writeFile } from '../../utils/fs';
  import { oneLine } from 'common-tags';
  
  export default function () {
    // TODO(architect): Figure out how this test should look like post devkit/build-angular.
    return;
  
    const fileName = 'src/app/foo.ts';
  
    return Promise.resolve()
      .then(() => ng('config', 'lint.0.exclude', '"**/foo.ts"'))
      .then(() => writeFile(fileName, 'const foo = "";\n'))
      .then(() => ng('lint', 'app'))
      .then(({ stdout }) => {
        if (!stdout.match(/All files pass linting\./)) {
          throw new Error(oneLine`
            Expected to match "All files pass linting."
            in ${stdout}.
          `);
        }
      });
  }
  