@simplysf/simply 3.3.0 → 3.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +11 -7
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -1037,11 +1037,12 @@ Delete obsolete versions of Flows found in local source.
1037
1037
 
1038
1038
  ```
1039
1039
  USAGE
1040
- $ sf simply flow version prune -o <value> -d <value>... [--json] [--flags-dir <value>] [--api-version <value>]
1041
- [--dry-run]
1040
+ $ sf simply flow version prune -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-d <value>...] [-n
1041
+ <value>...] [--dry-run]
1042
1042
 
1043
1043
  FLAGS
1044
- -d, --source-dir=<value>... (required) Directories to scan for *.flow-meta.xml files
1044
+ -d, --source-dir=<value>... Directories to scan for *.flow-meta.xml files
1045
+ -n, --flow-name=<value>... Flow DeveloperName(s) to prune obsolete versions for
1045
1046
  -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
1046
1047
  configuration variable is already set.
1047
1048
  --api-version=<value> Override the api version used for api requests made by this command
@@ -1054,10 +1055,11 @@ GLOBAL FLAGS
1054
1055
  DESCRIPTION
1055
1056
  Delete obsolete versions of Flows found in local source.
1056
1057
 
1057
- Scans one or more source directories for `*.flow-meta.xml` files, then deletes any Tooling API Flow version already
1058
- `Status = 'Obsolete'` for those flows — keeping an org's Flow version history from accumulating indefinitely. Unlike
1059
- `simply flow delete`, this never touches an active Flow; it only removes versions the org itself already marked
1060
- obsolete.
1058
+ Flows can be named either via one or more `--source-dir` directories, scanned for `*.flow-meta.xml` files, or via one
1059
+ or more `--flow-name` flags for scripted or one-off use. Exactly one of the two must be given. The command then
1060
+ deletes any Tooling API Flow version already `Status = 'Obsolete'` for those flows — keeping an org's Flow version
1061
+ history from accumulating indefinitely. Unlike `simply flow delete`, this never touches an active Flow; it only
1062
+ removes versions the org itself already marked obsolete.
1061
1063
 
1062
1064
  Use `--dry-run` to see what would be deleted without deleting anything.
1063
1065
 
@@ -1065,6 +1067,8 @@ EXAMPLES
1065
1067
  $ sf simply flow version prune --target-org myOrg --source-dir sfdx-source/core
1066
1068
 
1067
1069
  $ sf simply flow version prune --target-org myOrg --source-dir sfdx-source/core --dry-run
1070
+
1071
+ $ sf simply flow version prune --target-org myOrg --flow-name My_Flow --flow-name Another_Flow
1068
1072
  ```
1069
1073
 
1070
1074
  _See code: [@simplysf/simply-flow](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-flow@0.2.0/packages/simply-flow/lib/commands/simply/flow/version/prune.js)_
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@simplysf/simply",
3
3
  "description": "Salesforce CLI Plugins created by @SimplySF",
4
- "version": "3.3.0",
4
+ "version": "3.4.1",
5
5
  "author": "@ClayChipps",
6
6
  "homepage": "https://github.com/SimplySF/simply-node",
7
7
  "bugs": "https://github.com/SimplySF/simply-node/issues",
@@ -80,8 +80,8 @@
80
80
  "@simplysf/simply-community": "^0.6.2",
81
81
  "@simplysf/simply-data": "^2.4.1",
82
82
  "@simplysf/simply-document": "^0.3.6",
83
- "@simplysf/simply-flow": "^0.3.0",
84
- "@simplysf/simply-package": "^2.10.2",
83
+ "@simplysf/simply-flow": "^0.4.0",
84
+ "@simplysf/simply-package": "^2.10.3",
85
85
  "@simplysf/simply-permissions": "^1.3.0",
86
86
  "@simplysf/simply-project": "^1.2.17",
87
87
  "@simplysf/simply-schema": "^0.3.18",
@@ -184,5 +184,5 @@
184
184
  "output": []
185
185
  }
186
186
  },
187
- "gitHead": "83d12719a2414b063fdc1321e0ebd89b8190f629"
187
+ "gitHead": "70de510ffb179af427b5e5fe84faa69d1bfd6a5c"
188
188
  }