geodynamics / cig_tools

Various tools for CIG and CIG projects
0 stars 2 forks source link

Initial implementation of CLI option config #2

Closed hlokavarapu closed 8 years ago

hlokavarapu commented 8 years ago

This PR includes two options for config:

-d, --print-default output a standard config json string -c, --verify-config check that config file is syntactically correct

where the default config file generated is:

{
    "IgnoredFiles": [
        ".licensing.json",
        ".git/**",
        ".gitignore"
    ],
    "CommentedFiles": {},
    "LicenseParameters": {
        "fullname": "",
        "ProjectName": ""
    }
}`
hlokavarapu commented 8 years ago

This PR is ready to be reviewed. I have updated the code based on your comments @tjesser-ucdavis-edu