Skip to content

Commit

Permalink
Update the asciinema scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
antham committed Jul 11, 2024
1 parent a6c7711 commit 45f5edd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Wo is a shell workspace manager inspired by the great https://github.com/jamesob

We take as an example a workspace created for a cli project that output the environment variable `SECRET`.

[![asciicast](https://asciinema.org/a/uFpOuKbjFtRtDMiVHI0FwqmPd.svg)](https://asciinema.org/a/uFpOuKbjFtRtDMiVHI0FwqmPd)
[![asciicast](https://asciinema.org/a/yGEwo4mv3bNcmTM3YC0oD4kfN.svg)](https://asciinema.org/a/yGEwo4mv3bNcmTM3YC0oD4kfN)

## Install

Expand Down
16 changes: 10 additions & 6 deletions asciinema-scenario.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,20 @@ instructions:
command: wo create cli $PWD/dump-secret
- !Command
command: source <(wo setup bash)
hidden: true
- !Command
command: c_cli
- !Command
command: pwd
- !Wait 2s
- !Command
command: cat main.go
- !Wait 3s
- !Command
command: wo list
- !Wait 2s
- !Wait 4s
- !Command
command: wo show cli
- !Wait 2s
- !Wait 4s
- !Interactive
command: wo edit cli
keys:
Expand Down Expand Up @@ -129,10 +131,10 @@ instructions:
- ^S
- ^X
- ^C
- !Wait 2s
- !Wait 4s
- !Command
command: wo show cli
- !Wait 2s
- !Wait 4s
- !Command
command: wo run cli run
- !Wait 2s
Expand Down Expand Up @@ -175,6 +177,7 @@ instructions:
- ^S
- ^X
- ^C
- !Wait 2s
- !Command
command: wo run cli run
- !Wait 2s
Expand Down Expand Up @@ -216,9 +219,10 @@ instructions:
- ^S
- ^X
- ^C
- !Wait 2s
- !Command
command: wo show cli
- !Wait 2s
- !Wait 4s
- !Command
command: wo run cli -e prod run
- !Wait 2s
Expand Down

0 comments on commit 45f5edd

Please sign in to comment.