npackd/npackd-cpp

Update all

Opened this issue · 3 comments

How can I update all installed programs to the latest version at once by comand line?

there is currently no way to do this.

One way is to create the following batch file (update_all.bat) in ncl folder:

@ECHO OFF
SET nppath=%~dp0
SET PATH=%PATH%;%nppath:~0,-1%
powershell -c "$pl = (& ncl.exe list --bare-format); ForEach ($line in $($pl -split '`r`n')) { $col = $line -split ' '; $col = $col[0].Trim(); & ncl.exe update --package=$col }"

Hello,

I plan to add
ncl update -q ""