Gaunt Sloth Assistant
GitHub
Preparing search index...
utils/fileUtils
getCommandOutputFilePath
Function getCommandOutputFilePath
getCommandOutputFilePath
(
config
:
GthConfig
,
source
:
string
)
:
null
|
string
Returns the output file path for a given command execution based on configuration.
If writeOutputToFile is false, returns null.
If writeOutputToFile is a string, resolves it without generating a default filename.
If writeOutputToFile is true, generates a standard filename from source and resolves it under .gsloth/ (when present) or project root.
Parameters
config
:
GthConfig
source
:
string
Returns
null
|
string
Settings
Member Visibility
Protected
Inherited
External
Alpha
Beta
Theme
OS
Light
Dark
GitHub
Gaunt Sloth Assistant
Loading...
Returns the output file path for a given command execution based on configuration.