1
0
mirror of https://github.com/thebaer/tildes.git synced 2018-07-20 07:15:21 +00:00

Merge branch 'master' of github.com:thebaer/tildes

This commit is contained in:
Matt Baer 2015-01-26 01:25:31 -05:00
commit 97c582163b

11
code.go
View File

@ -4,18 +4,23 @@ import (
"os" "os"
"fmt" "fmt"
"time" "time"
"flag"
"bufio" "bufio"
"strings" "strings"
"path/filepath" "path/filepath"
"text/template" "text/template"
) )
const ( var searchDir string
searchDir = "Code"
)
func main() { func main() {
fmt.Println("Starting...") fmt.Println("Starting...")
// Get any arguments
dirPtr := flag.String("d", "Code", "Directory to scan for each user.")
flag.Parse()
searchDir = *dirPtr
generate(findProjects()) generate(findProjects())
} }