function directive(name, args, opts) {
  const template = (opts.template || opts.t);

  generate.directive(name, template);
  args.map((otherName) => generate.directive(otherName, template));