@salesforce/cli 1.13.0 → 1.16.0

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.16.0](https://github.com/salesforcecli/cli/compare/v1.15.0...v1.16.0) (2022-02-23)
6
+
7
+ ## [1.15.0](https://github.com/salesforcecli/cli/compare/v1.14.0...v1.15.0) (2022-02-16)
8
+
9
+ ## [1.14.0](https://github.com/salesforcecli/cli/compare/v1.13.0...v1.14.0) (2022-02-15)
10
+
5
11
  ## [1.13.0](https://github.com/salesforcecli/cli/compare/v1.12.0...v1.13.0) (2022-02-09)
6
12
 
7
13
  ## [1.12.0](https://github.com/salesforcecli/cli/compare/v1.11.1...v1.12.0) (2022-02-02)
package/README.md CHANGED
@@ -31,7 +31,7 @@ $ npm install -g @salesforce/cli
31
31
  $ sf COMMAND
32
32
  running command...
33
33
  $ sf (--version|-v)
34
- @salesforce/cli/1.13.0 linux-x64 node-v14.19.0
34
+ @salesforce/cli/1.16.0 linux-x64 node-v14.19.0
35
35
  $ sf --help [COMMAND]
36
36
  USAGE
37
37
  $ sf COMMAND
@@ -1773,16 +1773,36 @@ update the sf CLI
1773
1773
 
1774
1774
  ```
1775
1775
  USAGE
1776
- $ sf update [CHANNEL] [--from-local]
1776
+ $ sf update [CHANNEL] [-a] [-v <value> | -i] [--force]
1777
1777
 
1778
1778
  FLAGS
1779
- --from-local interactively choose an already installed version
1779
+ -a, --available Install a specific version.
1780
+ -i, --interactive Interactively select version to install. This is ignored if a channel is provided.
1781
+ -v, --version=<value> Install a specific version.
1782
+ --force Force a re-download of the requested version.
1780
1783
 
1781
1784
  DESCRIPTION
1782
1785
  update the sf CLI
1786
+
1787
+ EXAMPLES
1788
+ Update to the stable channel:
1789
+
1790
+ $ sf update stable
1791
+
1792
+ Update to a specific version:
1793
+
1794
+ $ sf update --version 1.0.0
1795
+
1796
+ Interactively select version:
1797
+
1798
+ $ sf update --interactive
1799
+
1800
+ See available versions:
1801
+
1802
+ $ sf update --available
1783
1803
  ```
1784
1804
 
1785
- _See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v2.2.0/src/commands/update.ts)_
1805
+ _See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v3.0.0/src/commands/update.ts)_
1786
1806
 
1787
1807
  ## `sf version`
1788
1808
 
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.hook = void 0;
4
+ /*
5
+ * Copyright (c) 2022, salesforce.com, inc.
6
+ * All rights reserved.
7
+ * Licensed under the BSD 3-Clause license.
8
+ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
9
+ */
10
+ const core_1 = require("@oclif/core");
11
+ // eslint-disable-next-line @typescript-eslint/require-await
12
+ const hook = async function (opts) {
13
+ if (opts.config.root.includes('sfdx')) {
14
+ core_1.CliUx.ux.warn('Running "sf update" has no effect because you\'re using a version of sf that was installed by sfdx. To update sf, run "sfdx update".');
15
+ }
16
+ };
17
+ exports.hook = hook;
18
+ //# sourceMappingURL=preupdate.js.map