# How to list SMILE commands inside sbt shell?
- Enter sbt shell, run command
smile --help
[Lottery] $ smile --help
A) smile commands :
smile new <project-name> : to create a new project
smile create-lib <lib-name> : to create a new lib
smile export-lib : to export lib
smile spile : to reset the project
...
To list commands inside a module along with its usage details:
navigate to the specific module using
projectcommand inside sbt shell[Lottery] $ project LotteryMongo [info] Set current project to LotteryMongo (in build file:/Users/pallavi/training/lottery/) [LotteryMongo]run command
moduleCommandsto list commands applicable to the module. For example: mongo module[LotteryMongo] moduleCommands Available Set of Command(s) for LotteryMongo : collection For more information about each command set type '<command-set> --help' ... [LotteryMongo] collection --help Usage: collection [stat|ensureIndices|ensureAllIndices|dropIndices|dropAllIndices] [options] <args>... Command: stat count the rows in each collection for now! Command: ensureIndices <collectionName> ensure indices for the collection <collectionName> provide the collection name Command: ensureAllIndices ensure all indices for all collections ...