MCPcopy Create free account

hub / github.com/Danielmelody/ccconfig / functions

Functions54 in github.com/Danielmelody/ccconfig

↓ 11 callersMethodask
(question, defaultValue = '', options = {})
ccconfig.js:271
↓ 7 callersFunctionensureDir
* Ensure directory exists with secure permissions
ccconfig.js:141
↓ 7 callersFunctionvalidateConfigName
* Validate configuration name * @param {string} name - Configuration name to validate * @param {boolean} allowEmpty - Whether to allow empty names (
ccconfig.js:454
↓ 6 callersFunctiondisplayEnvVars
* Utility: Display environment variables with consistent formatting * @param {Object} envVars - Environment variables object * @param {boolean} mask
ccconfig.js:190
↓ 6 callersFunctiongetMode
* Get current mode
ccconfig.js:561
↓ 6 callersFunctiongetProfilesMap
(profiles)
ccconfig.js:67
↓ 5 callersMethodclose
()
ccconfig.js:389
↓ 5 callersFunctionensureProfileAvailable
( name, {allowEmptyEnv = false, onEmptyProfiles, onMissingProfile, onEmptyEnv} = {})
ccconfig.js:95
↓ 5 callersFunctionloadClaudeSettings
* Load Claude Code settings.json
ccconfig.js:525
↓ 5 callersFunctionloadProfiles
* Load configuration file
ccconfig.js:491
↓ 5 callersFunctionsaveProfiles
* Save configuration file
ccconfig.js:507
↓ 4 callersFunctionreadEnvFile
* Read environment variable file using dotenv for proper parsing
ccconfig.js:642
↓ 4 callersFunctionrequireInteractive
* Utility: Check if terminal is interactive
ccconfig.js:400
↓ 3 callersMethodaskEnvVars
(existingEnv = {})
ccconfig.js:328
↓ 3 callersFunctiondisplayEnvSection
* Utility: Display environment variables section for current command
ccconfig.js:412
↓ 3 callersFunctionexitGracefully
(code)
ccconfig.js:1757
↓ 3 callersFunctioninitIfNeeded
* Initialize configuration file (auto-called when needed)
ccconfig.js:738
↓ 3 callersFunctionmaskValue
* Utility: Mask sensitive value for display * @param {string} key - Environment variable key * @param {string|null|undefined} value - Value to mask
ccconfig.js:161
↓ 2 callersFunctiongenerateCompletionScript
* Generate shell completion script
ccconfig.js:1878
↓ 2 callersFunctiongetCurrentProfile
* Get currently active configuration
ccconfig.js:683
↓ 2 callersFunctionlist
* List all configurations
ccconfig.js:757
↓ 2 callersFunctionstart
* Start Claude Code with specified profile (auto-approve mode)
ccconfig.js:1863
↓ 2 callersFunctionstartClaude
* Start Claude Code with specified profile (internal implementation) * @param {string} name - Profile name * @param {Array} extraArgs - Additional a
ccconfig.js:1659
↓ 1 callersFunctionadd
* Add new configuration
ccconfig.js:809
↓ 1 callersMethodcleanupKeypressListener
()
ccconfig.js:258
↓ 1 callersFunctioncompletion
* Generate shell completion script
ccconfig.js:2227
↓ 1 callersFunctioncurrent
* Display current configuration
ccconfig.js:1508
↓ 1 callersFunctiondetectShellCommand
* Detect current shell and return recommended activation command
ccconfig.js:1111
↓ 1 callersFunctiondetectShellConfig
* Detect shell type and config file path
ccconfig.js:1237
↓ 1 callersMethodensureInterface
()
ccconfig.js:218
↓ 1 callersFunctionensureProfilesAvailable
({onEmpty} = {})
ccconfig.js:81
↓ 1 callersFunctionenv
* Output environment variables (for source)
ccconfig.js:1628
↓ 1 callersFunctionfork
* Fork (copy) existing configuration
ccconfig.js:962
↓ 1 callersFunctiongetActiveEnvVars
* Get currently available environment variables (automatically select source * based on mode)
ccconfig.js:660
↓ 1 callersFunctionhelp
* Display help information
ccconfig.js:2262
↓ 1 callersFunctioninstallCompletion
* Install completion script automatically
ccconfig.js:2138
↓ 1 callersFunctionisProfilesEmpty
(profiles)
ccconfig.js:77
↓ 1 callersFunctionmain
()
ccconfig.js:2334
↓ 1 callersFunctionmode
* Switch/view mode
ccconfig.js:1565
↓ 1 callersFunctionremove
* Remove configuration
ccconfig.js:1044
↓ 1 callersFunctionsafeStart
* Start Claude Code with specified profile (safe mode - requires permission * confirmation)
ccconfig.js:1871
↓ 1 callersFunctionsaveClaudeSettings
* Save Claude Code settings.json
ccconfig.js:542
↓ 1 callersFunctionsetMode
* Set mode
ccconfig.js:576
↓ 1 callersMethodsetupKeypressListener
(onDoubleEsc, onEscClear)
ccconfig.js:225
↓ 1 callersFunctionshowVersion
()
ccconfig.js:2461
↓ 1 callersFunctionupdate
* Update existing configuration
ccconfig.js:905
↓ 1 callersFunctionupdateClaudeSettings
* Update Claude Code environment variable configuration (settings mode)
ccconfig.js:589
↓ 1 callersFunctionuse
* Switch configuration
ccconfig.js:1410
↓ 1 callersFunctionwriteEnvFile
* Write environment variable file (env mode) * Uses dotenv-compatible format for proper handling of special characters
ccconfig.js:611
↓ 1 callersFunctionwritePermanentEnv
* Write environment variables permanently to shell config file
ccconfig.js:1249
Methodconstructor
()
ccconfig.js:211
MethodhasExisting
ccconfig.js:329
FunctionprintEnvVar
* Utility: Print environment variable value (with optional masking) * @param {string} key - Environment variable key * @param {string|null|undefined
ccconfig.js:177
FunctionsignalHandler
(signal)
ccconfig.js:1796