npm package: @ralumier/ohn
Description: Opinionated Helper for Node
Author: ralumier
Latest version: 0.2.4

# ohn
Opinionated Helper for Node

## Templates
   - `make <template>`                                      --> make template
      - `--data | -d <json>`       - pre-set data
      - `--yes| -y`                - use confirmationDefaults=true
      - `--no | -n`                - use confirmationDefaults=false
      - `--auto | -a`              - automatically accept defaults
      - `--confirm | -c`           - confirm before execution
      - `(@|---|.)<name>=<value>`  - sets value in data

## Git
   - `git init`                                             --> initialize a git repository
   
   - `git set name`                                         --> configure name
   - `git set email`                                        --> configure email                             

   - `git fetch [<remote>]`                                 --> fetch
   - `git pull [<remote>]`                                  --> pull (download)
   - `git push  [<remote>]`                                 --> push (upload)
   - `git all`                                              --> adds all at root   
   - `git commit [all] [push] <message> [<remote>]`         --> commits [all] [and pushes]

   - `git revert [<#number=1>]`                             --> rollback #number commits (git reset current~#)

   - `git tag new [push] <tag> <message> [<remote>]`        --> creates annotated tag and [push]
   - `git tag delete <tag>`                                 --> delete tag locally

   - `git tag push <tag> [<remote>]`                        --> pushes tag
   - `git tags push  [<remote>]`                            --> pushes tags

   - `git tags`                                             --> shows tag list

   - `git branch show`                                      --> show current branch
   - `git branch list`                                      --> show branches
   - `git branch to <name>`                                 --> checkout existing branch
   - `git branch new [push] <name> [<remote>]`              --> checkout new branch ([push upstream])
   - `git branch push [<remote>]`                           --> push current branch upstream
   - `git branch delete [local] [remote] <name> [<remote>]` --> delete local branch

   - `git merge <branch>`                                   --> merges branch into current
   - `git ff <branch>`                                      --> fast forward merges branch into current

   - `git log   [#number]`                                  --> log #number message
   - `git tree`                                             --> show git tree
   - `git root`                                             --> show git root

## Npm
   - `npm ls`                                               --> list packages
   
   - `npm [from ${package}] add [install]   ${item}...`     --> add dependencies
   - `npm [from ${package}] dev [install]   ${item}...`     --> add dev dependencies   
   - `npm [from ${package}] rem ${item}...`                 --> remove dependencies
   
   - `npm [from ${package}] deps`                           --> list dependencies
   
   - `npm [from ${package}] path`                           --> outputs path
   - `npm [from ${package}] dir `                           --> outputs dir
   
   - `npm [from ${package}] version [type] `                --> bumps npm version

   - `npm [from ${package}] run ${script} ${arg}...`        --> run a script
   - `npm [from ${package}] exec ${bin} ${arg}...`          --> like npx   
   - `npm [from ${package}] <script>`                       --> Run npm script

   - `npm bin  as ${alias} ${file}`                         --> creates a bin 
   - `npm sub  as ${alias} ${file}`                         --> creates a submodule