Categorygithub.com/ErlanRG/bluecpprint
repository
0.1.1
Repository: https://github.com/erlanrg/bluecpprint.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

BLUECCPRINT

A CLI utility to create a new C and C++ projects with a predefined structure inspired by Melkeydev's go-blueprint built in Go.

Setup

Requirements

  • go (if you want to build from source)
  • make (makes everything easier)

Clone the project

  $ git clone --depth=1 https://github.com/ErlanRG/bluecpprint

Go to the project directory

  $ cd bluecpprint

Build and install

  $ make && make install

The binary will be installed in $HOME/.local/bin/

Building from source

Compile this using go

  $ go build -o bluecpprint cmd/main.go

Usage

Create a project

  $ bluecpprint --language=[LANGUAGE] [PROJECT_NAME]

Structure

Bluecpprint generates a simple project structure with some extra features:

my_project
├── .git
├── bin
├── include
├── src/
│   └── main.cpp        // File extension will change depending on the selected language
├── .clang-format
├── .gitignore
├── Makefile
└── README.md
  • Git repository automatically created.
  • Microsoft's clang-format configuration.
  • Makefile with build, clean and run scripts right of the bat

Acknowledgements

Feedback

If you have any feedback, please reach out to me at [email protected]

Contributing

Pull requests are more than welcome. For major changes, please submit a new issue.

License

MIT