Gaunt Sloth Assistant - v1.5.0
GitHub
Preparing search index...
gaunt-sloth-assistant
utils/fileUtils
getCommandOutputFilePath
Function getCommandOutputFilePath
getCommandOutputFilePath
(
config
:
{
writeOutputToFile
:
string
|
boolean
}
,
source
:
string
,
)
:
string
|
null
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
:
{
writeOutputToFile
:
string
|
boolean
}
source
:
string
Returns
string
|
null
Settings
Member Visibility
Protected
Inherited
External
Alpha
Beta
Theme
OS
Light
Dark
GitHub
Gaunt Sloth Assistant - v1.5.0
Loading...
Returns the output file path for a given command execution based on configuration.