{"id":16111072,"url":"https://github.com/nikiforovall/cli-with-spectre-console","last_synced_at":"2025-03-18T09:30:57.323Z","repository":{"id":122364123,"uuid":"450769937","full_name":"NikiforovAll/cli-with-spectre-console","owner":"NikiforovAll","description":"An example CLI application based on Spectre.Console","archived":false,"fork":false,"pushed_at":"2022-01-22T16:23:16.000Z","size":20,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-16T18:42:14.737Z","etag":null,"topics":["cli","dotnet","spectre"],"latest_commit_sha":null,"homepage":"https://nikiforovall.github.io/dotnet/2022/01/22/building-console-application-with-spectre-console.html","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NikiforovAll.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-22T09:18:47.000Z","updated_at":"2025-03-08T11:39:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"721ed790-cbdb-45e4-8c22-ffb6104afdb2","html_url":"https://github.com/NikiforovAll/cli-with-spectre-console","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikiforovAll%2Fcli-with-spectre-console","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikiforovAll%2Fcli-with-spectre-console/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikiforovAll%2Fcli-with-spectre-console/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikiforovAll%2Fcli-with-spectre-console/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NikiforovAll","download_url":"https://codeload.github.com/NikiforovAll/cli-with-spectre-console/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244192528,"owners_count":20413541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","dotnet","spectre"],"created_at":"2024-10-09T19:40:17.992Z","updated_at":"2025-03-18T09:30:57.317Z","avatar_url":"https://github.com/NikiforovAll.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# .NET Bots Gallery with Spectre.Console\n\n`Spectre.Console` provides application model to bind `args[]` to git-style commands.\n\n```csharp\nvar app = new CommandApp();\n\napp.Configure(c =\u003e\n{\n    c.AddCommand\u003cExportBots\u003e(\"scrape\");\n    c.AddCommand\u003cListBots\u003e(\"list\");\n    c.AddCommand\u003cDownloadBot\u003e(\"download\")\n        .WithExample(new[] {\"download\", \"--random\"});\n});\n\nawait app.RunAsync(args);\n```\n\n## Demo\n\n`dotnet run -- -h`\n\n![help](/assets/help.png)\n\n`dotnet run -- scrape`\n\n![list](/assets/scrape.png)\n\n`dotnet run -- list`\n\n➕🎉 \u003chttps://www.nuget.org/packages/Spectre.Console.Extensions.Table\u003e\n\n![list](/assets/bot-list.png)\n\n`dotnet run -- download`\n\n➕🎉 \u003chttps://www.nuget.org/packages/Spectre.Console.Extensions.Progress\u003e\n\n![download](/assets/download-bot.png)\n\n## Reference\n\n* \u003chttps://spectreconsole.net/cli/composing\u003e\n* \u003chttps://github.com/nikiforovall/Spectre.Console.Extensions\u003e\n* Known issues \u003chttps://github.com/spectreconsole/spectre.console/issues/698\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikiforovall%2Fcli-with-spectre-console","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikiforovall%2Fcli-with-spectre-console","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikiforovall%2Fcli-with-spectre-console/lists"}