Skip to content

Commit

Permalink
added examples
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Jun 11, 2024
1 parent 46dec77 commit f87d6e5
Showing 1 changed file with 46 additions and 1 deletion.
47 changes: 46 additions & 1 deletion docs/src/sandcastle.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,49 @@

Not sure what to play with? Here are some ideas.

> TODO
```handlebars
gh repo clone {{REPO}} -- --branch {{BRANCH}}
```

```handlebars
gh issue list --repo {{REPOS}} --label {{LABEL}}
```

```handlebars
gh browse --repo {{REPO}} --branch {{BRANCH}} /{{FILES}}
```

```handlebars
gh api --method {{METHOD}} {{API_PATH}}
```

```handlebars
gh alias create NAME {{COMMAND}}
```

```handlebars
git show {{REF}}
git show REF~{{RELATIVE_REF}}
git show REF~RELATIVE_REF~{{RELATIVE_REF}}
git show REF~RELATIVE_REF~RELATIVE_REF:{{REF_FILES}}
```

```handlebars
git checkout {{REF}} {{UNEQUAL_FILES}}
```

```handlebars
git log {{REF}}
git -C {{FOLDER}} log {{REF}}
```

```handlebars
git add {{MODIFIED_FILES}}
```

```sh
gh issue view {{ISSUE}}
set-env GH_REPO {{REPO}}
gh issue view {{ISSUE}}
unset-env {{ENV}}
```

0 comments on commit f87d6e5

Please sign in to comment.