@sointeractive/angry-jupiter-clean
v1.0.0
Published
Angry Jupiter - Clean Module
Downloads
6
Readme
AngryJupiter Clean
Clean is a module of AngryJupiter - a console tool kit based on Node.js which allows for cleaning gamification instances in IsaaCloud.
Clean allows for cleaning all gamification instance in IsaaCloud. Configuration may contain such elements as: achievements, scripts, leaderboards, and tags.
Prerequisites
To install Clean, you need to have AngryJupiter Core installed.
Installation
To install Clean, run the following command in your console:
angry install cleanUsage
[Optionally] Enter the directory with a prepared configuration for an instance
cd example_directory/Run AJ Clean
angry clean <configFile> [options]where:
<configFile>is a required parameter that specifies file with clean configuration[options]are optional (see below)
The module will remove each element in API without items without items included in the configuration file.
Options
You can run the module with the following options:
| Option | Description |
|-----------------------------------|-------------------------------------------------------------------------------------------|
| -h, --help | outputs information on how to use the application |
| -V, --version | outputs the version of the application |
| -d, --details | runs the application in the details mode |
| -a, --all | remove all items from resource |
| --env <environment> | set config environment to use in clean |
| --resource <resourceName> | set resource to clean (can use multiple times - ex. --resource tags --resource tasks) |
| --timeout <timeout> | set each request timeout (in ms) |
| --tries-number <triesNumber> | how many times request will be repeated if error occurs |
Changelog
1.0.0
08 December 2017
- Creat clean module for Angry Jupiter.
