-
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.
use birdie for snapshot testing help text
- Loading branch information
Showing
10 changed files
with
169 additions
and
122 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
version: 1.1.5 | ||
title: cmd1 help | ||
file: ./test/glint_test.gleam | ||
test_name: help_test | ||
--- | ||
Some awesome global help text! | ||
|
||
Command: cmd1 | ||
|
||
This is cmd1 | ||
|
||
USAGE: | ||
gleam run -m test cmd1 ( cmd3 | cmd4 ) [ ARGS ] [ --flag2=<INT> --flag5=<FLOAT_LIST> --global=<STRING> ] | ||
|
||
FLAGS: | ||
--flag2=<INT> This is flag2 | ||
--flag5=<FLOAT_LIST> This is flag5 | ||
--global=<STRING> This is a global flag | ||
--help Print help information | ||
|
||
SUBCOMMANDS: | ||
cmd3 This is cmd3 | ||
cmd4 This is cmd4 |
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 @@ | ||
--- | ||
version: 1.1.5 | ||
title: cmd2 help | ||
file: ./test/glint_test.gleam | ||
test_name: help_test | ||
--- | ||
Some awesome global help text! | ||
|
||
Command: cmd2 | ||
|
||
This is cmd2 | ||
|
||
USAGE: | ||
gleam run -m test cmd2 <arg1> <arg2> [ --global=<STRING> ] | ||
|
||
FLAGS: | ||
--global=<STRING> This is a global flag | ||
--help Print help information |
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,19 @@ | ||
--- | ||
version: 1.1.5 | ||
title: cmd3 help | ||
file: ./test/glint_test.gleam | ||
test_name: help_test | ||
--- | ||
Some awesome global help text! | ||
|
||
Command: cmd1 cmd3 | ||
|
||
This is cmd3 | ||
|
||
USAGE: | ||
gleam run -m test cmd1 cmd3 <woo> [ 2 or more arguments ] [ --flag3=<BOOL> --global=<STRING> ] | ||
|
||
FLAGS: | ||
--flag3=<BOOL> This is flag3 | ||
--global=<STRING> This is a global flag | ||
--help Print help information |
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,19 @@ | ||
--- | ||
version: 1.1.5 | ||
title: cmd4 help | ||
file: ./test/glint_test.gleam | ||
test_name: help_test | ||
--- | ||
Some awesome global help text! | ||
|
||
Command: cmd1 cmd4 | ||
|
||
This is cmd4 | ||
|
||
USAGE: | ||
gleam run -m test cmd1 cmd4 [ --flag4=<FLOAT> --global=<STRING> ] | ||
|
||
FLAGS: | ||
--flag4=<FLOAT> This is flag4 | ||
--global=<STRING> This is a global flag | ||
--help Print help information |
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,21 @@ | ||
--- | ||
version: 1.1.5 | ||
title: cmd6 help | ||
file: ./test/glint_test.gleam | ||
test_name: help_test | ||
--- | ||
Some awesome global help text! | ||
|
||
Command: cmd5 cmd6 | ||
|
||
This is cmd6 | ||
|
||
USAGE: | ||
gleam run -m test cmd5 cmd6 ( cmd7 ) [ ARGS ] [ --global=<STRING> ] | ||
|
||
FLAGS: | ||
--global=<STRING> This is a global flag | ||
--help Print help information | ||
|
||
SUBCOMMANDS: | ||
cmd7 This is cmd7 |
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,14 @@ | ||
--- | ||
version: 1.1.5 | ||
title: cmd7 help | ||
file: ./test/glint_test.gleam | ||
test_name: help_test | ||
--- | ||
Some awesome global help text! | ||
|
||
Command: cmd5 cmd6 cmd7 | ||
|
||
This is cmd7 | ||
|
||
USAGE: | ||
gleam run -m test cmd5 cmd6 cmd7 [ ARGS ] |
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,22 @@ | ||
--- | ||
version: 1.1.5 | ||
title: root help | ||
file: ./test/glint_test.gleam | ||
test_name: help_test | ||
--- | ||
Some awesome global help text! | ||
|
||
This is the root command | ||
|
||
USAGE: | ||
gleam run -m test ( cmd1 | cmd2 | cmd5 ) <arg1> <arg2> [ ARGS ] [ --flag1=<STRING> --global=<STRING> ] | ||
|
||
FLAGS: | ||
--flag1=<STRING> This is flag1 | ||
--global=<STRING> This is a global flag | ||
--help Print help information | ||
|
||
SUBCOMMANDS: | ||
cmd1 This is cmd1 | ||
cmd2 This is cmd2 | ||
cmd5 |
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