From 3601aaa9f4ba022372cf960b70ae5b37cb983717 Mon Sep 17 00:00:00 2001 From: karampok Date: Fri, 15 Mar 2024 15:46:53 +0100 Subject: [PATCH] update readme and change the default value on dry-run --- README.md | 9 +++++++-- demo.go | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index db133a3..97be5d1 100644 --- a/README.md +++ b/README.md @@ -53,11 +53,16 @@ COMMANDS: GLOBAL OPTIONS: --all, -l run all demos (default: false) --auto, -a run the demo in automatic mode, where every step gets executed automatically (default: false) - --auto-timeout auto, -t auto the timeout to be waited when auto is enabled (default: 3s) + --dry-run run the demo and only prints the commands (default: false) + --no-color run the demo and output to be without colors (default: false) + --auto-timeout auto, -t auto the timeout to be waited when auto is enabled (default: 1s) + --with-breakpoints breakpoint (default: false) + --continue-on-error continue if there a step fails (default: false) --continuously, -c run the demos continuously without any end (default: false) - --immediate, -i immediately output without the typewriter animation (default: false) --hide-descriptions, -d hide descriptions between the steps (default: false) + --immediate, -i immediately output without the typewriter animation (default: false) --skip-steps value, -s value skip the amount of initial steps within the demo (default: 0) + --shell value define the shell that is used to execute the command(s) (default: bash) --help, -h show help (default: false) --version, -v print the version (default: false) ``` diff --git a/demo.go b/demo.go index 18de207..b93a3f8 100644 --- a/demo.go +++ b/demo.go @@ -82,7 +82,7 @@ func New() *Demo { }, &cli.BoolFlag{ Name: FlagDryRun, - Value: true, + Value: false, Usage: "run the demo and only prints the commands", }, &cli.BoolFlag{