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,039
Trophies
2
Age
25
Location
https://gs2012.xyz
Website
gs2012.xyz
XP
5,991
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
  • Mondooooo @ Mondooooo:
    you wanna know the worst night i had?
  • Mondooooo @ Mondooooo:
    you wanna know the worst night i had?
  • Xdqwerty @ Xdqwerty:
    @Mondooooo, there was a power outage while you were sleeping?
  • Mondooooo @ Mondooooo:
    no, but fucking cockroaches
  • Mondooooo @ Mondooooo:
    i had to sleep with one eye open
  • Mondooooo @ Mondooooo:
    after i restes peacfully
  • Mondooooo @ Mondooooo:
    *peacefully
  • Mondooooo @ Mondooooo:
    *peacefully
  • Mondooooo @ Mondooooo:
    sorry for misspell and posts
  • Mondooooo @ Mondooooo:
    i heard a buzzing sound from a flying cockroach and ran away
  • Mondooooo @ Mondooooo:
    and i have to sleep somewhere else
  • Xdqwerty @ Xdqwerty:
    @Mondooooo, I hate insects too
  • Mondooooo @ Mondooooo:
    i wish i can just get rid of them
  • Mondooooo @ Mondooooo:
    so i can rest peacefully
  • Mondooooo @ Mondooooo:
    i just worry about cockroaches entering my room
  • Mondooooo @ Mondooooo:
    my room is absolutely clean and a have an AC Conditioner
  • Mondooooo @ Mondooooo:
    and when i turn it on or not, they have a way to enter
  • Mondooooo @ Mondooooo:
    it pisses me off
  • Mondooooo @ Mondooooo:
    and my right eye is bloodshot from lack of sleep but damn. the full moon with the clouds is beautiful
  • Mondooooo @ Mondooooo:
    @Xdqwerty any tips?
  • Xdqwerty @ Xdqwerty:
    @Mondooooo, sadly I dont have any tips
  • K3Nv2 @ K3Nv2:
    A bug exterminator?
    +1
  • SylverReZ @ SylverReZ:
    @AncientBoi Somebody's asking for tips.
    +1
  • SylverReZ @ SylverReZ:
    Get a load from this guy lol.
    +1
  • K3Nv2 @ K3Nv2:
    You don't want ancientbois tip very flacid
    K3Nv2 @ K3Nv2: You don't want ancientbois tip very flacid