tschf / odb-task

A task runner for VSC based on atom-build-oracle implementation
MIT License
10 stars 3 forks source link

Support alternate config file location #7

Open tschf opened 6 years ago

tschf commented 6 years ago

Use case:

tschf commented 6 years ago

Alternate suggestion. Still use a config in the file root, but point to a connection file store elsewhere. The file would be a single line file containing the connect string user/pass@ORCL

zhudock commented 6 years ago

possibly under User Settings odb-task.targets, instead of in their own file?

e.g.

"odb-task.sqlcl-path": "sql",
"odb-task.sqlplus-path": "sqlplus",
"odb-task.targets": [
    {
        "targetName":"DEV",
        "connectionString":"user/password@DEV"
    },
    {
        "targetName":"QA",
        "connectionString":"user/password@QA"
    }
]