Tutorial  Updated

xbrew, a CLI tool to generate homebrew boilerplates

Currently, it's mostly copy/paste python, but I do plan on adding to this in the future. It's like NPM's init command, except you do 'xbrew <console_type> <project_name>' (if xbrew is in path, and python is installed) and you have full boilerplate code.

https://github.com/twert627/xbrew
 
Last edited by ,

Inaki

Well-Known Member
Member
Joined
Jan 23, 2014
Messages
278
Trophies
0
Age
42
XP
603
Country
Boilerplate code is like a template of source files, even a project with all the required files for a minimum skeleton for a basic program. That is good for getting up and running in no time, so the newcomers can start working on the desired matter without fighting with tedious minimals like initialization of libraries and such. This is a very common concept for developers.
 

gnmmarechal

Well-Known Member
Member
GBAtemp Patron
Joined
Jul 13, 2014
Messages
6,040
Trophies
2
Age
25
Location
https://gs2012.xyz
Website
gs2012.xyz
XP
6,000
Country
Portugal
I don't understand why this is a CLI tool. All it does it make a folder and throw the template files into it.
Does save you a bit of work I guess, just open a terminal from anywhere after this is added to the PATH and tell it to initialise a project there.
Well, I didn't know about it too. And it sounds useful. This is not basic knowledge.
What boilerplate means in this context *is* basic knowledge to people who could benefit from it, I'm fairly certain.
 
  • Like
Reactions: Julie_Pilgrim

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://a.co/d/8tRQnqT