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 🙏

© 2024 – Pkg Stats / Ryan Hefner

plugin-atlas

v0.3.2

Published

A Salesforce CLI plugin to generate documentation from metadata

Downloads

42

Readme

ATLAS

NPM Downloads/week License

Vision

Atlas is a one-stop shop documentation toolkit for your Salesforce project. It uses all the information stored in your Salesforce metadata files and outputs all that information in a structured, user-readable form, in multiple formats.

How to install

  1. Install Node in your system. In case of doubt, go with the LTS installation.

  2. Install the Salesforce CLI using npm:

    npm install --global @salesforce/cli
  3. Install Atlas as a Salesforce CLI plugin:

    sf plugins install plugin-atlas

How to update

  1. Update the Salesforce CLI. It is the same command as installing it from scratch:

    npm install --global @salesforce/cli
  2. Update all the Salesforce CLI plugins:

    sf plugins update

If the update fails, you can uninstall the plugin with sf plugins uninstall plugin-atlas and then reinstall it.

Features

Currently supported output format:

  • Excel spreadsheet (xlsx), with each metadata type (objects, fields, list views, etc) in separate tabs.

Currently supported metadata types:

  • Objects
  • Fields
  • Record types
  • Fieldsets
  • Layouts
  • List views
  • Compact layouts
  • Tabs
  • Quick actions
  • Validation rules
  • Weblinks
  • Flexipages (Lightning pages)
  • Apex classes and triggers
  • Visualforce pages and components
  • Aura components
  • Lightning web components
  • Flows
  • Workflow rules
  • Profiles
  • Roles
  • Permission Sets
  • Permission Set Groups
  • User Access Policies

Roadmap

Features

  • Additional output formats:
    • Multiple spreadsheets
    • Multiple CSV files
    • Markdown websites
    • HTML websites
  • Enhance existing functionality:
    • Increase the number of metadata types included in the output
    • Make more information available for existing types
    • Quality of life improvements:
      • Choose the target file name and location
      • Select which metadata types should be included

Maintenance and internal

  • Increase test coverage
  • Set up an automated release pipeline
  • Continue to maintain

Commands

sf atlas generate csv

Generate CSV files from the contents of your local project, with a separate file for each supported metadata type.

USAGE
  $ sf atlas generate csv [--json] [-d <value>]

FLAGS
  -d, --output-dir=<value>  [default: PROJECT_FOLDER/atlas/csv/YYYYMMDD-HHMMSS/] Folder where the CSV files will be
                            saved.

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Generate CSV files from the contents of your local project, with a separate file for each supported metadata type.

  You must run this command from within a project.

EXAMPLES
  $ sf atlas generate csv

FLAG DESCRIPTIONS
  -d, --output-dir=<value>  Folder where the CSV files will be saved.

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

sf atlas generate xlsx

Generate an XLSX spreadsheet from the contents of your local project, with a sheet for each supported metadata type.

USAGE
  $ sf atlas generate xlsx [--json] [-f <value>]

FLAGS
  -f, --output-file=<value>  [default: PROJECT_FOLDER/atlas/xlsx/atlas-YYYYMMDD-HHMMSS.xlsx] Name and path of the XLSX
                             file to be generated.

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Generate an XLSX spreadsheet from the contents of your local project, with a sheet for each supported metadata type.

  You must run this command from within a project.

EXAMPLES
  $ sf atlas generate xlsx

FLAG DESCRIPTIONS
  -f, --output-file=<value>  Name and path of the XLSX file to be generated.

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