From d58de9d2181fbd0e46888ffe05e2c793464b20a2 Mon Sep 17 00:00:00 2001 From: lemorage Date: Tue, 17 Dec 2024 15:00:24 +0800 Subject: [PATCH] remove redundant help text from comments in example --- test/examples/hello.gleam | 104 -------------------------------------- 1 file changed, 104 deletions(-) diff --git a/test/examples/hello.gleam b/test/examples/hello.gleam index b2af37d..72876da 100644 --- a/test/examples/hello.gleam +++ b/test/examples/hello.gleam @@ -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 -- ` from the root of the repo -//// -//// The application prints: `Hello, !` -//// 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 -- ` from the root of the repo -//// -//// The application prints: `Hello, !` -//// 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 -- ` from the root of the repo -//// -//// The application prints: `Hello, !` -//// 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 -- ` from the root of the repo -//// -//// The application prints: `Hello, !` -//// 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, !