0.0.13 • Published 4 months ago
github-action-yaml v0.0.13
github-action-yaml
Install
npm install github-action-yaml
Usage
npx github-action-yaml generate ./src/generated/github-action.ts
Example
import { parseInputs } from './generated/github-action';
const main = () => {
const inputs = parseInputs()
}
main()
Generate Options
Option | Description | Default | Required |
---|---|---|---|
output | Output file | true | |
-i , --input | Input file | action.yml | false |
--watch | Watch mode | false |