Skip to content

h7yt0p/cpptemplater

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

cpptemplater command usage guide

The cpptemplater command is a custom script that makes c++ files with templates in it. This guide explains how to set up and use the cpptemplater command.

Installation

1- Clone or download the repository to your local machine.

git clone https://github.com/h7yt0p/cpptemplater.git

2- Navigate to the directory containing the cpptemplater script using the terminal:

cd cpptemplater

3- Make the script executable:

chmod +x cpptemplater

4- Create a symbolic link to make the cpptemplater command available globally (optional):

sudo cp cpptemplater /usr/local/bin/

Now, you can use the cpptemplater command globally in your terminal.

Usage

To use the cpptemplater command, follow these steps:

  1. Open a terminal.

  2. Type cpptemplater followed by the name of the file you want to change permissions on and execute. For example:

    cpptemplater main
  3. The script will create a file named "main.cpp" and then place the template in "cpptemplater" inside the file it created. If you want, you can customize the template in the "cpptemplater" file to make it your own!The script will create a file named "main.cpp" and then going to Troubleshooting

If you encounter any issues, double-check the file path and permissions. Ensure that you have the necessary privileges to execute files in the chosen directory.

About

c++ templated file maker

Topics

Resources

License

Stars

Watchers

Forks

Languages