what is the multi-project feature?
# sdf
m
what is the multi-project feature?
r
I assume it would allow you to select the account when uploading/validating files via the SDF plugin. Right now, there is no way to select a specific account.
m
hmm maybe I'm not thinking of the same thing but if I run a compare with account file on one of my .js files it seems to give me the option to select the account and role
I think that's the default behavior if the project settings are left blank
s
I was referring to the nodejs SDF-CLI - the current version doesn't natively support deployment to different accounts.
I guess that may be different from 'multi-project'. what I need is support for deploying to any NS account like we have with the java sdfcli
m
oh cool. other than that, how are you liking the nodecli?
s
I've stuck with the plain java cli since I deploy to different environments all the time
also notable is the nodejs cli isn't a complete rewrite - it still leans on the java jar for the heavy lifting
that makes me a little sad, but in the end if we have a performant, npm-installable SDF cli with a pleasant (command line) interface I'll be 😂
m
Interesting, thanks for the insight
r
@Merik Ducker for compare yes but for Upload file, I dont see an option to select an account
m
Ah yea I see what you're saying. The only way I've been doing that is to first switch over to a different account in the project settings
oh wait I go back to what I said before. you just need to have project settings blank then it defaults to letting you pick
err hm maybe it can't be blank. not sure why I thought that 🤔
so I see okay multi-project is basically like condensing what's currently two steps into one for files
a
The fact that the Node.js CLI uses Java should be irrelevant. The new CLI commands/arguments have been adjusted to improve the experience of the CLI plus there is extra functionality (setupaccount, createproject, proxy, local development for SuiteCommerce, interactive mode). The only reason it uses the JAR internally is to reuse some APIs.
s
I only bring up java since it's an external dependency that requires separate user effort to intall. if the sdfcli bundled a JRE then it would be irrelevant (except for being a largish download 🙂 ).
a
yep! that may be the natural next step