cli
Last updated
Was this helpful?
Last updated
Was this helpful?
Get a list of commands
Get help for a specific command
Add an event listener
Select an event to create and hit ENTER
This will create a file in the functions/
folder with some boilerplate code (types included) which will
Remove an event listener
This will look for all existing events. Select an event to delete. Then, select the files you want to use with SPACE
, then hit enter to submit
Enable developer mode
This will watch for new files under the functions/
folder, and add some boilerplate code (types included)
If [file]
is provided, it will start that file as well. If it is a typescript file, it will compile, then run
for javascript
projects, we look in the package.json
file of the cwd and check the type field. if that doesn't exist, we default to commonjs
to find if a project is typescript
, we check if a tsconfig.json
file exists, and if typescript
is set to true
in ss.json
It will detect the automatically and create code with the matching syntax