@salesforce/refocus-utilities
Refocus utilities
Last updated 2 years ago by pallavi.singh .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @salesforce/refocus-utilities 
SYNC missed versions from official npm registry.

Coverage Status

refocus-utilities

Installation

npm install @salesforce/refocus-utilities

Commands

sample-store-cleanup

Use sample-store-cleanup to clean out bad samples from the Sample Store.

The redis connection url defaults to local redis instance redis://localhost:6379, but if environment variable REDIS_URL exists, it will use that instead. Alternatively, you can pass a redis connection url using command option --redisUrl (or shortcut -r).

Use --preview (or -p) to run in preview mode, to see what keys would be deleted before actually running the cleanup utility for real.

Synopsis

$ node sample-store-cleanup --preview $ REDIS_URL=MY_REDIS_CONNECTION_URL node sample-store-cleanup $ node sample-store-cleanup [--redisUrl redis://YOUR_REDIS_CONNECTION_URL] $ node sample-store-cleanup --help

Options

-r, --redisUrl string The redis connection url (defaults to process.env.REDIS_URL or redis://localhost:6379). -h, --help Print this usage guide

sample-store-rebuild-aspect-subject-map

Use sample-store-rebuild-aspect-subject-map to rebuild the Sample Store's Aspect-Subject Map in redis.

The redis connection url defaults to local redis instance redis://localhost:6379, but if environment variable REDIS_URL exists, it will use that instead. Alternatively, you can pass a redis connection url using command option --redisUrl (or shortcut -r).

Synopsis

$ node sample-store-rebuild-aspect-subject-map $ REDIS_URL=MY_REDIS_CONNECTION_URL node sample-store-rebuild-aspect-subject-map $ node sample-store-rebuild-aspect-subject-map [--redisUrl redis://YOUR_REDIS_CONNECTION_URL] $ node sample-store-rebuild-aspect-subject-map --help

Options

-r, --redisUrl string The redis connection url (defaults to process.env.REDIS_URL or redis://localhost:6379). -h, --help Print this usage guide

Current Tags

  • 1.1.0                                ...           latest (2 years ago)

2 Versions

  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago

Copyright 2014 - 2016 © taobao.org |