{"id":16414184,"url":"https://github.com/udovin/wilcotcpp","last_synced_at":"2026-05-07T16:44:14.078Z","repository":{"id":115152950,"uuid":"143339568","full_name":"udovin/WilcotCpp","owner":"udovin","description":"A C++ library that helps in developing Linux applications.","archived":false,"fork":false,"pushed_at":"2019-02-16T17:44:01.000Z","size":98,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-06T13:37:21.121Z","etag":null,"topics":["linux-namespaces","option-parser"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/udovin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2018-08-02T20:00:53.000Z","updated_at":"2019-02-16T17:44:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"f66c04aa-5184-4747-9787-5b822e9436ce","html_url":"https://github.com/udovin/WilcotCpp","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/udovin%2FWilcotCpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udovin%2FWilcotCpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udovin%2FWilcotCpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udovin%2FWilcotCpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/udovin","download_url":"https://codeload.github.com/udovin/WilcotCpp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240451406,"owners_count":19803465,"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":["linux-namespaces","option-parser"],"created_at":"2024-10-11T06:53:29.797Z","updated_at":"2026-05-07T16:44:11.070Z","avatar_url":"https://github.com/udovin.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wilcot Cpp\n\nWilcot Cpp — a C++ library that helps in developing Linux applications.\n\n## What's supported?\n\n * Process creation;\n * Linux container creation;\n * Convenient testing utils;\n * Convenient working with filesystem;\n * Convenient working with console;\n * Streams and ring buffer.\n\n## Examples\n\n### Options parsing\n\n```cpp\n// Create new option parser\nwilcot::cli::OptionParser parser;\n// Create arguments for options\nwilcot::cli::ValueOption\u003cstd::string\u003e inputFile(\"--input\");\nwilcot::cli::ValueOption\u003cstd::string\u003e outputFile(\"--output\");\n// Add options to option parser\nparser.addOption(inputFile.setArgument(\"path\"));\nparser.addOption(outputFile.setArgument(\"path\"));\n// Parse arguments passed to main\nparser.parse(argc, argv);\n```\n\n### Process creation\n\n```cpp\n// Create new process instance\nwilcot::os::Process process;\n// Create an array for arguments\nstd::vector\u003cstd::string\u003e arguments;\narguments.push_back(\"/bin/bash\");\n// Set path to program and execute arguments\nprocess.setProgram(\"/bin/bash\");\nprocess.setArguments(arguments);\n// Start process\nprocess.start();\n// Wait for process exit\nprocess.wait();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudovin%2Fwilcotcpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fudovin%2Fwilcotcpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudovin%2Fwilcotcpp/lists"}