diff --git a/README.md b/README.md index 4d97fce..8036aea 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ No flags so far. - ~~Finish CMS detection~~ - ~~Web Scraping~~ - Add some pictures to readme -- Update the dscraper to take regex as a required arg +- ~~Update the dscraper to take regex as a required arg~~ ### Small Todos - Add a `--version` flag diff --git a/Tourmaline/Commands/DataScraperCommand.cs b/Tourmaline/Commands/DataScraperCommand.cs index dd3d4af..1f76f08 100644 --- a/Tourmaline/Commands/DataScraperCommand.cs +++ b/Tourmaline/Commands/DataScraperCommand.cs @@ -28,8 +28,8 @@ public class Settings : CommandSettings [CommandArgument(1, "")] public required string Paths { get; set; } - [CommandOption("-r|--regex ")] - public string Regex { get; set; } = @".*"; + [CommandArgument(1, "")] + public required string Regex { get; set; } } public async override Task ExecuteAsync(CommandContext context, Settings settings)