@simplysf/simply-project
v1.2.17
Published
Utilities for working with Salesforce projects
Readme
@simplysf/simply-project
Install
sf plugins install @simplysf/simply-projectIssues
Please report any issues at https://github.com/SimplySF/simply-node/issues
Contributing
This package is part of the @simplysf/simply monorepo. See the repo's CONTRIBUTING.md for the repo structure, how to set up and build the project, our commit conventions, and how to submit a pull request. Please also read our Code of Conduct.
Commands
sf simply project update api-version
Update the Salesforce API version across a project's metadata.
USAGE
$ sf simply project update api-version -d <value> -a <value> [--json] [--flags-dir <value>]
FLAGS
-a, --api-version=<value> (required) Target Salesforce API version
-d, --directory=<value> (required) Path to the Salesforce project directory
GLOBAL FLAGS
--flags-dir=<value> Import flag values from a directory.
--json Format output as json.
DESCRIPTION
Update the Salesforce API version across a project's metadata.
Recursively scans a directory for `-meta.xml` files and updates every `<apiVersion>` tag to the target version. If the
directory contains an `sfdx-project.json` file, its `sourceApiVersion` property is updated to match.
EXAMPLES
$ sf simply project update api-version --directory force-app --api-version 62.0
$ sf simply project update api-version --directory . --api-version 63.0
FLAG DESCRIPTIONS
-a, --api-version=<value> Target Salesforce API version
The Salesforce API version to set on all metadata files and, if present, sfdx-project.json.
-d, --directory=<value> Path to the Salesforce project directory
The path to the Salesforce project directory to scan for metadata files.See code: lib/commands/simply/project/update/api-version.js
License
Licensed under the Apache-2.0 license.
