Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zakariaelbouzkri/class-ganerator

this project is script that i used to generate classes in othodox canonical form
https://github.com/zakariaelbouzkri/class-ganerator

cpp orthodox-canonical-class python3 scripting

Last synced: 3 days ago
JSON representation

this project is script that i used to generate classes in othodox canonical form

Awesome Lists containing this project

README

        

# cppOrthodoxCanonicalGenerator

# Class Generator

This Python script is designed to generate C++ class files in the Orthodox Canonical form. It creates the following files for a given class name: `main.cpp`, `ClassName.cpp`, `ClassName.hpp`, and `Makefile`.

## Usage

1. Clone this repository to your local machine or download the script:

```bash
git clone https://github.com/ZakariaElbouzkri/class-ganerator.git

2. Navigate to the project directory:
```bash
cd class-generator

3. install for macOS:
```bash
in zsh:
echo 'alias genClass="python3 ~/class-generator/script.py"' >> ~/.zshrc
or in bash:
echo 'alias genClass="python3 ~/class-generator/script.py"' >> ~/.bashrc

## Examples:
genClass Person

- this comand will generate the following files with orthodox-canonial form
* main.cpp
* Person.cpp
* Person.hpp
* Makefile

You can then edit the generated files to implement your class functionality.