npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

sfdx-picklist-utils

v1.0.27

Published

Toolbox for picklists.

Readme

sfdx-picklist-utils

NPM Downloads/week License

Install

sf plugins install sfdx-picklist-utils

Display help

sf picklistutils updatevalues -h

Usage

This plugins provides commands to help users when updating values in picklist fields, especially when labels and API values are different.

Commands

sf picklistutils generatefile

Generates a csv file with 2 columns "Label" and "API Name". You can then update the csv file, and use it to re-import changes directly.

USAGE
  $ sf picklistutils generatefile -f <value> -a <value> -o <value> [--json] [--flags-dir <value>] [-n <value>] [-s <value>] [-e
    <value>] [--api-version <value>] [-l]

FLAGS
  -a, --field-api-name=<value>  (required) API Name of the field to extract values from (Account.myfield_c for custom
                                field). Use StandardValueSet name for standard fields (AccountType for standard field
                                Account.Type)
  -e, --eol=<value>             End of line to be used in the csv file. "\n" by default.
  -f, --output-file=<value>     (required) Path of the output file.
  -l, --include-columns-labels  Set to True if you want to include column labels.
  -n, --name=<value>            Description of a flag.
  -o, --target-org=<value>      (required) Username or alias of the target org. Not required if the `target-org`
                                configuration variable is already set.
  -s, --separator=<value>       Separator to be used in the csv file. Comma by default.
      --api-version=<value>     Override the api version used for api requests made by this command

GLOBAL FLAGS
  --flags-dir=<value>  Import flag values from a directory.
  --json               Format output as json.

DESCRIPTION
  Summary of a command.

  More information about a command. Don't repeat the summary.

EXAMPLES
  $ sf picklistutils generatefile

FLAG DESCRIPTIONS
  -n, --name=<value>  Description of a flag.

    More information about a flag. Don't repeat the summary.

sf picklistutils updatevalues

Updates picklist values from a csv file.

USAGE
  $ sf picklistutils updatevalues -a <value> -f <value> -o <value> [--json] [--flags-dir <value>] [-s <value>] [-e <value>]
    [--api-version <value>] [-l]

FLAGS
  -a, --field-api-name=<value>  (required) Field name to target (Account.myfield_c for custom field). Use
                                StandardValueSet name for standard fields (AccountType for standard field Account.Type)
  -e, --eol=<value>             End of line to be used in the csv file. "\n" by default.
  -f, --filename=<value>        (required) File containing new values.
                                Two columns csv file containing pairs label,value
  -l, --has-columns-labels      Set to true if the input file has columns labes, to ignore the first line.
  -o, --target-org=<value>      (required) Username or alias of the target org. Not required if the `target-org`
                                configuration variable is already set.
  -s, --separator=<value>       Separator to be used in the csv file. Comma by default.
      --api-version=<value>     Override the api version used for api requests made by this command

GLOBAL FLAGS
  --flags-dir=<value>  Import flag values from a directory.
  --json               Format output as json.

DESCRIPTION
  Updates picklist values from a csv file.

  Updates picklist values from a csv file.
  To update a custom picklist field, using local values or a global value set, pass the full API field name.
  To update a standard picklist field, pass the StandardValueSet name.

EXAMPLES
  To update the Standard Picklist AccountType :
  $ sf picklistutils updatevalues -a AccountType
  To update the Custom Picklist (local or global) named myfield**c on Account object :
  $ sf picklistutils updatevalues -a Account.myfield**c