snips-action-reminder
Snips action code for the Reminder app
Setup
sh setup.sh
Don't forget to edit the config.ini
file.
An assistant containing the intents listed below must be installed on your system. Deploy it following these instructions.
Run
- Dev mode:
# Dev mode watches for file changes and restarts the action.
npm run dev
- Prod mode:
# 1) Lint, transpile and test.
npm start
# 2) Run the action.
npm run launch
Test & Demo cases
This app only supports french ๐ซ๐ท and english ๐ฌ๐ง.
Debug
In the src/index.ts
file:
// Uncomment this line to print everything
// debug.enable(name + ':*')
Test & Lint
Requires mosquitto to be installed.
npm start
In test mode, i18n output and http calls are mocked.
- http: mocks are written in
tests/httpMocks/index.ts
- i18n: mocked by
snips-toolkit
, see the documentation.
Contributing
Please see the Contribution Guidelines.
Copyright
This library is provided by Snips as Open Source software. See LICENSE for more information.