Skip to content
This repository has been archived by the owner on Mar 9, 2020. It is now read-only.
/ hbg Public archive

CLI for generating boilerplate for coding competitions

License

Notifications You must be signed in to change notification settings

manrajgrover/hbg

Repository files navigation

hbg (Hacker Boilerplate Generator)

Build Status Build status npm version npm awesome

CLI for generating boilerplate for coding competitions

Install

$ npm install -g hbg

Usage

Commands available

sudo hbg <command>

Commands:
  gen     Generate boilerplate
  add     Add default template
  config  Change config file

Options:
  -h, --help  Show help                                         [boolean]

Command gen

Usage: hbg gen <options>

Options:
  -h, --help  Show help                                         [boolean]
  -l, --lang  Language. Change `config` for default
  -q, --ques  Number of questions. Change `config` for default

Examples:
  $ sudo hbg gen -l cpp -q 4

Command add

Usage: hbg add <options>

Options:
  -h, --help      Show help                                     [boolean]
  -t, --template  Path to the template file                    [required]
  -l, --lang      Language chosen                              [required]

Examples:
  $ sudo hbg add -t test/template.cpp -l cpp

Command config

Run $ sudo hbg config to change configuration of your installation. This includes default language and default questions.

Usage: hbg config

Options:
  -h, --help  Show help                                        [boolean]
  -l, --list  List language and their extension                [boolean]

Examples:
  $ sudo hbg config -l

License

MIT © Manraj Singh

About

CLI for generating boilerplate for coding competitions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published