1.0.6 • Published 4 months ago

pryfile v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

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
1.0.6

4 months ago

1.0.5

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago