Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinmcfarland committed Dec 10, 2024
1 parent a74785e commit 1edd7e4
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/run-create-plugma-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,20 @@ jobs:
run: expect -v
shell: bash

- name: Run create-plugma CLI with Expect
- name: Debug create-plugma CLI with Expect
run: |
expect <<EOF
log_user 1
set timeout 20
spawn npx create-plugma
set inputs [list "\r" "\r" "TestProject\r"]
foreach input $inputs {
expect {
-re . { send $input; exp_continue }
}
expect {
-re . { send "\r"; exp_continue } # Send Enter
}
expect {
-re . { send "\r"; exp_continue } # Send Enter again
}
expect {
-re . { send "TestProject\r"; exp_continue } # Send project name
}
expect eof
EOF
Expand Down

0 comments on commit 1edd7e4

Please sign in to comment.