Below is my batch script :
@echo off
cd "C:\Users\SXR1176\AppData\Roaming\npm"
set /p Product= Enter Product :
set /p Organization= Enter Organization :
set /p Server= Enter Server:
echo Product %Product%
echo Organization %Organization%
echo Server %Server%
cmd /k apic login
cmd
apic drafts:pull %Product% --organization %Organization% --server %Server%
pause
The output of the above batch file is below :
Enter Product : sendfax-from-dev-faxutilitywsdl-product:1.0.0
Enter Organization : demoOrg
Enter Server: dummyserver.com
Product sendfax-from-dev-faxutilitywsdl-product:1.0.0
Organization demo
Server dummyserver.com
Enter the API Connect server
? Server: dummyserver.com
? Username: username
? Password (typing will be hidden) *******
Logged into dev-apic.humana.com successfully
C:\Users\SXR1176\AppData\Roaming\npm>
I see after the apic login command , the next command (apic drafts) is not executed at all . Could you please let me know what is happening .