Skip to content

Commit

Permalink
Forgot random
Browse files Browse the repository at this point in the history
  • Loading branch information
DanteDeRuwe committed Nov 19, 2024
1 parent 4f7213b commit 30aba97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Dotty.CLI/Commands/GenerateCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ public void Register(ICoconaAppBuilder app)
Can generate random data from a template using the Bogus library.
For example, `generate random fromtemplate '{{name.firstName(Male)}} {{name.lastName}}'`
""");
});
})
.WithDescription("Contains commands to generate certain random data");

group.AddCommand("timestamp", (string format = "o") => Panel(DateTimeOffset.UtcNow.ToString(format)))
.WithDescription("Generates a timestamp for the current datetime with an optional format string");
Expand Down

0 comments on commit 30aba97

Please sign in to comment.