Skip to content

Split the generateDocs as lib or cli #212

Description

@hellodword

So we can use it everywhere not only in the GitHub Actions :)

A simple PoC here: https://github.com/hellodword/action/tree/patch-3

Try it with:

npx ts-node ./src/cli/main.ts features docs --owner ohhh --repo wuw ./__tests__/examples/simple/src

And, would it be better to implement generateDocs and validate things in the upstream cli?

devcontainer features validate
devcontainer features docs
devcontainer templates validate
devcontainer templates docs
...

Two implementations always have differences.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions