Skip to content

Commit

Permalink
Merge pull request #10 from texei/bumpversion
Browse files Browse the repository at this point in the history
Updated Core libraries version
  • Loading branch information
FabienTaillon authored Jun 4, 2019
2 parents eee2e85 + 03f71ab commit 679cdc0
Show file tree
Hide file tree
Showing 6 changed files with 1,897 additions and 768 deletions.
77 changes: 50 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,68 +20,91 @@ Install npm modules: npm install
Link the plugin: sfdx plugins:link .

<!-- commands -->
* [`sfdx texei:package:dependencies:install`](#sfdx-texeipackagedependenciesinstall)
* [`sfdx texei:user:update`](#sfdx-texeiuserupdate)
* [`sfdx texei:package:dependencies:install [-k <string>] [-b <string>] [-p <string>] [-n <string>] [-w <number>] [-r] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-texeipackagedependenciesinstall--k-string--b-string--p-string--n-string--w-number--r--v-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
* [`sfdx texei:user:update [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-texeiuserupdate--v-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)

## `sfdx texei:package:dependencies:install`
## `sfdx texei:package:dependencies:install [-k <string>] [-b <string>] [-p <string>] [-n <string>] [-w <number>] [-r] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`

Install dependent Packages for a sfdx project

```
USAGE
$ sfdx texei:package:dependencies:install
$ sfdx texei:package:dependencies:install [-k <string>] [-b <string>] [-p <string>] [-n <string>] [-w <number>] [-r]
[-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-b, --branch=branch the package version’s branch
-b, --branch=branch the package version’s branch
-k, --installationkeys=installationkeys installation key for key-protected packages (format is
1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without
installation key)
-k, --installationkeys=installationkeys installation key for key-protected
packages (format is 1:MyPackage1Key
2: 3:MyPackage3Key... to allow some
packages without installation key)
-n, --namespaces=namespaces filter package installation by namespace
-n, --namespaces=namespaces filter package installation by
namespace
-r, --noprompt allow Remote Site Settings and Content Security Policy websites to
send or receive data without confirmation
-p, --packages=packages comma-separated list of the packages
to install related dependencies
-u, --targetusername=targetusername username or alias for the target org; overrides default target org
-r, --noprompt allow Remote Site Settings and
Content Security Policy websites to
send or receive data without
confirmation
-v, --targetdevhubusername=targetdevhubusername username or alias for the dev hub org; overrides default dev hub org
-u, --targetusername=targetusername username or alias for the target
org; overrides default target org
-w, --wait=wait number of minutes to wait for installation status (also used for
publishwait). Default is 10
-v, --targetdevhubusername=targetdevhubusername username or alias for the dev hub
org; overrides default dev hub org
--apiversion=apiversion override the api version used for api requests made by this command
-w, --wait=wait number of minutes to wait for
installation status (also used for
publishwait). Default is 10
--json format output as json
--apiversion=apiversion override the api version used for
api requests made by this command
--loglevel=(trace|debug|info|warn|error|fatal) logging level for this command invocation
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
this command invocation
EXAMPLE
$ texei:package:dependencies:install -u MyScratchOrg -v MyDevHub -k "1:MyPackage1Key 2: 3:MyPackage3Key" -b "DEV"
```

_See code: [src/commands/texei/package/dependencies/install.ts](https://github.com/texei/texei-sfdx-plugin/blob/v0.0.4/src/commands/texei/package/dependencies/install.ts)_
_See code: [src/commands/texei/package/dependencies/install.ts](https://github.com/texei/texei-sfdx-plugin/blob/v0.0.5/src/commands/texei/package/dependencies/install.ts)_

## `sfdx texei:user:update`
## `sfdx texei:user:update [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`

Updates the current user of a scratch org

```
USAGE
$ sfdx texei:user:update
$ sfdx texei:user:update [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-u, --targetusername=targetusername username or alias for the target org; overrides default target org
-v, --values=values the <fieldName>=<value> pairs you’re updating
--apiversion=apiversion override the api version used for api requests made by this command
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal) logging level for this command invocation
-u, --targetusername=targetusername username or alias for the target
org; overrides default target org
-v, --values=values the <fieldName>=<value> pairs you’re
updating
--apiversion=apiversion override the api version used for
api requests made by this command
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
this command invocation
EXAMPLES
$ sfdx texei:user:update --targetusername [email protected] --values "LanguageLocaleKey='fr'"
Successfully updated record: 005D2A90N8A11SVPE2.
$ sfdx texei:user:update --values "UserPermissionsKnowledgeUser=true --json"
```

_See code: [src/commands/texei/user/update.ts](https://github.com/texei/texei-sfdx-plugin/blob/v0.0.4/src/commands/texei/user/update.ts)_
_See code: [src/commands/texei/user/update.ts](https://github.com/texei/texei-sfdx-plugin/blob/v0.0.5/src/commands/texei/user/update.ts)_
<!-- commandsstop -->
1 change: 1 addition & 0 deletions oclif.manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":"0.0.5","commands":{"texei:user:update":{"id":"texei:user:update","description":"Updates the current user of a scratch org","usage":"<%= command.id %> [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"texei-sfdx-plugin","pluginType":"core","aliases":[],"examples":["$ sfdx texei:user:update --targetusername [email protected] --values \"LanguageLocaleKey='fr'\" \nSuccessfully updated record: 005D2A90N8A11SVPE2.","$ sfdx texei:user:update --values \"UserPermissionsKnowledgeUser=true --json\""],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"values":{"name":"values","type":"option","char":"v","description":"the <fieldName>=<value> pairs you’re updating"}},"args":[]},"texei:package:dependencies:install":{"id":"texei:package:dependencies:install","description":"Install dependent Packages for a sfdx project","usage":"<%= command.id %> [-k <string>] [-b <string>] [-p <string>] [-n <string>] [-w <number>] [-r] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"texei-sfdx-plugin","pluginType":"core","aliases":[],"examples":["$ texei:package:dependencies:install -u MyScratchOrg -v MyDevHub -k \"1:MyPackage1Key 2: 3:MyPackage3Key\" -b \"DEV\""],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"installationkeys":{"name":"installationkeys","type":"option","char":"k","description":"installation key for key-protected packages (format is 1:MyPackage1Key 2: 3:MyPackage3Key... to allow some packages without installation key)","required":false},"branch":{"name":"branch","type":"option","char":"b","description":"the package version’s branch","required":false},"packages":{"name":"packages","type":"option","char":"p","description":"comma-separated list of the packages to install related dependencies","required":false},"namespaces":{"name":"namespaces","type":"option","char":"n","description":"filter package installation by namespace","required":false},"wait":{"name":"wait","type":"option","char":"w","description":"number of minutes to wait for installation status (also used for publishwait). Default is 10","required":false},"noprompt":{"name":"noprompt","type":"boolean","char":"r","description":"allow Remote Site Settings and Content Security Policy websites to send or receive data without confirmation","required":false,"allowNo":false}},"args":[]}}}
60 changes: 29 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,43 +1,42 @@
{
"name": "texei-sfdx-plugin",
"description": "Texeï's plugin for sfdx",
"version": "0.0.4",
"version": "0.0.5",
"author": "Texeï",
"bugs": "https://github.com/https://github.com/texei/texei-sfdx-plugin/issues",
"dependencies": {
"@oclif/command": "1",
"@oclif/config": "1",
"@oclif/errors": "1",
"@salesforce/command": "0.1.5",
"@types/underscore": "^1.8.9",
"child-process-promise": "^2.2.1",
"child_process": "^1.0.2",
"underscore": "^1.9.1"
"@oclif/command": "^1",
"@oclif/config": "^1",
"@oclif/errors": "^1",
"@salesforce/command": "^1.4.1",
"@salesforce/core": "^1.3.2",
"tslib": "^1",
"child-process-promise": "^2.2.1"
},
"devDependencies": {
"@oclif/dev-cli": "1",
"@oclif/plugin-help": "1",
"@oclif/test": "1",
"@salesforce/dev-config": "1.0.4",
"@types/chai": "4",
"@types/jsforce": "1.8.9",
"@types/mocha": "5",
"@types/node": "9",
"chai": "4",
"globby": "8",
"mocha": "5",
"sinon": "5",
"ts-node": "5",
"tslib": "1",
"typescript": "2.8"
"@oclif/dev-cli": "^1",
"@oclif/plugin-help": "^2",
"@oclif/test": "^1",
"@salesforce/dev-config": "1.4.1",
"@types/chai": "^4",
"@types/mocha": "^5",
"@types/node": "^10",
"chai": "^4",
"globby": "^8",
"mocha": "^5",
"nyc": "^13",
"ts-node": "^8",
"tslint": "^5",
"typescript": "~3.3"
},
"engines": {
"node": ">=8.0.0"
},
"files": [
".oclif.manifest.json",
"/lib",
"/messages"
"/messages",
"/npm-shrinkwrap.json",
"/oclif.manifest.json"
],
"homepage": "https://github.com/https://github.com/texei/texei-sfdx-plugin",
"keywords": [
Expand All @@ -58,11 +57,10 @@
},
"repository": "https://github.com/texei/texei-sfdx-plugin",
"scripts": {
"postpack": "rm -f .oclif.manifest.json",
"posttest": "tsc -p test --noEmit && tslint -p test -t stylish",
"prepack": "rm -rf lib && tsc && oclif-dev manifest && oclif-dev readme",
"prepare": "rm -rf lib && tsc && oclif-dev manifest && oclif-dev readme",
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
"postpack": "rm -f oclif.manifest.json",
"posttest": "tslint -p test -t stylish",
"prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme",
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
"version": "oclif-dev readme && git add README.md"
}
}
Loading

0 comments on commit 679cdc0

Please sign in to comment.