Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tools

This repository is meant to hold a bunch of tools not requiring a full-fledged repository for themselves.

licman.sh

licman.sh is a simple tool to manage every repo+branch → LICENSE file.

Usage (two steps):

  • (1) git-pull + local-edit + git-commit (safe):
$ ./licman.sh
  • (2) git-push (may be dangerous since data is pushed to GitHub):
$ GIT_PUSH=1 ./licman.sh

Params example (env vars):

$ DEBUG=0 ACCOUNT=myaccount EMAIL=myemail REPOS="repo1 repo2 repo2 TDIR=/tmp/.licman-tmp ./licman.sh

Defaults:

$ cat licman.sh
(...)
DEBUG=${DEBUG:=1}
GIT_PUSH=${GIT_PUSH:=0}
ACCOUNT=${ACCOUNT:=sfmunoz}
EMAIL=${EMAIL:="46285520+sfmunoz@users.noreply.github.com"}
REPOS=${REPOS:="golang-playground nim-playground jekyll-playground ruby-playground rails-playground multi-tpl nextjs-dashboard postgres-image tools"}
TDIR=${TDIR:=/tmp/.licman}
(...)

About

A bunch of tools not requiring a full-fledged repository

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages