David B
06/21/2023, 4:46 AMbeforeExecuting
entry point to know what the current projectFolder is (typically "src")?
I know there's options.projectPath
, but that doesn't include the actual project folderDavid B
06/22/2023, 1:33 AMerictgrubaugh
06/22/2023, 1:40 AMsuitecloud.config.js
is just a normal JS file. You could declare "src"
or whatever your path is as a const
in the file and reference the const
for both defaultProjectFolder
and in your commands
erictgrubaugh
06/22/2023, 1:43 AMoptions
Object (the argument to your command) to see if there's anything interesting there. It might get passed in as options.arguments.account
for most operationsDavid B
06/22/2023, 2:32 AMcommand: 'project:deploy',
projectPath: 'C:\\...\\project',
arguments: { authid: undefined }
erictgrubaugh
06/22/2023, 4:01 AMprojectPath
then, but I'd probably just fix it with a const
David B
06/22/2023, 9:59 PM