Add configuration files and update imports for sk-az-tools integration

This commit is contained in:
2026-02-05 06:09:00 +01:00
parent 46c3c97e63
commit 88a81842f9
9 changed files with 154 additions and 85 deletions

View File

@@ -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 = [

View File

@@ -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 = {};

View File

@@ -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" },
},
});