trm-client 6.1.1 → 7.0.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/LICENSE +20 -20
- package/README.md +65 -65
- package/changelog.txt +179 -165
- package/dist/command/AbstractCommand.d.ts +42 -0
- package/dist/command/AbstractCommand.js +418 -0
- package/dist/command/InquirerType.d.ts +3 -0
- package/dist/command/InquirerType.js +7 -0
- package/dist/{utils/executeCommand.d.ts → command/LoggerType.d.ts} +0 -4
- package/dist/command/LoggerType.js +11 -0
- package/dist/{utils/registerCommand.d.ts → command/RegisterCommandOpts.d.ts} +4 -3
- package/dist/command/implementations/Alias.d.ts +8 -0
- package/dist/command/implementations/Alias.js +172 -0
- package/dist/command/implementations/Compare.d.ts +7 -0
- package/dist/command/implementations/Compare.js +133 -0
- package/dist/command/implementations/Content.d.ts +5 -0
- package/dist/command/implementations/Content.js +195 -0
- package/dist/command/implementations/Deprecate.d.ts +5 -0
- package/dist/command/implementations/Deprecate.js +33 -0
- package/dist/command/implementations/DistTag.d.ts +5 -0
- package/dist/command/implementations/DistTag.js +48 -0
- package/dist/command/implementations/FindDependencies.d.ts +5 -0
- package/dist/command/implementations/FindDependencies.js +42 -0
- package/dist/command/implementations/Info.d.ts +11 -0
- package/dist/command/implementations/Info.js +245 -0
- package/dist/command/implementations/Install.d.ts +13 -0
- package/dist/command/implementations/Install.js +201 -0
- package/dist/command/implementations/List.d.ts +5 -0
- package/dist/command/implementations/List.js +116 -0
- package/dist/command/implementations/Lock.d.ts +5 -0
- package/dist/command/implementations/Lock.js +40 -0
- package/dist/command/implementations/Login.d.ts +5 -0
- package/dist/command/implementations/Login.js +66 -0
- package/dist/command/implementations/Logout.d.ts +5 -0
- package/dist/command/implementations/Logout.js +37 -0
- package/dist/command/implementations/Ping.d.ts +5 -0
- package/dist/{commands/findDependencies.js → command/implementations/Ping.js} +15 -16
- package/dist/command/implementations/Publish.d.ts +6 -0
- package/dist/command/implementations/Publish.js +145 -0
- package/dist/command/implementations/Registry.d.ts +5 -0
- package/dist/command/implementations/Registry.js +88 -0
- package/dist/command/implementations/Settings.d.ts +5 -0
- package/dist/command/implementations/Settings.js +42 -0
- package/dist/command/implementations/Unpublish.d.ts +5 -0
- package/dist/command/implementations/Unpublish.js +34 -0
- package/dist/command/implementations/View.d.ts +9 -0
- package/dist/command/implementations/View.js +237 -0
- package/dist/command/implementations/WhoAmI.d.ts +5 -0
- package/dist/command/implementations/WhoAmI.js +36 -0
- package/dist/command/implementations/index.d.ts +19 -0
- package/dist/command/implementations/index.js +35 -0
- package/dist/command/index.d.ts +4 -0
- package/dist/{commands/commons → command}/index.js +4 -2
- package/dist/{commands/arguments/ConnectArguments.d.ts → command/prompts/connect.d.ts} +2 -0
- package/dist/{commands → command}/prompts/connect.js +3 -3
- package/dist/command/prompts/createAlias.d.ts +1 -0
- package/dist/{commands → command/prompts}/createAlias.js +8 -8
- package/dist/command/prompts/deleteAlias.d.ts +1 -0
- package/dist/{commands → command/prompts}/deleteAlias.js +3 -4
- package/dist/command/prompts/index.d.ts +4 -0
- package/dist/{commands → command}/prompts/index.js +2 -0
- package/dist/index.js +34 -278
- package/dist/registryAlias/RegistryAlias.js +1 -1
- package/dist/systemAlias/SystemAlias.js +4 -4
- package/dist/utils/{Context.d.ts → GlobalContext.d.ts} +3 -3
- package/dist/utils/{Context.js → GlobalContext.js} +6 -6
- package/dist/utils/checkCliUpdate.d.ts +3 -2
- package/dist/utils/checkCliUpdate.js +3 -3
- package/dist/utils/getSapLogonConnections.js +3 -3
- package/dist/utils/index.d.ts +1 -4
- package/dist/utils/index.js +1 -4
- package/package.json +67 -65
- package/dist/commands/addRegistry.d.ts +0 -2
- package/dist/commands/addRegistry.js +0 -66
- package/dist/commands/alias.d.ts +0 -2
- package/dist/commands/alias.js +0 -156
- package/dist/commands/arguments/AddRegistryArguments.d.ts +0 -5
- package/dist/commands/arguments/AliasArguments.d.ts +0 -3
- package/dist/commands/arguments/AliasArguments.js +0 -2
- package/dist/commands/arguments/CheckArguments.d.ts +0 -4
- package/dist/commands/arguments/CheckArguments.js +0 -2
- package/dist/commands/arguments/CompareArguments.d.ts +0 -4
- package/dist/commands/arguments/CompareArguments.js +0 -2
- package/dist/commands/arguments/ConnectArguments.js +0 -2
- package/dist/commands/arguments/ContentArguments.d.ts +0 -6
- package/dist/commands/arguments/ContentArguments.js +0 -2
- package/dist/commands/arguments/CreateAliasArguments.d.ts +0 -3
- package/dist/commands/arguments/CreateAliasArguments.js +0 -2
- package/dist/commands/arguments/DeleteAliasArguments.d.ts +0 -3
- package/dist/commands/arguments/DeleteAliasArguments.js +0 -2
- package/dist/commands/arguments/FindDependenciesArguments.d.ts +0 -5
- package/dist/commands/arguments/FindDependenciesArguments.js +0 -2
- package/dist/commands/arguments/ImportArguments.d.ts +0 -19
- package/dist/commands/arguments/ImportArguments.js +0 -2
- package/dist/commands/arguments/InfoArguments.d.ts +0 -1
- package/dist/commands/arguments/InfoArguments.js +0 -2
- package/dist/commands/arguments/InstallArguments.d.ts +0 -20
- package/dist/commands/arguments/InstallArguments.js +0 -2
- package/dist/commands/arguments/ListArguments.d.ts +0 -3
- package/dist/commands/arguments/ListArguments.js +0 -2
- package/dist/commands/arguments/LockArguments.d.ts +0 -4
- package/dist/commands/arguments/LockArguments.js +0 -2
- package/dist/commands/arguments/LoginArguments.d.ts +0 -4
- package/dist/commands/arguments/LoginArguments.js +0 -2
- package/dist/commands/arguments/LogoutArguments.d.ts +0 -1
- package/dist/commands/arguments/LogoutArguments.js +0 -2
- package/dist/commands/arguments/PackArguments.d.ts +0 -22
- package/dist/commands/arguments/PackArguments.js +0 -2
- package/dist/commands/arguments/PingArguments.d.ts +0 -1
- package/dist/commands/arguments/PingArguments.js +0 -2
- package/dist/commands/arguments/PublishArguments.d.ts +0 -24
- package/dist/commands/arguments/PublishArguments.js +0 -2
- package/dist/commands/arguments/RemoveRegistryArguments.d.ts +0 -4
- package/dist/commands/arguments/RemoveRegistryArguments.js +0 -2
- package/dist/commands/arguments/SettingsArgument.d.ts +0 -3
- package/dist/commands/arguments/SettingsArgument.js +0 -2
- package/dist/commands/arguments/UnpublishArguments.d.ts +0 -4
- package/dist/commands/arguments/UnpublishArguments.js +0 -2
- package/dist/commands/arguments/UpdateArguments.d.ts +0 -2
- package/dist/commands/arguments/UpdateArguments.js +0 -2
- package/dist/commands/arguments/ViewArguments.d.ts +0 -3
- package/dist/commands/arguments/ViewArguments.js +0 -2
- package/dist/commands/arguments/WhoAmIArguments.d.ts +0 -1
- package/dist/commands/arguments/WhoAmIArguments.js +0 -2
- package/dist/commands/arguments/index.d.ts +0 -24
- package/dist/commands/arguments/index.js +0 -40
- package/dist/commands/check.d.ts +0 -2
- package/dist/commands/check.js +0 -87
- package/dist/commands/commons/CommandContext.d.ts +0 -9
- package/dist/commands/commons/CommandContext.js +0 -41
- package/dist/commands/commons/index.d.ts +0 -2
- package/dist/commands/commons/viewRegistryPackage.d.ts +0 -2
- package/dist/commands/commons/viewRegistryPackage.js +0 -48
- package/dist/commands/compare.d.ts +0 -2
- package/dist/commands/compare.js +0 -167
- package/dist/commands/content.d.ts +0 -2
- package/dist/commands/content.js +0 -182
- package/dist/commands/createAlias.d.ts +0 -2
- package/dist/commands/deleteAlias.d.ts +0 -2
- package/dist/commands/findDependencies.d.ts +0 -2
- package/dist/commands/import.d.ts +0 -2
- package/dist/commands/import.js +0 -84
- package/dist/commands/index.d.ts +0 -27
- package/dist/commands/index.js +0 -43
- package/dist/commands/info.d.ts +0 -2
- package/dist/commands/info.js +0 -233
- package/dist/commands/install.d.ts +0 -2
- package/dist/commands/install.js +0 -85
- package/dist/commands/list.d.ts +0 -2
- package/dist/commands/list.js +0 -70
- package/dist/commands/lock.d.ts +0 -2
- package/dist/commands/lock.js +0 -64
- package/dist/commands/login.d.ts +0 -2
- package/dist/commands/login.js +0 -59
- package/dist/commands/logout.d.ts +0 -2
- package/dist/commands/logout.js +0 -27
- package/dist/commands/pack.d.ts +0 -2
- package/dist/commands/pack.js +0 -95
- package/dist/commands/ping.d.ts +0 -2
- package/dist/commands/ping.js +0 -21
- package/dist/commands/prompts/connect.d.ts +0 -3
- package/dist/commands/prompts/index.d.ts +0 -2
- package/dist/commands/publish.d.ts +0 -2
- package/dist/commands/publish.js +0 -128
- package/dist/commands/removeRegistry.d.ts +0 -2
- package/dist/commands/removeRegistry.js +0 -36
- package/dist/commands/selfUpdate.d.ts +0 -1
- package/dist/commands/selfUpdate.js +0 -77
- package/dist/commands/settings.d.ts +0 -2
- package/dist/commands/settings.js +0 -32
- package/dist/commands/unpublish.d.ts +0 -2
- package/dist/commands/unpublish.js +0 -61
- package/dist/commands/update.d.ts +0 -2
- package/dist/commands/update.js +0 -20
- package/dist/commands/view.d.ts +0 -2
- package/dist/commands/view.js +0 -219
- package/dist/commands/whoami.d.ts +0 -2
- package/dist/commands/whoami.js +0 -34
- package/dist/utils/checkTrmDependencies.d.ts +0 -1
- package/dist/utils/checkTrmDependencies.js +0 -43
- package/dist/utils/executeCommand.js +0 -213
- package/dist/utils/registerCommand.js +0 -93
- /package/dist/{commands/arguments/AddRegistryArguments.js → command/RegisterCommandOpts.js} +0 -0
- /package/dist/{commands → command}/prompts/pickRegistry.d.ts +0 -0
- /package/dist/{commands → command}/prompts/pickRegistry.js +0 -0
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2023 RegestaItalia
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 RegestaItalia
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
# <a href="https://docs.trmregistry.com/#/server/README"><img src="https://docs.trmregistry.com/_media/logo.png" height="40" alt="TRM"></a>
|
|
2
|
-
|
|
3
|
-
[](https://github.com/RegestaItalia/trm-docs/blob/main/CODE_OF_CONDUCT.md)
|
|
4
|
-
[](https://github.com/RegestaItalia/trm-client)
|
|
5
|
-
[](https://www.npmjs.com/package/trm-client)
|
|
6
|
-
[](https://www.npmjs.com/package/trm-client)
|
|
7
|
-
|
|
8
|
-
| 🚀 This project is funded and maintained by 🏦 | 🔗 |
|
|
9
|
-
|-------------------------------------------------|----------------------------------------------------------------|
|
|
10
|
-
| Regesta S.p.A. | [https://www.regestaitalia.eu/](https://www.regestaitalia.eu/) |
|
|
11
|
-
| Clarex S.r.l. | [https://www.clarex.it/](https://www.clarex.it/) |
|
|
12
|
-
|
|
13
|
-
This is the official CLI implementation of the core functionalities of TRM.
|
|
14
|
-
|
|
15
|
-
TRM is a software designed to make transports between SAP ECC/S4 systems easy.
|
|
16
|
-
|
|
17
|
-
To find out more about TRM, visit its full [documentation](https://docs.trmregistry.com).
|
|
18
|
-
|
|
19
|
-
# Documentation <!-- {docsify-remove} -->
|
|
20
|
-
|
|
21
|
-
Full documentation can be seen at [https://docs.trmregistry.com](https://docs.trmregistry.com).
|
|
22
|
-
|
|
23
|
-
<!-- START TABLE_OF_CONTENTS.md -->
|
|
24
|
-
- [Setup](/docs/setup.md)
|
|
25
|
-
- [Commands](/docs/commands.md)
|
|
26
|
-
- [Installing your first package](/docs/examples/install.md)
|
|
27
|
-
- [Publishing your first package](/docs/examples/publish.md)
|
|
28
|
-
- [Integrate with abapGit & Github Actions](/docs/examples/githubActions.md)
|
|
29
|
-
<!-- END TABLE_OF_CONTENTS.md -->
|
|
30
|
-
|
|
31
|
-
## Install <!-- {docsify-remove} -->
|
|
32
|
-
|
|
33
|
-
First, make sure you have all the [requirements installed](/docs/setup.md#trm-client-requirements).
|
|
34
|
-
|
|
35
|
-
You can then install the CLI via npm:
|
|
36
|
-
|
|
37
|
-
`npm install trm-client -g`
|
|
38
|
-
|
|
39
|
-
## Commands <!-- {docsify-remove} -->
|
|
40
|
-
|
|
41
|
-
List of all commands is available [here](/docs/commands.md).
|
|
42
|
-
|
|
43
|
-
### Demo publish <!-- {docsify-remove} -->
|
|
44
|
-
|
|
45
|
-
<p align="center">
|
|
46
|
-
<img src="https://docs.trmregistry.com/_media/publish.gif" />
|
|
47
|
-
</p>
|
|
48
|
-
|
|
49
|
-
### Demo install <!-- {docsify-remove} -->
|
|
50
|
-
|
|
51
|
-
<p align="center">
|
|
52
|
-
<img src="https://docs.trmregistry.com/_media/install.gif" />
|
|
53
|
-
</p>
|
|
54
|
-
|
|
55
|
-
# Contributing <!-- {docsify-remove} -->
|
|
56
|
-
|
|
57
|
-
Like every other TRM open-source projects, contributions are always welcomed ❤️.
|
|
58
|
-
|
|
59
|
-
Make sure to open an issue first.
|
|
60
|
-
|
|
61
|
-
Contributions will be merged upon approval.
|
|
62
|
-
|
|
63
|
-
[Click here](https://docs.trmregistry.com/#/CONTRIBUTING) for the full list of TRM contribution guidelines.
|
|
64
|
-
|
|
65
|
-
[<img src="https://trmregistry.com/public/contributors?image=true">](https://docs.trmregistry.com/#/?id=contributors)
|
|
1
|
+
# <a href="https://docs.trmregistry.com/#/server/README"><img src="https://docs.trmregistry.com/_media/logo.png" height="40" alt="TRM"></a>
|
|
2
|
+
|
|
3
|
+
[](https://github.com/RegestaItalia/trm-docs/blob/main/CODE_OF_CONDUCT.md)
|
|
4
|
+
[](https://github.com/RegestaItalia/trm-client)
|
|
5
|
+
[](https://www.npmjs.com/package/trm-client)
|
|
6
|
+
[](https://www.npmjs.com/package/trm-client)
|
|
7
|
+
|
|
8
|
+
| 🚀 This project is funded and maintained by 🏦 | 🔗 |
|
|
9
|
+
|-------------------------------------------------|----------------------------------------------------------------|
|
|
10
|
+
| Regesta S.p.A. | [https://www.regestaitalia.eu/](https://www.regestaitalia.eu/) |
|
|
11
|
+
| Clarex S.r.l. | [https://www.clarex.it/](https://www.clarex.it/) |
|
|
12
|
+
|
|
13
|
+
This is the official CLI implementation of the core functionalities of TRM.
|
|
14
|
+
|
|
15
|
+
TRM is a software designed to make transports between SAP ECC/S4 systems easy.
|
|
16
|
+
|
|
17
|
+
To find out more about TRM, visit its full [documentation](https://docs.trmregistry.com).
|
|
18
|
+
|
|
19
|
+
# Documentation <!-- {docsify-remove} -->
|
|
20
|
+
|
|
21
|
+
Full documentation can be seen at [https://docs.trmregistry.com](https://docs.trmregistry.com).
|
|
22
|
+
|
|
23
|
+
<!-- START TABLE_OF_CONTENTS.md -->
|
|
24
|
+
- [Setup](/docs/setup.md)
|
|
25
|
+
- [Commands](/docs/commands.md)
|
|
26
|
+
- [Installing your first package](/docs/examples/install.md)
|
|
27
|
+
- [Publishing your first package](/docs/examples/publish.md)
|
|
28
|
+
- [Integrate with abapGit & Github Actions](/docs/examples/githubActions.md)
|
|
29
|
+
<!-- END TABLE_OF_CONTENTS.md -->
|
|
30
|
+
|
|
31
|
+
## Install <!-- {docsify-remove} -->
|
|
32
|
+
|
|
33
|
+
First, make sure you have all the [requirements installed](/docs/setup.md#trm-client-requirements).
|
|
34
|
+
|
|
35
|
+
You can then install the CLI via npm:
|
|
36
|
+
|
|
37
|
+
`npm install trm-client -g`
|
|
38
|
+
|
|
39
|
+
## Commands <!-- {docsify-remove} -->
|
|
40
|
+
|
|
41
|
+
List of all commands is available [here](/docs/commands.md).
|
|
42
|
+
|
|
43
|
+
### Demo publish <!-- {docsify-remove} -->
|
|
44
|
+
|
|
45
|
+
<p align="center">
|
|
46
|
+
<img src="https://docs.trmregistry.com/_media/publish.gif" />
|
|
47
|
+
</p>
|
|
48
|
+
|
|
49
|
+
### Demo install <!-- {docsify-remove} -->
|
|
50
|
+
|
|
51
|
+
<p align="center">
|
|
52
|
+
<img src="https://docs.trmregistry.com/_media/install.gif" />
|
|
53
|
+
</p>
|
|
54
|
+
|
|
55
|
+
# Contributing <!-- {docsify-remove} -->
|
|
56
|
+
|
|
57
|
+
Like every other TRM open-source projects, contributions are always welcomed ❤️.
|
|
58
|
+
|
|
59
|
+
Make sure to open an issue first.
|
|
60
|
+
|
|
61
|
+
Contributions will be merged upon approval.
|
|
62
|
+
|
|
63
|
+
[Click here](https://docs.trmregistry.com/#/CONTRIBUTING) for the full list of TRM contribution guidelines.
|
|
64
|
+
|
|
65
|
+
[<img src="https://trmregistry.com/public/contributors?image=true">](https://docs.trmregistry.com/#/?id=contributors)
|
package/changelog.txt
CHANGED
|
@@ -1,166 +1,180 @@
|
|
|
1
|
-
trm-client changelog
|
|
2
|
-
=================
|
|
3
|
-
|
|
4
|
-
Legend
|
|
5
|
-
------
|
|
6
|
-
* : fixed
|
|
7
|
-
! : changed
|
|
8
|
-
+ : added
|
|
9
|
-
- : removed
|
|
10
|
-
|
|
11
|
-
2025-
|
|
12
|
-
-------------------
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
2025-10-
|
|
30
|
-
-------------------
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
2025-
|
|
44
|
-
-------------------
|
|
45
|
-
|
|
46
|
-
*
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
+
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
+
|
|
79
|
-
+
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
!
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
! error
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
2025-
|
|
140
|
-
-------------------
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
! trm-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
-
|
|
165
|
-
|
|
1
|
+
trm-client changelog
|
|
2
|
+
=================
|
|
3
|
+
|
|
4
|
+
Legend
|
|
5
|
+
------
|
|
6
|
+
* : fixed
|
|
7
|
+
! : changed
|
|
8
|
+
+ : added
|
|
9
|
+
- : removed
|
|
10
|
+
|
|
11
|
+
2025-11-07 v7.0.0
|
|
12
|
+
-------------------
|
|
13
|
+
! trm-core ^8.1.3
|
|
14
|
+
! command handler
|
|
15
|
+
! commands arguments
|
|
16
|
+
+ deprecate command
|
|
17
|
+
! createAlias/deleteAlias -> alias create/alias delete
|
|
18
|
+
! addRegistry/removeRegistry -> registry add/registry rm
|
|
19
|
+
|
|
20
|
+
2025-11-04 v6.2.0
|
|
21
|
+
-------------------
|
|
22
|
+
! trm-core ^8.1.1
|
|
23
|
+
+ dist-tag commands
|
|
24
|
+
|
|
25
|
+
2025-10-29 v6.1.1
|
|
26
|
+
-------------------
|
|
27
|
+
* fallback to this._data for backward compatibility
|
|
28
|
+
|
|
29
|
+
2025-10-26 v6.1.0
|
|
30
|
+
-------------------
|
|
31
|
+
+ lock command
|
|
32
|
+
|
|
33
|
+
2025-10-21 v6.0.1
|
|
34
|
+
-------------------
|
|
35
|
+
* dotenv output
|
|
36
|
+
|
|
37
|
+
2025-10-21 v6.0.0
|
|
38
|
+
-------------------
|
|
39
|
+
! migrate to registry v2
|
|
40
|
+
! trm-registry-types ^2.0.0
|
|
41
|
+
! trm-core ^8.0.1
|
|
42
|
+
|
|
43
|
+
2025-10-15 v5.2.1
|
|
44
|
+
-------------------
|
|
45
|
+
* system alias connection data
|
|
46
|
+
* typo in update message
|
|
47
|
+
|
|
48
|
+
2025-10-01 v5.2.0
|
|
49
|
+
-------------------
|
|
50
|
+
|
|
51
|
+
! trm-core ^7.5.5
|
|
52
|
+
! trm-commons ^3.4.2
|
|
53
|
+
* connection data problems
|
|
54
|
+
+ cache time consuming data
|
|
55
|
+
+ on after login update alias on changes
|
|
56
|
+
|
|
57
|
+
2025-09-25 v5.1.1
|
|
58
|
+
-------------------
|
|
59
|
+
|
|
60
|
+
* create alias command
|
|
61
|
+
* keep original abap packages name selection
|
|
62
|
+
|
|
63
|
+
2025-09-24 v5.1.0
|
|
64
|
+
-------------------
|
|
65
|
+
|
|
66
|
+
* alias command view/edit
|
|
67
|
+
! npm global path in settings
|
|
68
|
+
! sap landscape in settings
|
|
69
|
+
* sap landscape for mac
|
|
70
|
+
+ add plugins in info command
|
|
71
|
+
! trm-commons ^3.3.2
|
|
72
|
+
! trm-core ^7.5.3
|
|
73
|
+
|
|
74
|
+
2025-09-09 v5.0.2
|
|
75
|
+
-------------------
|
|
76
|
+
|
|
77
|
+
* fix no connection
|
|
78
|
+
+ fallback text for node-rfc and node-r3trans not found in info command
|
|
79
|
+
+ update command now self updates the client if ran without arguments
|
|
80
|
+
|
|
81
|
+
2025-09-03 v5.0.1
|
|
82
|
+
-------------------
|
|
83
|
+
|
|
84
|
+
+ plugin loadCommons
|
|
85
|
+
|
|
86
|
+
2025-09-03 v5.0.0
|
|
87
|
+
-------------------
|
|
88
|
+
|
|
89
|
+
! trm-core ^7.5.1
|
|
90
|
+
! trm-commons ^3.2.0
|
|
91
|
+
! moved settings to context
|
|
92
|
+
+ plugin calls
|
|
93
|
+
+ gracefully close connection
|
|
94
|
+
! moved connection prompts to commons
|
|
95
|
+
|
|
96
|
+
2025-08-13 v4.10.0
|
|
97
|
+
-------------------
|
|
98
|
+
|
|
99
|
+
! trm-core ^7.4.5
|
|
100
|
+
+ support for darwin os
|
|
101
|
+
+ support for r3trans dockerized
|
|
102
|
+
|
|
103
|
+
2025-07-30 v4.9.2
|
|
104
|
+
-------------------
|
|
105
|
+
|
|
106
|
+
! trm-commons ^2.0.0 as peer dependency and dependency
|
|
107
|
+
|
|
108
|
+
2025-07-29 v4.9.1
|
|
109
|
+
-------------------
|
|
110
|
+
|
|
111
|
+
! trm-core ^7.4.1
|
|
112
|
+
! trm-commons ^2.0.0
|
|
113
|
+
|
|
114
|
+
2025-07-29 v4.9.0
|
|
115
|
+
-------------------
|
|
116
|
+
|
|
117
|
+
+ handle registry unauthorized error
|
|
118
|
+
! trm-core ^7.4.0
|
|
119
|
+
! trm-commons ^1.1.0
|
|
120
|
+
|
|
121
|
+
2025-06-04 v4.8.0
|
|
122
|
+
-------------------
|
|
123
|
+
|
|
124
|
+
! trm-core ^7.2.1
|
|
125
|
+
! overwrite flag in install/update ignores existing objects replace
|
|
126
|
+
|
|
127
|
+
2025-06-03 v4.7.0
|
|
128
|
+
-------------------
|
|
129
|
+
|
|
130
|
+
! trm-core ^7.0.0
|
|
131
|
+
|
|
132
|
+
2025-05-29 v4.6.1
|
|
133
|
+
-------------------
|
|
134
|
+
|
|
135
|
+
! logging error changes
|
|
136
|
+
! trm-core ^6.9.0
|
|
137
|
+
+ landscape transport to list and view command
|
|
138
|
+
|
|
139
|
+
2025-05-08 v4.6.0
|
|
140
|
+
-------------------
|
|
141
|
+
|
|
142
|
+
! trm-core ^6.8.0
|
|
143
|
+
* saprouter in alias
|
|
144
|
+
|
|
145
|
+
2025-05-08 v4.5.0
|
|
146
|
+
-------------------
|
|
147
|
+
|
|
148
|
+
! trm-core ^6.7.0
|
|
149
|
+
! error handling
|
|
150
|
+
* alias command/saprouter alias save
|
|
151
|
+
* fix connection validators
|
|
152
|
+
|
|
153
|
+
2025-04-28 v4.4.1
|
|
154
|
+
-------------------
|
|
155
|
+
|
|
156
|
+
* node-r3trans version read
|
|
157
|
+
|
|
158
|
+
2025-04-28 v4.4.0
|
|
159
|
+
-------------------
|
|
160
|
+
|
|
161
|
+
! trm-core ^6.5.0
|
|
162
|
+
! trm-commons ^1.0.0
|
|
163
|
+
|
|
164
|
+
2025-04-28 v4.3.0
|
|
165
|
+
-------------------
|
|
166
|
+
|
|
167
|
+
! trm-core ^6.4.1
|
|
168
|
+
|
|
169
|
+
2025-04-23 v4.2.1
|
|
170
|
+
-------------------
|
|
171
|
+
|
|
172
|
+
* node-r3trans version read
|
|
173
|
+
|
|
174
|
+
2025-02-26 v4.2.0
|
|
175
|
+
-------------------
|
|
176
|
+
|
|
177
|
+
! connect to registry via option
|
|
178
|
+
- trm dependencies on client
|
|
179
|
+
+ content command
|
|
166
180
|
+ pack/import command
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Command } from "commander";
|
|
2
|
+
import { RegisterCommandOpts } from "./RegisterCommandOpts";
|
|
3
|
+
import { CliVersionStatus } from "../utils";
|
|
4
|
+
import * as Core from "trm-core";
|
|
5
|
+
import { Package } from "trm-registry-types";
|
|
6
|
+
export declare abstract class AbstractCommand {
|
|
7
|
+
protected readonly name: string;
|
|
8
|
+
protected readonly aliases?: string[];
|
|
9
|
+
protected command: Command;
|
|
10
|
+
protected registerOpts: RegisterCommandOpts;
|
|
11
|
+
protected args: any;
|
|
12
|
+
private cliVersionStatus;
|
|
13
|
+
private registry;
|
|
14
|
+
private registryAuthData;
|
|
15
|
+
private registryAuthFailed;
|
|
16
|
+
private systemPackages;
|
|
17
|
+
private trmDependenciesCheck;
|
|
18
|
+
constructor(program: Command, name: string, aliases?: string[]);
|
|
19
|
+
getCliVersionStatus(): Promise<CliVersionStatus>;
|
|
20
|
+
getRegistry(): Core.AbstractRegistry;
|
|
21
|
+
hasRegistryAuthData(): boolean;
|
|
22
|
+
getRegistryAuthError(): Error;
|
|
23
|
+
registryWhoAmI(): Promise<void>;
|
|
24
|
+
viewRegistryPackage(packageName: string, print?: boolean): Promise<Package>;
|
|
25
|
+
getSystemPackages(): Promise<Core.TrmPackage[]>;
|
|
26
|
+
getTrmDependenciesCheck(): Promise<Core.CheckTrmDependencies>;
|
|
27
|
+
protected abstract init(): void;
|
|
28
|
+
protected abstract handler(): Promise<void>;
|
|
29
|
+
register(): void;
|
|
30
|
+
private getLogger;
|
|
31
|
+
private getInquirer;
|
|
32
|
+
private parseCommandArgs;
|
|
33
|
+
protected onArgs(): void;
|
|
34
|
+
protected onTrmDepMissing(dependency: string): boolean;
|
|
35
|
+
protected onTrmDepVersionNotSatisfied(trmPackage: Core.TrmPackage): boolean;
|
|
36
|
+
private checkTrmDependencies;
|
|
37
|
+
parseTextArg(name: string): string;
|
|
38
|
+
parseJsonArg(name: string): any;
|
|
39
|
+
parseArrayArg(name: string): string[];
|
|
40
|
+
parseNumberArg(name: string): number;
|
|
41
|
+
private execute;
|
|
42
|
+
}
|