-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(docs): remove optional from --allow-run flag when using --upgrade…
… option feat(http): add new commands to http file, including a command that logs to stderr and a command that doesn't output anything fix(http): fix typo in command id fix(http): remove unused code feat(command.ts): add support for displaying command output in the console fix(logger.ts): fix typo in comment feat(logger.ts): add support for displaying command spinner in the console fix(print.ts): change spinner symbol from dot to dash fix(runner.ts): clear spinner before executing command and start it again after the command is executed
- Loading branch information
1 parent
08ac491
commit 65e70b9
Showing
8 changed files
with
195 additions
and
46 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,28 +1,39 @@ | ||
--- | ||
host: <%= Deno.env.get('HOST') || 'https://faker.deno.dev' %> | ||
|
||
--- | ||
|
||
### | ||
--- | ||
id: run command with request | ||
command: echo "with request" | ||
command: echo "with request" && sleep 2 && echo "2s" | ||
--- | ||
GET / | ||
GET /?delay=1000 | ||
x-quiet: true | ||
|
||
### | ||
|
||
--- | ||
id: run command with no request | ||
command: echo "with NO request" && sleep 1 && echo "1s" && sleep 1 && echo "2s" | ||
id: run command without request | ||
command: echo "without request" | ||
--- | ||
### | ||
--- | ||
id: fail command | ||
command: echo "fail command" && exit 133 | ||
--- | ||
|
||
### | ||
|
||
|
||
--- | ||
id: run command with timeout | ||
timeout: 1000 | ||
command: echo "with timeout && sleep 2" | ||
id: log to stderr | ||
command: sh toStderr.sh | ||
ignore: true | ||
--- | ||
|
||
### | ||
### | ||
--- | ||
id: run command without stdout | ||
timeout: 2000 | ||
command: sleep 5 | ||
ignore: true | ||
--- |
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 |
---|---|---|
@@ -1,9 +1,4 @@ | ||
|
||
POST https://faker.deno.dev/pong | ||
quiet: true | ||
content-type: application/json | ||
|
||
|
||
{ | ||
"ping": "pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text pong long long very long text " | ||
} | ||
--- | ||
id: fail command | ||
command: echo "fail command" && exit 133 | ||
--- |
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