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:
commit
97c582163b
11
code.go
11
code.go
@ -4,18 +4,23 @@ import (
|
||||
"os"
|
||||
"fmt"
|
||||
"time"
|
||||
"flag"
|
||||
"bufio"
|
||||
"strings"
|
||||
"path/filepath"
|
||||
"text/template"
|
||||
)
|
||||
|
||||
const (
|
||||
searchDir = "Code"
|
||||
)
|
||||
var searchDir string
|
||||
|
||||
func main() {
|
||||
fmt.Println("Starting...")
|
||||
|
||||
// Get any arguments
|
||||
dirPtr := flag.String("d", "Code", "Directory to scan for each user.")
|
||||
flag.Parse()
|
||||
searchDir = *dirPtr
|
||||
|
||||
generate(findProjects())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user