In this guide, we'll go through the steps to create a new toolset in your SoapJS project. You can create toolsets using CLI commands, interactive forms, or by defining them in a JSON file.
exportclassDateToolset{staticgetFirstDayOfMonth(date:Date):Date{returnnewDate(date.getFullYear(),date.getMonth(),1);}staticgetLastDayOfMonth(date:Date):Date{returnnewDate(date.getFullYear(),date.getMonth() +1,0);} // more date-related utility methods here...}
Creating new toolset
Using CLI Command with options
To create a new toolsets directly via the CLI, use the following command: