ctucx.git: nimstagit

[nimlang] incomplete reimplementation of stagit

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
26 
27 
28 
type
    Config* = object
        outputDirectory*: string
        title*:           string
        description*:     string
        scanPath*:        string
        projectsList*:    seq[string]
        readmeFiles*:     seq[string]
        renderMarkdown*:  bool

    TemplateContext* = object
        siteTitle*:       string
        description*:     string
        repoName*:        string
        repoUrl*:         string
        category*:        string
        generated*:       string

    Repository* = object
        name*:            string
        url*:             string
        description*:     string
        lastActivity*:    string
        objId*:           string

    Category* = object
        name*:  string
        repos*: seq[Repository]