Page 1 of 1

command line shell

Posted: December 1st, 2020, 10:24 am
by khurshid.arshad
Dear CSPro Team

I am running 3 different projects as CSWeb75, CSWebkp and CSWebkpr2.

When I run from the command line shell, php bin/console csweb75:process-cases, it gives error.
There are no commands defined in the "csweb75" namespace.
Did you mean this?
csweb
When I run php bin/console csweb:process-cases, it works.

Please guide.
a.

Re: command line shell

Posted: December 1st, 2020, 3:05 pm
by aaronw
The command line does not specify the project. You specify the project by running the command line from the working directory of the project.

Re: command line shell

Posted: December 1st, 2020, 8:19 pm
by khurshid.arshad
Dear Arronw;


C:\wamp64\www\csweb>php bin/console csweb:process-cases, it is working perfect

C:\wamp64\www\csweb75>php bin/console csweb75:process-cases, gives an error.
There are no commands defined in the "csweb75" namespace.
Did you mean this?
csweb
thanks.
a.

Re: command line shell

Posted: December 1st, 2020, 11:48 pm
by khurshid.arshad
Dear Arronw

I am using this on command line shell and it is working fine.

C:\wamp64\www\csweb75>php bin/console csweb:process-cases

Please confirm, am i on the right track.

Thank you.
a.

Re: command line shell

Posted: December 5th, 2020, 5:27 pm
by aaronw
Yes, that is the correct usage.