{"version":3,"file":"context-Br0NHHOk.mjs","names":[],"sources":["../src/context.ts"],"sourcesContent":["import fs from 'node:fs';\nimport os from 'node:os';\nimport path from 'node:path';\n\nimport type { StricliAutoCompleteContext } from '@stricli/auto-complete';\nimport type { CommandContext } from '@stricli/core';\n\nexport interface LocalContext extends CommandContext, StricliAutoCompleteContext {\n  /** The Node.js process object */\n  readonly process: NodeJS.Process;\n  // ...\n}\n\n/**\n * Builds the context for the CLI.\n *\n * @param process - The Node.js process object.\n * @returns The context for the CLI.\n */\nexport function buildContext(process: NodeJS.Process): LocalContext {\n  return {\n    process,\n    os,\n    fs,\n    path,\n  };\n}\n"],"mappings":"uEAmBA,SAAgB,EAAa,EAAuC,CAClE,MAAO,CACL,UACA,KACA,KACA,OACD"}