You’re viewing the
v1.5.8
(legacy) docs.
Go to the latest docs →
Gaunt Sloth Assistant
GitHub
Preparing search index...
@gaunt-sloth/review
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
Loading...
Returns the output file path for a given command execution based on configuration.