Skip to content

Commit

Permalink
remove redundant help text from comments in example
Browse files Browse the repository at this point in the history
  • Loading branch information
lemorage authored and TanklesXL committed Dec 17, 2024
1 parent af68eea commit d58de9d
Showing 1 changed file with 0 additions and 104 deletions.
104 changes: 0 additions & 104 deletions test/examples/hello.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -24,110 +24,6 @@
//// Here is the help text for the root command:
////
//// ```txt
//// This module demonstrates a simple glint app with 2 commands
////
//// ## Usage
////
//// ### Running the application
////
//// You can run this example with `gleam run -m examples/hello -- <NAMES>` from the root of the repo
////
//// The application prints: `Hello, <NAMES>!`
//// The `hello` application accepts at least one argument, being the names of people to say hello to.
//// - No input: `gleam run` -> prints "Hello, Joe!"
//// - One input: `gleam run Joe` -> prints "Hello, Joe!"
//// - Two inputs: `gleam run Rob Louis` -> prints "Hello, Rob and Louis!"
//// - \>2 inputs: `gleam run Rob Louis Hayleigh` -> prints "Hello, Rob, Louis and Hayleigh!"
////
//// ### Flags
////
//// All commands accepts two flags:
//// - `--caps`: capitalizes the output, so if output would be "Hello, Joe!" it prints "HELLO, JOE!"
//// - `--repeat=N`: repeats the output N times separated , so with N=2 if output would be "Hello, Joe!" it prints "Hello, Joe!\nHello, Joe!"
////
//// ### Help Text
////
//// Here is the help text for the root command:
////
//// ```txt
//// This module demonstrates a simple glint app with 2 commands
////
//// ## Usage
////
//// ### Running the application
////
//// You can run this example with `gleam run -m examples/hello -- <NAMES>` from the root of the repo
////
//// The application prints: `Hello, <NAMES>!`
//// The `hello` application accepts at least one argument, being the names of people to say hello to.
//// - No input: `gleam run` -> prints "Hello, Joe!"
//// - One input: `gleam run Joe` -> prints "Hello, Joe!"
//// - Two inputs: `gleam run Rob Louis` -> prints "Hello, Rob and Louis!"
//// - \>2 inputs: `gleam run Rob Louis Hayleigh` -> prints "Hello, Rob, Louis and Hayleigh!"
////
//// ### Flags
////
//// All commands accepts two flags:
//// - `--caps`: capitalizes the output, so if output would be "Hello, Joe!" it prints "HELLO, JOE!"
//// - `--repeat=N`: repeats the output N times separated , so with N=2 if output would be "Hello, Joe!" it prints "Hello, Joe!\nHello, Joe!"
////
//// ### Help Text
////
//// Here is the help text for the root command:
////
//// ```txt
//// This module demonstrates a simple glint app with 2 commands
////
//// ## Usage
////
//// ### Running the application
////
//// You can run this example with `gleam run -m examples/hello -- <NAMES>` from the root of the repo
////
//// The application prints: `Hello, <NAMES>!`
//// The `hello` application accepts at least one argument, being the names of people to say hello to.
//// - No input: `gleam run` -> prints "Hello, Joe!"
//// - One input: `gleam run Joe` -> prints "Hello, Joe!"
//// - Two inputs: `gleam run Rob Louis` -> prints "Hello, Rob and Louis!"
//// - \>2 inputs: `gleam run Rob Louis Hayleigh` -> prints "Hello, Rob, Louis and Hayleigh!"
////
//// ### Flags
////
//// All commands accepts two flags:
//// - `--caps`: capitalizes the output, so if output would be "Hello, Joe!" it prints "HELLO, JOE!"
//// - `--repeat=N`: repeats the output N times separated , so with N=2 if output would be "Hello, Joe!" it prints "Hello, Joe!\nHello, Joe!"
////
//// ### Help Text
////
//// Here is the help text for the root command:
////
//// ```txt
//// This module demonstrates a simple glint app with 2 commands
////
//// ## Usage
////
//// ### Running the application
////
//// You can run this example with `gleam run -m examples/hello -- <NAMES>` from the root of the repo
////
//// The application prints: `Hello, <NAMES>!`
//// The `hello` application accepts at least one argument, being the names of people to say hello to.
//// - No input: `gleam run` -> prints "Hello, Joe!"
//// - One input: `gleam run Joe` -> prints "Hello, Joe!"
//// - Two inputs: `gleam run Rob Louis` -> prints "Hello, Rob and Louis!"
//// - \>2 inputs: `gleam run Rob Louis Hayleigh` -> prints "Hello, Rob, Louis and Hayleigh!"
////
//// ### Flags
////
//// All commands accepts two flags:
//// - `--caps`: capitalizes the output, so if output would be "Hello, Joe!" it prints "HELLO, JOE!"
//// - `--repeat=N`: repeats the output N times separated , so with N=2 if output would be "Hello, Joe!" it prints "Hello, Joe!\nHello, Joe!"
////
//// ### Help Text
////
//// Here is the help text for the root command:
////
//// ```txt
//// It's time to say hello!
////
//// Prints Hello, <names>!
Expand Down

0 comments on commit d58de9d

Please sign in to comment.