devcontainers / devcontainers/action

Split the generateDocs as lib or cli

Open
#212 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
88
Forks
32
PR merge metrics
No merged PRs in 30d

Description

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:

```sh
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](https://github.com/devcontainers/cli)?

```sh
devcontainer features validate
devcontainer features docs
devcontainer templates validate
devcontainer templates docs
...
```

Two implementations always have differences.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.