{"id":22439311,"url":"https://github.com/gabin221/classinitiator","last_synced_at":"2026-03-04T17:31:18.493Z","repository":{"id":226739457,"uuid":"769522685","full_name":"Gabin221/ClassInitiator","owner":"Gabin221","description":"ClassInitiator is a script designed to simplify the process of creating C++ class files with basic content. It takes one or more filenames as arguments and generates corresponding .cpp and .h files with predefined content suitable for class initialization.","archived":false,"fork":false,"pushed_at":"2025-03-09T23:41:06.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-17T05:05:53.336Z","etag":null,"topics":["class-declaration","class-initialization","classinitiator","constructor","content-generation","convenience","cpp","destructor","generate-files","private","protected","public","script","shell-script","terminal"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Gabin221.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,"zenodo":null}},"created_at":"2024-03-09T10:16:52.000Z","updated_at":"2025-03-09T23:41:10.000Z","dependencies_parsed_at":"2024-12-06T01:13:41.710Z","dependency_job_id":"12322976-5825-4219-9c7d-3c6a8fc137b5","html_url":"https://github.com/Gabin221/ClassInitiator","commit_stats":null,"previous_names":["gabin221/classinitiator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Gabin221/ClassInitiator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gabin221%2FClassInitiator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gabin221%2FClassInitiator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gabin221%2FClassInitiator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gabin221%2FClassInitiator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gabin221","download_url":"https://codeload.github.com/Gabin221/ClassInitiator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gabin221%2FClassInitiator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30087317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T15:40:14.053Z","status":"ssl_error","status_checked_at":"2026-03-04T15:40:13.655Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["class-declaration","class-initialization","classinitiator","constructor","content-generation","convenience","cpp","destructor","generate-files","private","protected","public","script","shell-script","terminal"],"created_at":"2024-12-06T01:13:39.688Z","updated_at":"2026-03-04T17:31:18.467Z","avatar_url":"https://github.com/Gabin221.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ClassInitiator\n \n This script takes one or more filenames as arguments, generates a **.cpp** and **.h** file with that name, and writes some basic content into them. The content written into the **.cpp** file includes an include directive for the corresponding **.h** file, along with a basic class constructor and destructor. The **.h** file contains a class declaration with private, protected, and public sections, along with declarations for the constructor and destructor.\n\nTo use this script, run it with the desired filename as an argument, like so:  \n\n```shell\n./classinitiator.sh myclassname\n```\n\nThis will generate **myclassname.cpp** and **myclassname.h** files with the appropriate content.  \nAdditionally, to use this script from anywhere, you can create a **bin** directory in your home directory (**~**), move the script there, and reload your session. This way, the script will be executable from any location within your user environment.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabin221%2Fclassinitiator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabin221%2Fclassinitiator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabin221%2Fclassinitiator/lists"}