{"id":30505613,"url":"https://github.com/nokskiy/simple-command-line-parser","last_synced_at":"2026-01-20T16:56:55.782Z","repository":{"id":309936552,"uuid":"1037352696","full_name":"Nokskiy/Simple-Command-Line-Parser","owner":"Nokskiy","description":"Simple command line parser","archived":false,"fork":false,"pushed_at":"2025-08-14T16:46:45.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-14T18:22:46.984Z","etag":null,"topics":["console","dotnet","library","nuget","nuget-package","parser"],"latest_commit_sha":null,"homepage":"https://www.nuget.org/packages/NeoSimpleCommandLineParser/1.0.0","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nokskiy.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-08-13T12:52:21.000Z","updated_at":"2025-08-14T16:47:03.000Z","dependencies_parsed_at":"2025-08-14T18:22:48.988Z","dependency_job_id":"63c1c173-f1d7-44c0-b732-3eec43f4c85b","html_url":"https://github.com/Nokskiy/Simple-Command-Line-Parser","commit_stats":null,"previous_names":["nokskiy/simple-command-line-parser"],"tags_count":3,"template":true,"template_full_name":null,"purl":"pkg:github/Nokskiy/Simple-Command-Line-Parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nokskiy%2FSimple-Command-Line-Parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nokskiy%2FSimple-Command-Line-Parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nokskiy%2FSimple-Command-Line-Parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nokskiy%2FSimple-Command-Line-Parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nokskiy","download_url":"https://codeload.github.com/Nokskiy/Simple-Command-Line-Parser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nokskiy%2FSimple-Command-Line-Parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272100683,"owners_count":24873442,"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","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["console","dotnet","library","nuget","nuget-package","parser"],"created_at":"2025-08-25T17:00:31.345Z","updated_at":"2026-01-20T16:56:55.754Z","avatar_url":"https://github.com/Nokskiy.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple command line parser\n\n## ℹ️ About\nJust **simple command line parser**\n\n## ✨ Features\n- Command line parsing\n- Activating functions via delegate\n- Easy to use\n\n## 📥 Installation\n```dotnet add package NeoSimpleCommandLineParser --version 1.0.0```\n\nAdd the ```SCLP``` namespace to your project. No external packages required\n\n## 📌 Usage\n### Code example\n``` C#\nusing SCLP;\n\npublic class Program\n{\n    private static void Main(string[] args)\n    {\n        var helpOpt = new Option(\"h\", \"help\", \"Show this list\", false, null);\n        var echoOpt = new Option(\"ec\",\"echo\",\"Print your phrase\",true, \"you phrase\");\n        var callOpt = new Option(\"cl\",\"call\",\"Print Calling... + your phrase\",true, \"you phrase\");\n        var sayOpt = new Option(\"s\",\"say\",null);\n\n        var optionsList = new OptionsList(new Option[]\n        {\n            echoOpt,\n            callOpt,\n            sayOpt,\n            helpOpt\n        });\n\n        var root = new Root(args, optionsList);\n\n        helpOpt.Action += root.PrintHelp;\n        echoOpt.Action += Echo;\n        callOpt.Action += Call;\n        sayOpt.Action += Say;\n\n        root.ParseOptions();\n        root.InvokeActions();\n    }\n    public static void Echo(string[]? arguments)\n    {\n        if (arguments == null) return;\n        foreach (var arg in arguments)\n            Console.WriteLine(arg);\n    }\n\n    public static void Call(string[]? arguments)\n    {\n        if (arguments == null) return;\n        foreach (var arg in arguments)\n            Console.WriteLine($\"Calling... {arg}\");\n    }\n    public static void Say(string[]? arguments) =\u003e Console.WriteLine(\"I just say\");\n}\n```\n\n## 🤝 Contributing\nWe welcome your contributing\n- Issues\n- Discussions\n- Pull requests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnokskiy%2Fsimple-command-line-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnokskiy%2Fsimple-command-line-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnokskiy%2Fsimple-command-line-parser/lists"}