@squiz/dxp-cli-next 5.12.0-develop.1 → 5.12.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/README.md +1 -1
- package/lib/__tests__/integration/main.spec.js +1 -1
- package/lib/auth/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ Options:
|
|
|
20
20
|
-h, --help display help for command
|
|
21
21
|
|
|
22
22
|
Commands:
|
|
23
|
-
auth Authenticate into the DXP CLI
|
|
23
|
+
auth Authenticate into the DXP-Next CLI
|
|
24
24
|
cmp Component Service Commands
|
|
25
25
|
job-runner Job Runner Service Commands
|
|
26
26
|
datastore Datastore Service Commands
|
|
@@ -12,7 +12,7 @@ describe('dxp', () => {
|
|
|
12
12
|
const commandsText = (_a = stdout
|
|
13
13
|
.match(/Commands\:(.*)/is)) === null || _a === void 0 ? void 0 : _a[1].split('\n').map(a => a.trim()).filter(a => !!a);
|
|
14
14
|
expect(commandsText).toEqual([
|
|
15
|
-
'auth Authenticate into the DXP CLI',
|
|
15
|
+
'auth Authenticate into the DXP-Next CLI',
|
|
16
16
|
'cmp Component Service Commands',
|
|
17
17
|
'job-runner Job Runner Service Commands',
|
|
18
18
|
'datastore Datastore Commands',
|
package/lib/auth/index.js
CHANGED
|
@@ -8,7 +8,7 @@ const login_1 = __importDefault(require("./login/login"));
|
|
|
8
8
|
const logout_1 = __importDefault(require("./logout/logout"));
|
|
9
9
|
const authCommand = new commander_1.Command('auth');
|
|
10
10
|
authCommand
|
|
11
|
-
.description('Authenticate into the DXP CLI')
|
|
11
|
+
.description('Authenticate into the DXP-Next CLI')
|
|
12
12
|
.addCommand((0, login_1.default)())
|
|
13
13
|
.addCommand((0, logout_1.default)());
|
|
14
14
|
exports.default = authCommand;
|