all repos — dotfiles @ 81639b2669e508b3e039bde461180bbcb9429f86

my *nix dotfiles

bin/nim-proj (view raw)

 1#!/usr/bin/env bash
 2
 3# nim-proj.sh: initializes 
 4
 5help() {
 6	echo "Usage:"
 7	echo "nim-proj <name> <description>"
 8}
 9
10if [ $# -eq 2 ]; then
11	nimble init $1
12	cd $1
13	cat <<- EOF > readme.md
14	# $1
15	> $2
16	EOF
17	git init
18else
19	help
20fi