# All Modules Command
# moduleCommands
This helps to know what all commands are avaiable on the modules which are available in the project.
[Valey] $ moduleCommands
Available Set of Command(s) for TestStream : stream,event,replication
For more information about each command set type '<command-set> --help'
Available Set of Command(s) for TestMongo : collection
For more information about each command set type '<command-set> --help'
Available Set of Command(s) for TestScript : script
For more information about each command set type '<command-set> --help'
Available Set of Command(s) for ValeyStream : stream,event,replication
For more information about each command set type '<command-set> --help'
Available Set of Command(s) for ResourceConnector : eventHandler
For more information about each command set type '<command-set> --help'
Available Set of Command(s) for TestDomain : eventHandler
For more information about each command set type '<command-set> --help'
Available Set of Command(s) for ValeyMongo : collection
For more information about each command set type '<command-set> --help'
Available Set of Command(s) for ValeyDomain : eventHandler
For more information about each command set type '<command-set> --help'
Available Set of Command(s) for TestProcess : reactor
For more information about each command set type '<command-set> --help'
Available Set of Command(s) for TestProcessVue : reactor
For more information about each command set type '<command-set> --help'
Available Set of Command(s) for PlaygroundProcess : reactor
For more information about each command set type '<command-set> --help'
[success] Total time: 20 s, completed 8 Aug, 2018 11:42:15 AM
# moduleList
Shows all the modules available in the project.
[Valey] $ moduleList
[info] ---------------------
[info] ValeyData
[info] ValeyMongo
[info] ValeyStream
[info] ValeyDomain
[info] ValeyApi
[info] ResourceConnectorData
[info] ResourceConnector
[info] TestMongo
[info] TestStream
[info] TestData
[info] TestDomain
[info] TestProcess
[info] TestProcessVue
[info] PlaygroundProcess
[info] TestPlay
[info] TestScript
# project
To enter a specific module context.
[Valey] $ project ValeyMongo
[info] Set current project to ValeyMongo (in build file:/Users/sagarmahapatra/metastay/valey/)
[ValeyMongo]
NOTE
inside SBT shell, [Valey] has changed to [ValeyMongo], so we are inside the context of a module.
To come out of the module context project /.
[ValeyMongo] project /
[info] Set current project to Valey (in build file:/Users/sagarmahapatra/metastay/valey/)
[Valey] $
# testOnly
To run a test-cases of a specific module, navigate to the respective module context and run testOnly command.
testOnly
[Valey] $ project ValeyDomain
[info] Set current project to ValeyDomain (in build file:/Users/sagarmahapatra/metastay/valey/)
[ValeyMongo] testOnly
# smile spile
To reset the files if anything goes wrong.
NOTE
This command is outside SBT.