-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
66 changed files
with
1,568 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: vhs template | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
topic: | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
vhs: | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
container: ghcr.io/carapace-sh/carapace | ||
steps: | ||
- name: shallow clone | ||
uses: actions/checkout@v4 | ||
|
||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: example | ||
path: /usr/local/bin/ | ||
|
||
- run: chmod +x /usr/local/bin/example | ||
|
||
- name: vhs | ||
run: | | ||
cd docs/src/development/vhs/${{ inputs.topic }} | ||
ls *.tape | xargs -n1 vhs | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ inputs.topic }} | ||
path: | | ||
docs/src/development/vhs/${{ inputs.topic }}/ | ||
!docs/src/development/vhs/${{ inputs.topic }}/*.tape | ||
retention-days: 1 | ||
|
||
- name: check | ||
run: | | ||
git diff | ||
[ -z "$(git status --porcelain)" ] # clean workspace unless .ascii files changed | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# VHS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Require example | ||
|
||
Set Theme "Snazzy" | ||
Set FontFamily "JetBrains Mono" | ||
Set FontSize 30 | ||
Set Width 1400 | ||
Set Height 300 | ||
Set Padding 0 | ||
|
||
Set Shell "bash" | ||
|
||
Hide | ||
[email protected] "source <(example _carapace bash)" Enter | ||
[email protected] "clear" Enter | ||
Show |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Double Quote | ||
|
||
- bash | ||
![](./doubleQuote/out/doubleQuote.bash.gif) | ||
- elvish | ||
![](./doubleQuote/out/doubleQuote.elvish.gif) | ||
- fish | ||
![](./doubleQuote/out/doubleQuote.fish.gif) | ||
- nushell | ||
![](./doubleQuote/out/doubleQuote.nushell.gif) | ||
- oil | ||
![](./doubleQuote/out/doubleQuote.oil.gif) | ||
- powershell | ||
![](./doubleQuote/out/doubleQuote.powershell.gif) | ||
- xonsh | ||
![](./doubleQuote/out/doubleQuote.xonsh.gif) | ||
- zsh | ||
![](./doubleQuote/out/doubleQuote.zsh.gif) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Source ../bash.tape | ||
|
||
Output out/doubleQuote.bash.gif | ||
Output out/doubleQuote.bash.ascii | ||
|
||
Type `example "ac"` Sleep 1 Tab@1 | ||
|
||
Sleep 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Source ../elvish.tape | ||
|
||
Output out/doubleQuote.elvish.gif | ||
Output out/doubleQuote.elvish.ascii | ||
|
||
Type `example "ac"` Sleep 1 Tab@1 | ||
|
||
Sleep 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Source ../fish.tape | ||
|
||
Output out/doubleQuote.fish.gif | ||
Output out/doubleQuote.fish.ascii | ||
|
||
Type `example "ac"` Sleep 1 Tab@1 | ||
|
||
Sleep 2 |
8 changes: 8 additions & 0 deletions
8
docs/src/development/vhs/doubleQuote/doubleQuote.nushell.tape
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Source ../nushell.tape | ||
|
||
Output out/doubleQuote.nushell.gif | ||
Output out/doubleQuote.nushell.ascii | ||
|
||
Type `example "ac"` Sleep 1 Tab@1 | ||
|
||
Sleep 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Source ../oil.tape | ||
|
||
Output out/doubleQuote.oil.gif | ||
Output out/doubleQuote.oil.ascii | ||
|
||
Type `example "ac"` Sleep 1 Tab@1 | ||
|
||
Sleep 2 |
8 changes: 8 additions & 0 deletions
8
docs/src/development/vhs/doubleQuote/doubleQuote.powershell.tape
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Source ../powershell.tape | ||
|
||
Output out/doubleQuote.powershell.gif | ||
Output out/doubleQuote.powershell.ascii | ||
|
||
Type `example "ac"` Sleep 1 Tab@1 | ||
|
||
Sleep 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Source ../xonsh.tape | ||
|
||
Output out/doubleQuote.xonsh.gif | ||
Output out/doubleQuote.xonsh.ascii | ||
|
||
Type `example "ac"` Sleep 1 Tab@1 | ||
|
||
Sleep 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Source ../zsh.tape | ||
|
||
Output out/doubleQuote.zsh.gif | ||
Output out/doubleQuote.zsh.ascii | ||
|
||
Type `example "ac"` Sleep 1 Tab@1 | ||
|
||
Sleep 2 |
40 changes: 40 additions & 0 deletions
40
docs/src/development/vhs/doubleQuote/out/doubleQuote.bash.ascii
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
> | ||
|
||
|
||
|
||
|
||
|
||
|
||
──────────────────────────────────────────────────────────────────────────────── | ||
> example "ac" | ||
|
||
|
||
|
||
|
||
|
||
|
||
──────────────────────────────────────────────────────────────────────────────── | ||
> example "ac" | ||
|
||
|
||
|
||
|
||
|
||
|
||
──────────────────────────────────────────────────────────────────────────────── | ||
> example action | ||
|
||
|
||
|
||
|
||
|
||
|
||
──────────────────────────────────────────────────────────────────────────────── | ||
> example action | ||
|
||
|
||
|
||
|
||
|
||
|
||
──────────────────────────────────────────────────────────────────────────────── |
40 changes: 40 additions & 0 deletions
40
docs/src/development/vhs/doubleQuote/out/doubleQuote.elvish.ascii
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
> | ||
|
||
|
||
|
||
|
||
|
||
|
||
──────────────────────────────────────────────────────────────────────────────── | ||
> example "ac" | ||
|
||
|
||
|
||
|
||
|
||
|
||
──────────────────────────────────────────────────────────────────────────────── | ||
> example "ac" | ||
|
||
|
||
|
||
|
||
|
||
|
||
──────────────────────────────────────────────────────────────────────────────── | ||
> example "action" | ||
COMPLETING argument | ||
action (action example) | ||
|
||
|
||
|
||
|
||
──────────────────────────────────────────────────────────────────────────────── | ||
> example "action" | ||
COMPLETING argument | ||
action (action example) | ||
|
||
|
||
|
||
|
||
──────────────────────────────────────────────────────────────────────────────── |
Oops, something went wrong.