pryfile

1.0.6 • Public • Published

pryfile.js

NPM Version

Installation

Dependencies

  • Node.js (verify by running node -v)
  • an SFDX project

Setup

Install pryfile with npm

  npm i -g pryfile

Verify install

  pryfile -h

"pryfile -h" terminal output

Due to a bug using prettier plugins as a dependency, you'll have to install it in your SFDX project for now.

Run this from inside your SFDX project directory!!

  npm i @prettier/plugin-xml

Usage

pryfile is to be used from within an SFDX project directory. It's easiest to open a project in VS Code, then open the embedded terminal (ctr/cmd+j).

  • Create an example configuration file
  pryfile config

This will create a file named .pryfilerc in the root directory of your project. It will include all of the profiles found in the project, as well as example formatting.

  • add fields to be added/overwritten to .pryfilerc
  • list only the profiles you want modified
  • run pryfile
  pryfile

Options

  • pryfile format - formats the specified profiles without adding anything new
  • pryfile format -a - format all profiles in the project

Package Sidebar

Install

npm i pryfile

Weekly Downloads

1

Version

1.0.6

License

ISC

Unpacked Size

59.9 kB

Total Files

9

Last publish

Collaborators

  • jsaterdalen