-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.ts
31 lines (26 loc) · 806 Bytes
/
app.ts
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
29
30
///////////////////////////////////////////////
// import libraries via "etc/deps.ts"
import {
dallmo_util_yaml,
oauth2,
assert,
} from "./etc/deps.ts";
///////////////////////////////////////////////
// import interfaces via "etc/interfaces.ts"
/*
import {
} from "./etc/interfaces.ts";
*/
///////////////////////////////////////////////
// the main app goes here
async function main( config_file: any ): Promise<void> {
// get the env vars for credentials
const BASECAMP_client_id = Deno.env.get("BASECAMP_client_id");
const BASECAMP_client_secret = Deno.env.get("BASECAMP_client_secret");
const config_obj = await dallmo_util_yaml( config_file );
console.log("config_obj : ", config_obj);
}; // function main
///////////////////////////////////////////////
export {
main
};