Skip to main content
Glama
index.ts1.37 kB
/** * @fileoverview CLI utilities main export * General-purpose utilities (non-UI) * * Note: UI-related utilities have been moved to src/ui/ * For backward compatibility, use src/utils/ui.ts which re-exports from src/ui/ */ // Authentication helpers export { checkAuthentication, type CheckAuthOptions } from './auth-helpers.js'; // Auth guard for commands requiring authentication export { ensureAuthenticated, withAuth, type AuthGuardOptions, type AuthGuardResult } from './auth-guard.js'; // Shared browser authentication with MFA support export { authenticateWithBrowserMFA } from './auth-ui.js'; // Organization selection utility export { ensureOrgSelected, type OrgSelectionResult } from './org-selection.js'; // Command guard for local-only commands export { checkAndBlockIfAuthenticated, checkAndBlockDependencyCommand // Legacy export } from './command-guard.js'; // Error handling utilities export { displayError, isDebugMode } from './error-handler.js'; // Auto-update utilities export { checkForUpdate, performAutoUpdate, displayUpgradeNotification, compareVersions, restartWithNewVersion } from './auto-update/index.js'; // Display helpers (command-specific helpers) export { displayCommandHeader } from './display-helpers.js'; // Content rendering (HTML/Markdown to terminal) export { renderContent } from './content-renderer.js';

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/eyaltoledano/claude-task-master'

If you have feedback or need assistance with the MCP directory API, please join our Discord server