stupid question, but does installing this also ins...
# sdf
c
stupid question, but does installing this also install the sdfcli and link it in /usr/local/bin? https://www.npmjs.com/package/@oracle/suitecloud-cli
a
Hey @chris , yes it installs the jar file as a dependency, but it's download in users home folder in
.suitecloud-sdk
directory.
Are you installing it with a sudo command?
If yes please avoid using sudo.
c
hey @Albert Margarit (NS Eng Lead) โ€” I am updating my VS Code plugin, and I was looking for a better way to install the jar file
or at least reference it
sorry @Ali Syed (NS DevTools QA) not Albert ๐Ÿ˜„
a
No prob ๐Ÿ™‚. Our approach for node cli is to install dependency of this jar in users home folder as i mentioned above, so we don't run into unnecessary permission issues etc.
c
Ah, I see. Will there be any class exports for me to hook into for the plugin?
a
I am not sure if there will be an out of box solution for your use case. We have made some modifications to jar file to be effectively used by nodecli. I will have to check with the team. But that's the beauty of open source project that you can check how node cli is handling it. The other thing i would like to mention is if your plugin is distributed, i would recommend to check the license for sdfcli usage.
๐Ÿ‘ 1
c
Yep! At the moment I havenโ€™t distributed any closed source jars (I would rather folks npm install -g suitecloud-cli and I hook into that as needed), but I was hoping there was some sort of vision for using the CLI as a DevOps/backend tool