It's not about organizing photos we will never look at - it's about taking a people-first approach to link digital assets to personal memories.
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [





        {
            "name": "Root",
            "type": "go",
            "request": "launch",
            "mode": "auto",
            "program": "${fileDirname}",
            "args": ["--config", "settings.yaml"],
            "env": { 
                "CGO_CFLAGS_ALLOW":"-Xpreprocessor"
            }
        },
        {
            "name": "Scan",
            "type": "go",
            "request": "launch",
            "mode": "debug",
            "program": "main.go",
            "args": ["asset-scan","-r", "--config", "settings.yaml"],
            "env": { 
                "CGO_CFLAGS_ALLOW":"-Xpreprocessor"
            }
        },
        {
            "name": "Orphan Check",
            "type": "go",
            "request": "launch",
            "mode": "debug",
            "program": "main.go",
            "args": ["asset-orphan", "--config", "settings.yaml"],
            "env": { 
                "CGO_CFLAGS_ALLOW":"-Xpreprocessor"
            }
        },
        {
            "name": "Process Photos",
            "type": "go",
            "request": "launch",
            "mode": "debug",
            "program": "main.go",
            "args": ["asset-process", "--config", "settings.yaml"],
            "env": { 
                "CGO_CFLAGS_ALLOW":"-Xpreprocessor"
            }
        },
        {
            "name": "Backup Graph",
            "type": "go",
            "request": "launch",
            "mode": "debug",
            "program": "main.go",
            "args": ["backup", "--config", "settings.yaml"],
            "env": { 
                "CGO_CFLAGS_ALLOW":"-Xpreprocessor"
            }
        },
        {
            "name": "Server",
            "type": "go",
            "request": "launch",
            "mode": "debug",
            "program": "main.go",
            "args": ["server", "--config", "settings.yaml"],
            "env": { 
                "CGO_CFLAGS_ALLOW":"-Xpreprocessor"
            },
            "externalConsole": false
        },
        {
            "name": "Add User",
            "type": "go",
            "request": "launch",
            "mode": "debug",
            "program": "main.go",
            "args": ["user-add","--email", "test@example.com", "--username", "tester", "--password", "lame+password", "--config", "settings.yaml"],
            "env": { 
                "CGO_CFLAGS_ALLOW":"-Xpreprocessor"
            }
        },
        {
            "name": "Set Password",
            "type": "go",
            "request": "launch",
            "mode": "debug",
            "program": "main.go",
            "args": ["user-setpass","--username", "tester", "--password", "better+password123", "--config", "settings.yaml"],
            "env": { 
                "CGO_CFLAGS_ALLOW":"-Xpreprocessor"
            }
        },
    ]
}