Skip to content

CLI tool for fetching the latest gitignore templates for your language when you start a new project.

License

Notifications You must be signed in to change notification settings

Robert076/code-buddy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌎 code-buddy

CLI tool for fetching the latest gitignore templates for your language when you start a new project. The templates are taken from the official github gitignore repository. As of right now, 155 gitignore templates are supported.

🍿 Live demo

demo.mov

🚀 Setup

  1. Clone the repository
git clone https://github.com/Robert076/code-buddy.git
  1. Build the binary (you can also use go install instead)
cd code-buddy

cd cmd/code-buddy

go build -o cb
  1. Take that binary file, and move it to usr/local/bin (this is for macOS, add it to your path on windows)
mv cb <your_path_to_bin>
  1. Add executable permissions to binary
chmod +x cb

🧩 Use cases

  1. Get the gitignore you want on your terminal window
cb gitignore <your_language>
  1. Get the gitignore in your clipboard, ready to paste
cb gitignore <your_language> | pbcopy
  1. Get the gitignore straight into a file (most likely .gitignore)
cb gitignore <your_language> >> (path_to .gitignore)

About

CLI tool for fetching the latest gitignore templates for your language when you start a new project.

Topics

Resources

License

Stars

Watchers

Forks

Languages