Skip to content

Adding custom task  #98

Description

@phun-ky

I have this in my package.json, generating a nice README.md with verb-readme-generator as devDependency and verb installed globally:

"verb": {
  "toc": true,
  "tasks": [
    "readme"
  ]
},

Is it possible to add a task (without adding a file) to produce another type of .md file? For example:

"verb": {
  "toc": true,
  "tasks": [
    "readme",
    "styleguide": {
      "includeDir": "/path/to/include other files from into .styleguide.md",
      "input": ".styleguide.md",
      "output": "/foo/bar/styleguide.md"
    }
  ]
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions