@salesforce/refocus-utilities

1.1.0 • Public • Published

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

/@salesforce/refocus-utilities/

    Package Sidebar

    Install

    npm i @salesforce/refocus-utilities

    Weekly Downloads

    0

    Version

    1.1.0

    License

    BSD-3-Clause

    Unpacked Size

    37.5 kB

    Total Files

    20

    Last publish

    Collaborators

    • dme722
    • nolanlawson
    • ire-npm-team-user
    • jburnie
    • abirchfieldsfdc
    • dlouvton
    • mobify
    • jmsjtu
    • jasonschroeder-sfdc
    • packagellama
    • maward
    • danielshox
    • duane.chew
    • dferro
    • jcourtner
    • jye-sf
    • adirasanam
    • hkii
    • iamaziz
    • dbreese-salesforce
    • ashokrudraraju
    • dhersam
    • demianbrecht
    • mbettio
    • damilareolowoniyi
    • mmadialagan
    • mjrust
    • salesforce-releases
    • mpsenn
    • kevinv11n
    • byao
    • pmdartus
    • ekashida
    • gr8gatsby
    • ravi.jayaramappa
    • apapko
    • jleen-sfdc
    • jqian
    • cwallsf
    • dhagberg-sf
    • khawkins
    • amphro
    • jodarove
    • sfdctaka
    • fernomac
    • jimjag
    • ivarley
    • jbartolotta-sfdc