INNER CODE UNIT · JavaScript
handleDashboard
alohe/quicky · index.js:1748
const handleDashboard = async () => {
if (
!config.dashboard?.username ||
!config.dashboard?.password
) {
const { setupDashboard } = await inquirer.prompt([
{
type: "confirm",
name: "setupDashboard",
message:
"Dashboard credentials not found. Would you like to set them up now?",
default: true,
},
]);
if (setupDashboard) {
await handleDashboardCredentials();
} else {