1.0.0 • Published 8 years ago

@sointeractive/angry-jupiter-clean v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

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 clean

Usage

  1. Optionally Enter the directory with a prepared configuration for an instance

    cd example_directory/
  1. Run AJ Clean

    angry clean <configFile> [options]

    where:

    • <configFile> is a required parameter that specifies file with clean configuration
    • [options] are optional (see below)
  1. 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:

OptionDescription
-h, --helpoutputs information on how to use the application
-V, --versionoutputs the version of the application
-d, --detailsruns the application in the details mode
-a, --allremove 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.