feat(cli): add stdin table command and pretty rendering option

This commit is contained in:
2026-02-08 11:52:51 +01:00
parent a22b762180
commit 6c5b628c70
2 changed files with 61 additions and 13 deletions

View File

@@ -8,7 +8,7 @@ import { Client } from "@microsoft/microsoft-graph-client";
* @param { Object } options - Options for authentication
* @param { string } options.tenantId - The Azure AD tenant ID
* @param { string } options.clientId - The Azure AD client ID
* @returns { Object } An object containing the Graph API token and client
* @returns { Promise<{ graphApiToken: Object, client: Object }> } An object containing the Graph API token and client
*/
export async function getGraphClient({ tenantId, clientId }) {
const graphApiToken = await loginInteractive({