Add configuration files and update imports for sk-az-tools integration
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#! /usr/bin/env node
|
||||
import { loginInteractive } from "../src/azure.js";
|
||||
import { loginInteractive } from "sk-az-tools/azure";
|
||||
import { Client } from "@microsoft/microsoft-graph-client";
|
||||
|
||||
const scopes = [
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
import { readFileSync } from "fs";
|
||||
import { parseArgs } from "util";
|
||||
import { getCredential } from "../src/azure.js";
|
||||
import { getCredential } from "sk-az-tools/azure";
|
||||
|
||||
let config = {};
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ const args = parseArgs({
|
||||
"app-name": { type: "string", short: "a" },
|
||||
help: { type: "boolean", short: "h" },
|
||||
"generate-client-secret": { type: "boolean", short: "s" },
|
||||
"config": { type: "string", short: "c", default: "config.js" },
|
||||
"config": { type: "string", short: "c", default: "config.json" },
|
||||
"write-config": { type: "string", short: "w" },
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user