Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ dotgithub init
dotgithub init --output ./my-workflows
```

### Add GitHub Actions
### Add GitHub Actions (and generate TypeScript wrappers)

```bash
# Add a specific action
# Add a specific action and generate its TypeScript wrapper/types
dotgithub add actions/checkout@v4

# Add multiple actions
# Add multiple actions and generate wrappers for each
dotgithub add actions/setup-node@v4 actions/setup-python@v5
```

Expand All @@ -53,7 +53,7 @@ dotgithub synth
## Basic Usage

1. **Initialize** your project with `dotgithub init`
2. **Configure** actions in `dotgithub.json`
2. **Add actions** with `dotgithub add ...` (this generates TypeScript action wrappers and updates config)
3. **Write** your workflow logic in TypeScript
4. **Synthesize** workflows with `dotgithub synth`

Expand Down
4 changes: 2 additions & 2 deletions packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ npx @dotgithub/cli --help
# Initialize DotGitHub config/files
dotgithub init

# Add pinned GitHub Actions to your config
# Add action and generate TypeScript wrapper/types for it
dotgithub add actions/checkout@v4

# Generate workflow files
Expand All @@ -37,7 +37,7 @@ dotgithub --help
## Typical TypeScript workflow

1. `dotgithub init`
2. `dotgithub add <org/repo@version>`
2. `dotgithub add <org/repo@version>` (downloads metadata and generates TypeScript action wrappers)
3. author/update your workflow constructs in **TypeScript**
4. `dotgithub synth` to generate YAML
5. commit generated workflow files
Expand Down