@adinsure-ops/ops-cli 4.8.3 → 5.0.0-rc4

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 (89) hide show
  1. package/CHANGELOGS.md +52 -36
  2. package/LICENSE +1 -1
  3. package/README.md +32 -242
  4. package/bin/dev.cmd +3 -0
  5. package/bin/dev.js +6 -0
  6. package/bin/run.cmd +1 -1
  7. package/bin/run.js +8 -0
  8. package/lib/command.base.d.ts +9 -5
  9. package/lib/command.base.jira.d.ts +7 -8
  10. package/lib/command.base.jira.js +26 -24
  11. package/lib/command.base.js +69 -57
  12. package/lib/commands/docker/update-image-version.d.ts +6 -9
  13. package/lib/commands/docker/update-image-version.js +35 -34
  14. package/lib/commands/doctor.d.ts +15 -5
  15. package/lib/commands/doctor.js +219 -186
  16. package/lib/commands/download/client.d.ts +10 -7
  17. package/lib/commands/download/client.js +60 -52
  18. package/lib/commands/download/identity-server.d.ts +9 -7
  19. package/lib/commands/download/identity-server.js +59 -53
  20. package/lib/commands/download/jmeter.d.ts +5 -5
  21. package/lib/commands/download/jmeter.js +54 -49
  22. package/lib/commands/download/keycloak-scim.d.ts +6 -6
  23. package/lib/commands/download/keycloak-scim.js +56 -51
  24. package/lib/commands/download/platform.d.ts +9 -7
  25. package/lib/commands/download/platform.js +59 -53
  26. package/lib/commands/download/scheduler.d.ts +9 -7
  27. package/lib/commands/download/scheduler.js +59 -53
  28. package/lib/commands/download/server.d.ts +9 -7
  29. package/lib/commands/download/server.js +59 -53
  30. package/lib/commands/download/signalr.d.ts +9 -7
  31. package/lib/commands/download/signalr.js +59 -53
  32. package/lib/commands/download/studio.d.ts +12 -9
  33. package/lib/commands/download/studio.js +107 -82
  34. package/lib/commands/gitlab/get-tag-pipeline.d.ts +11 -14
  35. package/lib/commands/gitlab/get-tag-pipeline.js +95 -92
  36. package/lib/commands/gitlab/next-nightly-tag.d.ts +10 -12
  37. package/lib/commands/gitlab/next-nightly-tag.js +96 -98
  38. package/lib/commands/jira/issue.d.ts +6 -8
  39. package/lib/commands/jira/issue.js +25 -23
  40. package/lib/commands/jira/labels.d.ts +9 -12
  41. package/lib/commands/jira/labels.js +52 -51
  42. package/lib/commands/log/add.d.ts +6 -8
  43. package/lib/commands/log/add.js +92 -87
  44. package/lib/commands/log/generate.d.ts +9 -10
  45. package/lib/commands/log/generate.js +112 -107
  46. package/lib/commands/log/validate.d.ts +2 -2
  47. package/lib/commands/log/validate.js +47 -43
  48. package/lib/commands/login.d.ts +9 -10
  49. package/lib/commands/login.js +101 -97
  50. package/lib/commands/npm/check-publish.d.ts +7 -8
  51. package/lib/commands/npm/check-publish.js +59 -54
  52. package/lib/commands/npm/dependency-update.d.ts +14 -12
  53. package/lib/commands/npm/dependency-update.js +94 -86
  54. package/lib/commands/npm/publish.d.ts +8 -9
  55. package/lib/commands/npm/publish.js +154 -140
  56. package/lib/commands/nuget/dependency-update.d.ts +15 -10
  57. package/lib/commands/nuget/dependency-update.js +60 -49
  58. package/lib/commands/sql.d.ts +24 -20
  59. package/lib/commands/sql.js +245 -226
  60. package/lib/commands/translate.d.ts +15 -16
  61. package/lib/commands/translate.js +109 -104
  62. package/lib/commands/version.d.ts +29 -19
  63. package/lib/commands/version.js +215 -190
  64. package/lib/config.js +3 -6
  65. package/lib/hooks/init/version-override.d.ts +2 -2
  66. package/lib/hooks/init/version-override.js +15 -13
  67. package/lib/index.d.ts +1 -1
  68. package/lib/index.js +1 -4
  69. package/lib/lib/command.d.ts +2 -0
  70. package/lib/lib/command.js +65 -58
  71. package/lib/lib/gitlab.d.ts +8 -2
  72. package/lib/lib/gitlab.js +94 -82
  73. package/lib/lib/npm.d.ts +7 -3
  74. package/lib/lib/npm.js +72 -60
  75. package/lib/lib/npmrc.d.ts +5 -0
  76. package/lib/lib/npmrc.js +20 -13
  77. package/lib/lib/nuget.d.ts +2 -0
  78. package/lib/lib/nuget.js +20 -17
  79. package/lib/security/cache.js +31 -27
  80. package/lib/security/context.d.ts +2 -1
  81. package/lib/security/context.js +106 -103
  82. package/lib/types/changelog.types.js +1 -2
  83. package/lib/types/npm.types.d.ts +5 -5
  84. package/lib/types/npm.types.js +1 -2
  85. package/oclif.manifest.json +1223 -1
  86. package/package.json +50 -46
  87. package/bin/run +0 -5
  88. package/lib/commands/prepare-content.d.ts +0 -29
  89. package/lib/commands/prepare-content.js +0 -386
@@ -1 +1,1223 @@
1
- {"version":"4.8.3","commands":{"doctor":{"id":"doctor","description":"check if everything is installed","usage":"doctor","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":[],"examples":["$ ops doctor"],"flags":{"fix":{"name":"fix","type":"boolean","char":"p","description":"try to install missing packages","allowNo":false}},"args":[]},"login":{"id":"login","description":"log in to use ops services","usage":"login","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":[],"examples":["$ ops login","$ ops login --npm","$ ops login --skipCi CI","$ ops login --deviceFlow"],"flags":{"servicePrincipal":{"name":"servicePrincipal","type":"boolean","description":"authenticate using service principal credentials","allowNo":false},"deviceFlow":{"name":"deviceFlow","type":"boolean","description":"authenticate using device flow","allowNo":false},"clientId":{"name":"clientId","type":"option","char":"c","description":"[DEPRECATED] (application) client id"},"secret":{"name":"secret","type":"option","char":"s","description":"[DEPRECATED] client secret"},"npm":{"name":"npm","type":"boolean","description":"register also for npm","allowNo":false},"skipCI":{"name":"skipCI","type":"option","description":"Skip login if environment variables is set"},"force":{"name":"force","type":"boolean","description":"Force a change of login token","allowNo":false}},"args":[]},"prepare-content":{"id":"prepare-content","description":"copies files as described in .opsprepare which is at root of source directory","usage":"prepare-content -d <destination> [-s <source>]","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":[],"examples":["$ ops prepare-content -d .\\my_workspace","$ ops prepare-content -d .\\my_workspace -s .\\my_repository","$ ops prepare-content -d C:\\git\\my_workspace","$ ops prepare-content -d C:\\git\\my_workspace -s C:\\git\\my_repository\\my_repository"],"flags":{"destination":{"name":"destination","type":"option","char":"d","description":"where to copy the workspace files","required":true},"source":{"name":"source","type":"option","char":"s","description":"[optional] source directory, default: current dir","required":false,"default":"."}},"args":[]},"sql":{"id":"sql","description":"creates a new database script","usage":"sql <type> <module> [flags]","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":[],"examples":["$ ops sql schema ","$ ops sql data shared --layer basic","$ ops sql data shared --major","$ ops sql data shared --offline --description \"this is script description\""],"flags":{"version":{"name":"version","type":"option","char":"v","description":"version for which you're generating database script"},"layer":{"name":"layer","type":"option","char":"l","description":"name of the configuration layer for which you are generating database script"},"offline":{"name":"offline","type":"boolean","char":"o","description":"generate database script with timestamp","allowNo":false},"description":{"name":"description","type":"option","char":"d","description":"description of script to be used in filename for offline"},"major":{"name":"major","type":"boolean","char":"m","description":"generate script for major version","allowNo":false},"table-schema":{"name":"table-schema","type":"option","description":"name of the existing table schema"},"table-name":{"name":"table-name","type":"option","description":"name of the existing table"},"column-name":{"name":"column-name","type":"option","description":"name the new column to be added"},"column-type":{"name":"column-type","type":"option","description":"type of the new column to be added"}},"args":[{"name":"type","description":"Type of database scripts","options":["Schema","Data","Migration","Extend"]},{"name":"module","description":"Module of data database scripts","options":["acc","claims","core","pas","reins","shared"]}]},"translate":{"id":"translate","description":"downloads translate from AdDictionary service","usage":"translate <language> [flags]","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":[],"examples":["$ ops translate \"en-US=en-US;ru-Ru=ru-RU\" -f json -m \"Client business accounting;Client business base;\"","$ ops translate \"en-US=en-US;ru-Ru=ru-RU\" -f xml -o translationDestination"],"flags":{"format":{"name":"format","type":"option","char":"f","description":"translations format [xml - server translations, json - client translations]","required":true,"options":["json","xml"]},"module":{"name":"module","type":"option","char":"m","description":"module name you want to download. Values must be semi-colon (;) separated."},"output":{"name":"output","type":"option","char":"o","description":"absolute or relative destination path to a folder where translations are extracted.","default":"."},"filename":{"name":"filename","type":"option","description":"specify filename of output (XML only)."},"respectServerFilename":{"name":"respectServerFilename","type":"boolean","description":"respect filename that is returned from AdDictionary server (XML only).","allowNo":false}},"args":[{"name":"language","description":"language id you want to download. Values must be semi-colon (;) separated.","required":true}]},"version":{"id":"version","description":"release new version","usage":"version <type> [flags]","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":[],"examples":["$ ops version patch","$ ops version prerelease -i","$ ops version new -v 3.4.3"],"flags":{"independent":{"name":"independent","type":"boolean","char":"i","description":"increment npm packages independent of VERSION file","allowNo":false},"version":{"name":"version","type":"option","char":"v","description":"force version"},"script-prefix":{"name":"script-prefix","type":"option","description":"prefix for db script version creation. (default: 7.10)","default":"7.10"},"no-deps":{"name":"no-deps","type":"boolean","description":"skip dependency update","allowNo":false},"no-script":{"name":"no-script","type":"boolean","description":"skip creation of script","allowNo":false},"only-npm-packages":{"name":"only-npm-packages","type":"option","description":"regular expression for which NPM packages to include","default":".*"},"exclude-dir":{"name":"exclude-dir","type":"option","description":"exclude directories where to search for package.json"}},"args":[{"name":"type","description":"Type of release","required":true,"options":["patch","minor","major","prerelease","preminor","premajor","new"]}]},"docker:update-image-version":{"id":"docker:update-image-version","description":"update docker image version docker compose file","usage":"docker:update-image-version <tag>","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":[],"examples":["$ ops docker:update-image-version 17.0.0 --service server client"],"flags":{"services":{"name":"services","type":"option","description":"list of services to update","required":true},"file-path":{"name":"file-path","type":"option","description":"list of services to update","default":"./docker-compose.yml"}},"args":[{"name":"version","description":"version","required":true}]},"download:client":{"id":"download:client","description":"download AdInsure Client zip from Azure storage","usage":"download:client <flags>","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":[],"examples":["$ ops download:client -v 3.2.0 -o ~/Downloads"],"flags":{"version":{"name":"version","type":"option","char":"v","description":"version we want to download","required":true},"output":{"name":"output","type":"option","char":"o","description":"output directory","default":"./"}},"args":[]},"download:identity-server":{"id":"download:identity-server","description":"download AdInsure Identity Server zip from Azure storage","usage":"download:identity-server <flags>","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":[],"examples":["$ ops download:identity-server -v 3.0.3 -o ~/Downloads"],"flags":{"version":{"name":"version","type":"option","char":"v","description":"version we want to download","required":true},"output":{"name":"output","type":"option","char":"o","description":"output directory","default":"./"}},"args":[]},"download:jmeter":{"id":"download:jmeter","description":"download jmeter examples from Azure storage","usage":"download:jmeter-examples <flags>","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":[],"examples":["$ ops download:jmeter-examples -o ~/Downloads"],"flags":{"output":{"name":"output","type":"option","char":"o","description":"output directory","default":"./"}},"args":[]},"download:keycloak-scim":{"id":"download:keycloak-scim","description":"download Keycloak-scim from Azure storage","usage":"download:keycloak-scim <flags>","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":[],"examples":["$ ops download:keycloak-scim -v 3.2.0 -o ~/Downloads"],"flags":{"version":{"name":"version","type":"option","char":"v","description":"version we want to download","required":true},"output":{"name":"output","type":"option","char":"o","description":"output directory","default":"./"}},"args":[]},"download:platform":{"id":"download:platform","description":"download AdInsure Platform bundle containing zip of Client, Server and IdentityServer from azure storage","usage":"download <flags>","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":["download"],"examples":["$ ops download -v 6.0.0 -o ~/Downloads"],"flags":{"version":{"name":"version","type":"option","char":"v","description":"version we want to download","required":true},"output":{"name":"output","type":"option","char":"o","description":"output directory","default":"./"}},"args":[]},"download:scheduler":{"id":"download:scheduler","description":"download AdInsure Scheduler zip from azure storage","usage":"download:scheduler <flags>","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":[],"examples":["$ ops download:scheduler -v 3.2.0 -o ~/Downloads"],"flags":{"version":{"name":"version","type":"option","char":"v","description":"version we want to download","required":true},"output":{"name":"output","type":"option","char":"o","description":"output directory","default":"./"}},"args":[]},"download:server":{"id":"download:server","description":"download AdInsure Server zip from Azure storage","usage":"download:server <flags>","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":[],"examples":["$ ops download:server -v 3.2.0 -o ~/Downloads"],"flags":{"version":{"name":"version","type":"option","char":"v","description":"version we want to download","required":true},"output":{"name":"output","type":"option","char":"o","description":"output directory","default":"./"}},"args":[]},"download:signalr":{"id":"download:signalr","description":"download AdInsure SignalR Server zip from Azure storage","usage":"download:signalr <flags>","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":[],"examples":["$ ops download:signalr -v 18.0.0 -o ~/Downloads"],"flags":{"version":{"name":"version","type":"option","char":"v","description":"version we want to download","required":true},"output":{"name":"output","type":"option","char":"o","description":"output directory","default":"./"}},"args":[]},"download:studio":{"id":"download:studio","description":"download AdInsure Studio vsix from azure storage","usage":"download:studio <flags>","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":[],"examples":["$ ops download:studio -v 15.0.0 -o ~/Downloads","$ ops download:studio -v 15.0.0 -i","$ ops download:studio -v 15.0.0 -i -s"],"flags":{"version":{"name":"version","type":"option","char":"v","description":"version we want to download","required":true},"output":{"name":"output","type":"option","char":"o","description":"output directory","default":"./"},"install":{"name":"install","type":"boolean","char":"i","description":"install plugin to vscode. save to temp folder and remove vsix after.","allowNo":false},"skip":{"name":"skip","type":"boolean","char":"s","description":"only with install. If passed, and desired version is installed it will skip it.","allowNo":false}},"args":[]},"gitlab:get-tag-pipeline":{"id":"gitlab:get-tag-pipeline","description":"get pipeline status for tag","usage":"gitlab:get-tag-pipeline <tag>","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":[],"examples":["$ ops gitlab:get-tag-pipeline 17.0.0"],"flags":{"pat":{"name":"pat","type":"option","description":"Token from user that has permissions to list and create tags","required":true},"host":{"name":"host","type":"option","description":"Server hostname","required":true,"default":"https://git.adacta-fintech.com"},"project":{"name":"project","type":"option","description":"Project ID","required":true,"default":"413"},"wait":{"name":"wait","type":"boolean","description":"Wait for pipeline to finish","allowNo":false},"timeout":{"name":"timeout","type":"option","description":"Timeout for wait command in seconds (defaults to 120 seconds)","default":"120"},"delay":{"name":"delay","type":"option","description":"Delay of check in seconds (defaults to 5 seconds)","default":"5"}},"args":[{"name":"tag","description":"Tag","required":true}]},"gitlab:next-nightly-tag":{"id":"gitlab:next-nightly-tag","description":"creates new gitlab tag","usage":"gitlab:next-nightly-tag <version>","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":[],"examples":["$ ops gitlab:next-nightly-tag 17.0.0"],"flags":{"pat":{"name":"pat","type":"option","description":"Token from user that has permissions to list and create tags","required":true},"host":{"name":"host","type":"option","description":"Server hostname","required":true,"default":"https://git.adacta-fintech.com"},"project":{"name":"project","type":"option","description":"Project ID","required":true,"default":"413"},"reference":{"name":"reference","type":"option","description":"Reference to create tag on (branch, commit, tag)","required":true},"outputVersionOnly":{"name":"outputVersionOnly","type":"boolean","description":"output only version instead of pretty output","allowNo":false},"dryRun":{"name":"dryRun","type":"boolean","description":"Only printout version and don't create it","allowNo":false}},"args":[{"name":"version","description":"Tag version"}]},"jira:issue":{"id":"jira:issue","description":"get Jira issue","usage":"jira:issue <issue>","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":[],"examples":["$ ops jira:issue LJADIRD-1337"],"flags":{"username":{"name":"username","type":"option","description":"jira username","required":true},"password":{"name":"password","type":"option","description":"jira password","required":true},"hostname":{"name":"hostname","type":"option","description":"jira hostname","default":"https://jira.adacta-fintech.com"}},"args":[{"name":"issue","description":"Jira issue number","required":true}]},"jira:labels":{"id":"jira:labels","description":"list or edit labels on Jira issue","usage":"jira:labels <issue> -a [label] -r [label]","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":[],"examples":["$ ops jira:labels LJADIRD-1337"],"flags":{"username":{"name":"username","type":"option","description":"jira username","required":true},"password":{"name":"password","type":"option","description":"jira password","required":true},"hostname":{"name":"hostname","type":"option","description":"jira hostname","default":"https://jira.adacta-fintech.com"},"add":{"name":"add","type":"option","char":"a","description":"add label"},"remove":{"name":"remove","type":"option","char":"r","description":"remove label"}},"args":[{"name":"issue","description":"Jira issue number","required":true}]},"log:add":{"id":"log:add","description":"creates a new changelog entry","usage":"log <issue> -t [type] -c [options]","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":["log","log:add"],"examples":["$ ops log LJADIRD-1234 -t feature","$ ops log LJADIRD-5678 -t fixed","$ ops log LJADIRD-8765 -t breaking -c Platform","$ ops log LJADIRD-4321 -t improve -c Configuration"],"flags":{"type":{"name":"type","type":"option","char":"t","description":"type of changelog","options":["feature","fixed","improve","breaking"]},"component":{"name":"component","type":"option","char":"c","description":"Component for which new changelog should be generated","default":""}},"args":[{"name":"issue","description":"Jira issue number"}]},"log:generate":{"id":"log:generate","description":"generates final changelog from unreleased notes","usage":"log:gen [options]","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":["log:gen"],"examples":["$ ops log:gen","$ ops log:gen -p","$ ops log:gen -c Platform","$ ops log:gen -c Platform,Configuration","$ ops log:gen -c Implementation -f CHANGELOG.Implementation.md"],"flags":{"components":{"name":"components","type":"option","char":"c","description":"components separated by comma (,) to process for final changelog","default":""},"file":{"name":"file","type":"option","char":"f","description":"file to update with new changelogs","default":"CHANGELOG.md"},"force":{"name":"force","type":"boolean","description":"update target file without prompting for confirmation","allowNo":false},"preview":{"name":"preview","type":"boolean","char":"p","description":"generates a preview markdown of current unreleased changelogs","allowNo":false},"version":{"name":"version","type":"option","char":"v","description":"version for which you're generating changelogs"},"ignore-no-changelogs":{"name":"ignore-no-changelogs","type":"boolean","description":"generate final changelog even if no unreleased changelogs exist","allowNo":false}},"args":[]},"log:validate":{"id":"log:validate","description":"validates formatting of all unreleased changelogs","usage":"log:validate [options]","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":["log:validate"],"examples":["$ ops log:validate"],"flags":{},"args":[]},"npm:check-publish":{"id":"npm:check-publish","description":"check if npm packages were published","usage":"npm:check-publish [options]","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":[],"examples":["$ ops npm:check-publish -v 6.0.1","$ ops npm:check-publish -p @adinsure/* -v 6.0.0","$ ops npm:check-publish -p @adinsure/* -x @adisure/demo -v 6.0.0"],"flags":{"package":{"name":"package","type":"option","char":"p","description":"package name filter you want to check"},"exclude":{"name":"exclude","type":"option","char":"x","description":"exclude packages from filter"},"version":{"name":"version","type":"option","char":"v","description":"version we want to check if published","required":true},"pat":{"name":"pat","type":"option","description":"PAT token or AZURE_DEVOPS_EXT_PAT environment variable"}},"args":[]},"npm:dependency-update":{"id":"npm:dependency-update","description":"update npm dependencies per package filter","usage":"npm:dependency-update <type> [flags]","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":[],"examples":["$ ops npm:dependency-update 3.4.3 --filter @adinsure/*"],"flags":{"filter":{"name":"filter","type":"option","description":"regular expression for which NPM packages to update","required":true},"exclude":{"name":"exclude","type":"option","description":"exclude directories where to search for package.json"},"force":{"name":"force","type":"boolean","description":"force update of version regardless of lower vs higher version check","allowNo":false}},"args":[{"name":"version","description":"Type of release","required":true}]},"npm:publish":{"id":"npm:publish","description":"Publish npm packages","usage":"npm:publish [options]","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":[],"examples":["$ ops npm:publish -v 15.0.0","$ ops npm:publish -v 15.0.0","$ ops npm:publish -p @adinsure-tooling/* -v 15.0.0","$ ops npm:publish -p @adinsure-tooling/* -x @adisure-tooling/studio-services -v 6.0.0"],"flags":{"package":{"name":"package","type":"option","char":"p","description":"package name filter you want to check"},"exclude":{"name":"exclude","type":"option","char":"x","description":"exclude packages from filter"},"version":{"name":"version","type":"option","char":"v","description":"version we want to check if published","required":true},"pat":{"name":"pat","type":"option","description":"PAT token or AZURE_DEVOPS_EXT_PAT environment variable"},"retry":{"name":"retry","type":"option","description":"Number of npm publishing retries in case of 4xx or 5xx http errors","default":3}},"args":[]},"nuget:dependency-update":{"id":"nuget:dependency-update","description":"update nuget dependencies per package filter","usage":"nuget:dependency-update <type> [flags]","pluginName":"@adinsure-ops/ops-cli","pluginType":"core","aliases":[],"examples":["$ ops nuget:dependency-update 3.4.3 --filter Adacta.AdInsure --exclude Scheduler"],"flags":{"filter":{"name":"filter","type":"option","description":"regular expression for which NuGet packages to update","required":true},"exclude":{"name":"exclude","type":"option","description":"exclude directories where to search for csproj files"}},"args":[{"name":"version","description":"Type of release","required":true}]}}}
1
+ {
2
+ "version": "5.0.0-rc4",
3
+ "commands": {
4
+ "doctor": {
5
+ "id": "doctor",
6
+ "description": "check if everything is installed",
7
+ "strict": true,
8
+ "usage": "doctor",
9
+ "pluginName": "@adinsure-ops/ops-cli",
10
+ "pluginAlias": "@adinsure-ops/ops-cli",
11
+ "pluginType": "core",
12
+ "aliases": [],
13
+ "examples": [
14
+ "$ ops doctor"
15
+ ],
16
+ "flags": {
17
+ "fix": {
18
+ "name": "fix",
19
+ "type": "boolean",
20
+ "char": "p",
21
+ "description": "try to install missing packages",
22
+ "allowNo": false
23
+ }
24
+ },
25
+ "args": {}
26
+ },
27
+ "login": {
28
+ "id": "login",
29
+ "description": "log in to use ops services",
30
+ "strict": true,
31
+ "usage": "login",
32
+ "pluginName": "@adinsure-ops/ops-cli",
33
+ "pluginAlias": "@adinsure-ops/ops-cli",
34
+ "pluginType": "core",
35
+ "aliases": [],
36
+ "examples": [
37
+ "$ ops login",
38
+ "$ ops login --npm",
39
+ "$ ops login --skipCi CI",
40
+ "$ ops login --deviceFlow"
41
+ ],
42
+ "flags": {
43
+ "servicePrincipal": {
44
+ "name": "servicePrincipal",
45
+ "type": "boolean",
46
+ "description": "authenticate using service principal credentials",
47
+ "allowNo": false
48
+ },
49
+ "deviceFlow": {
50
+ "name": "deviceFlow",
51
+ "type": "boolean",
52
+ "description": "authenticate using device flow",
53
+ "allowNo": false
54
+ },
55
+ "clientId": {
56
+ "name": "clientId",
57
+ "type": "option",
58
+ "char": "c",
59
+ "description": "[DEPRECATED] (application) client id",
60
+ "multiple": false
61
+ },
62
+ "secret": {
63
+ "name": "secret",
64
+ "type": "option",
65
+ "char": "s",
66
+ "description": "[DEPRECATED] client secret",
67
+ "multiple": false
68
+ },
69
+ "npm": {
70
+ "name": "npm",
71
+ "type": "boolean",
72
+ "description": "register also for npm",
73
+ "allowNo": false
74
+ },
75
+ "skipCI": {
76
+ "name": "skipCI",
77
+ "type": "option",
78
+ "description": "Skip login if environment variables is set",
79
+ "multiple": false
80
+ },
81
+ "force": {
82
+ "name": "force",
83
+ "type": "boolean",
84
+ "description": "Force a change of login token",
85
+ "allowNo": false
86
+ }
87
+ },
88
+ "args": {},
89
+ "responsePageContent": "\n<!DOCTYPE html>\n<html>\n <head>\n <title>ops-cli authenticate</title>\n <link rel='icon' href='data:;base64,iVBORw0KGgo='>\n </head>\n <body>\n <p><strong>Your login was successful!</strong></p>\n <p>This page will automatically close after 10 seconds OR you can close it yourself immediately.</p>\n <script type='text/javascript'>\n setTimeout('self.close()', 10000);\n </script>\n </body>\n</html>"
90
+ },
91
+ "sql": {
92
+ "id": "sql",
93
+ "description": "creates a new database script",
94
+ "strict": true,
95
+ "usage": "sql <type> <module> [flags]",
96
+ "pluginName": "@adinsure-ops/ops-cli",
97
+ "pluginAlias": "@adinsure-ops/ops-cli",
98
+ "pluginType": "core",
99
+ "aliases": [],
100
+ "examples": [
101
+ "$ ops sql schema ",
102
+ "$ ops sql data shared --layer basic",
103
+ "$ ops sql data shared --major",
104
+ "$ ops sql data shared --offline --description \"this is script description\""
105
+ ],
106
+ "flags": {
107
+ "version": {
108
+ "name": "version",
109
+ "type": "option",
110
+ "char": "v",
111
+ "description": "version for which you're generating database script",
112
+ "multiple": false
113
+ },
114
+ "layer": {
115
+ "name": "layer",
116
+ "type": "option",
117
+ "char": "l",
118
+ "description": "name of the configuration layer for which you are generating database script",
119
+ "multiple": false
120
+ },
121
+ "offline": {
122
+ "name": "offline",
123
+ "type": "boolean",
124
+ "char": "o",
125
+ "description": "generate database script with timestamp",
126
+ "allowNo": false
127
+ },
128
+ "description": {
129
+ "name": "description",
130
+ "type": "option",
131
+ "char": "d",
132
+ "description": "description of script to be used in filename for offline",
133
+ "multiple": false,
134
+ "dependsOn": [
135
+ "offline"
136
+ ]
137
+ },
138
+ "major": {
139
+ "name": "major",
140
+ "type": "boolean",
141
+ "char": "m",
142
+ "description": "generate script for major version",
143
+ "allowNo": false
144
+ },
145
+ "table-schema": {
146
+ "name": "table-schema",
147
+ "type": "option",
148
+ "description": "name of the existing table schema",
149
+ "multiple": false
150
+ },
151
+ "table-name": {
152
+ "name": "table-name",
153
+ "type": "option",
154
+ "description": "name of the existing table",
155
+ "multiple": false
156
+ },
157
+ "column-name": {
158
+ "name": "column-name",
159
+ "type": "option",
160
+ "description": "name the new column to be added",
161
+ "multiple": false
162
+ },
163
+ "column-type": {
164
+ "name": "column-type",
165
+ "type": "option",
166
+ "description": "type of the new column to be added",
167
+ "multiple": false
168
+ }
169
+ },
170
+ "args": {
171
+ "type": {
172
+ "name": "type",
173
+ "description": "Type of database scripts",
174
+ "required": true,
175
+ "options": [
176
+ "Schema",
177
+ "Data",
178
+ "Migration",
179
+ "Extend"
180
+ ]
181
+ },
182
+ "module": {
183
+ "name": "module",
184
+ "description": "Module of data database scripts",
185
+ "options": [
186
+ "acc",
187
+ "claims",
188
+ "core",
189
+ "pas",
190
+ "reins",
191
+ "shared"
192
+ ]
193
+ }
194
+ }
195
+ },
196
+ "translate": {
197
+ "id": "translate",
198
+ "description": "downloads translate from AdDictionary service",
199
+ "strict": true,
200
+ "usage": "translate <language> [flags]",
201
+ "pluginName": "@adinsure-ops/ops-cli",
202
+ "pluginAlias": "@adinsure-ops/ops-cli",
203
+ "pluginType": "core",
204
+ "aliases": [],
205
+ "examples": [
206
+ "$ ops translate \"en-US=en-US;ru-Ru=ru-RU\" -f json -m \"Client business accounting;Client business base;\"",
207
+ "$ ops translate \"en-US=en-US;ru-Ru=ru-RU\" -f xml -o translationDestination"
208
+ ],
209
+ "flags": {
210
+ "format": {
211
+ "name": "format",
212
+ "type": "option",
213
+ "char": "f",
214
+ "description": "translations format [xml - server translations, json - client translations]",
215
+ "required": true,
216
+ "multiple": false,
217
+ "options": [
218
+ "json",
219
+ "xml"
220
+ ]
221
+ },
222
+ "module": {
223
+ "name": "module",
224
+ "type": "option",
225
+ "char": "m",
226
+ "description": "module name you want to download. Values must be semi-colon (;) separated.",
227
+ "multiple": false
228
+ },
229
+ "output": {
230
+ "name": "output",
231
+ "type": "option",
232
+ "char": "o",
233
+ "description": "absolute or relative destination path to a folder where translations are extracted.",
234
+ "multiple": false,
235
+ "default": "."
236
+ },
237
+ "filename": {
238
+ "name": "filename",
239
+ "type": "option",
240
+ "description": "specify filename of output (XML only).",
241
+ "multiple": false
242
+ },
243
+ "respectServerFilename": {
244
+ "name": "respectServerFilename",
245
+ "type": "boolean",
246
+ "description": "respect filename that is returned from AdDictionary server (XML only).",
247
+ "allowNo": false
248
+ }
249
+ },
250
+ "args": {
251
+ "language": {
252
+ "name": "language",
253
+ "description": "Language id you want to download. Values must be semi-colon (;) separated.",
254
+ "required": true
255
+ }
256
+ }
257
+ },
258
+ "version": {
259
+ "id": "version",
260
+ "description": "release new version",
261
+ "strict": true,
262
+ "usage": "version <type> [flags]",
263
+ "pluginName": "@adinsure-ops/ops-cli",
264
+ "pluginAlias": "@adinsure-ops/ops-cli",
265
+ "pluginType": "core",
266
+ "aliases": [],
267
+ "examples": [
268
+ "$ ops version patch",
269
+ "$ ops version prerelease -i",
270
+ "$ ops version new -v 3.4.3"
271
+ ],
272
+ "flags": {
273
+ "independent": {
274
+ "name": "independent",
275
+ "type": "boolean",
276
+ "char": "i",
277
+ "description": "increment npm packages independent of VERSION file",
278
+ "allowNo": false
279
+ },
280
+ "version": {
281
+ "name": "version",
282
+ "type": "option",
283
+ "char": "v",
284
+ "description": "force version",
285
+ "multiple": false
286
+ },
287
+ "script-prefix": {
288
+ "name": "script-prefix",
289
+ "type": "option",
290
+ "description": "prefix for db script version creation. (default: 7.10)",
291
+ "multiple": false,
292
+ "default": "7.10"
293
+ },
294
+ "no-deps": {
295
+ "name": "no-deps",
296
+ "type": "boolean",
297
+ "description": "skip dependency update",
298
+ "allowNo": false
299
+ },
300
+ "no-script": {
301
+ "name": "no-script",
302
+ "type": "boolean",
303
+ "description": "skip creation of script",
304
+ "allowNo": false
305
+ },
306
+ "only-npm-packages": {
307
+ "name": "only-npm-packages",
308
+ "type": "option",
309
+ "description": "regular expression for which NPM packages to include",
310
+ "multiple": false,
311
+ "default": ".*"
312
+ },
313
+ "exclude-dir": {
314
+ "name": "exclude-dir",
315
+ "type": "option",
316
+ "description": "exclude directories where to search for package.json",
317
+ "multiple": true
318
+ }
319
+ },
320
+ "args": {
321
+ "type": {
322
+ "name": "type",
323
+ "description": "Type of release",
324
+ "required": true,
325
+ "options": [
326
+ "patch",
327
+ "minor",
328
+ "major",
329
+ "prerelease",
330
+ "preminor",
331
+ "premajor",
332
+ "new"
333
+ ]
334
+ }
335
+ }
336
+ },
337
+ "docker:update-image-version": {
338
+ "id": "docker:update-image-version",
339
+ "description": "update docker image version docker compose file",
340
+ "strict": true,
341
+ "usage": "docker:update-image-version <tag>",
342
+ "pluginName": "@adinsure-ops/ops-cli",
343
+ "pluginAlias": "@adinsure-ops/ops-cli",
344
+ "pluginType": "core",
345
+ "aliases": [],
346
+ "examples": [
347
+ "$ ops docker:update-image-version 17.0.0 --service server client"
348
+ ],
349
+ "flags": {
350
+ "services": {
351
+ "name": "services",
352
+ "type": "option",
353
+ "description": "list of services to update",
354
+ "required": true,
355
+ "multiple": true
356
+ },
357
+ "file-path": {
358
+ "name": "file-path",
359
+ "type": "option",
360
+ "description": "list of services to update",
361
+ "multiple": false,
362
+ "default": "./docker-compose.yml"
363
+ }
364
+ },
365
+ "args": {
366
+ "version": {
367
+ "name": "version",
368
+ "description": "Version",
369
+ "required": true
370
+ }
371
+ }
372
+ },
373
+ "download:client": {
374
+ "id": "download:client",
375
+ "description": "download AdInsure Client zip from Azure storage",
376
+ "strict": true,
377
+ "usage": "download:client <flags>",
378
+ "pluginName": "@adinsure-ops/ops-cli",
379
+ "pluginAlias": "@adinsure-ops/ops-cli",
380
+ "pluginType": "core",
381
+ "aliases": [
382
+ "download:client"
383
+ ],
384
+ "examples": [
385
+ "$ ops download:client -v 3.2.0 -o ~/Downloads"
386
+ ],
387
+ "flags": {
388
+ "version": {
389
+ "name": "version",
390
+ "type": "option",
391
+ "char": "v",
392
+ "description": "version we want to download",
393
+ "required": true,
394
+ "multiple": false
395
+ },
396
+ "output": {
397
+ "name": "output",
398
+ "type": "option",
399
+ "char": "o",
400
+ "description": "output directory",
401
+ "multiple": false,
402
+ "default": "./"
403
+ }
404
+ },
405
+ "args": {}
406
+ },
407
+ "download:identity-server": {
408
+ "id": "download:identity-server",
409
+ "description": "download AdInsure Identity Server zip from Azure storage",
410
+ "strict": true,
411
+ "usage": "download:identity-server <flags>",
412
+ "pluginName": "@adinsure-ops/ops-cli",
413
+ "pluginAlias": "@adinsure-ops/ops-cli",
414
+ "pluginType": "core",
415
+ "aliases": [],
416
+ "examples": [
417
+ "$ ops download:identity-server -v 3.0.3 -o ~/Downloads"
418
+ ],
419
+ "flags": {
420
+ "version": {
421
+ "name": "version",
422
+ "type": "option",
423
+ "char": "v",
424
+ "description": "version we want to download",
425
+ "required": true,
426
+ "multiple": false
427
+ },
428
+ "output": {
429
+ "name": "output",
430
+ "type": "option",
431
+ "char": "o",
432
+ "description": "output directory",
433
+ "multiple": false,
434
+ "default": "./"
435
+ }
436
+ },
437
+ "args": {}
438
+ },
439
+ "download:jmeter": {
440
+ "id": "download:jmeter",
441
+ "description": "download jmeter examples from Azure storage",
442
+ "strict": true,
443
+ "usage": "download:jmeter-examples <flags>",
444
+ "pluginName": "@adinsure-ops/ops-cli",
445
+ "pluginAlias": "@adinsure-ops/ops-cli",
446
+ "pluginType": "core",
447
+ "aliases": [],
448
+ "examples": [
449
+ "$ ops download:jmeter-examples -o ~/Downloads"
450
+ ],
451
+ "flags": {
452
+ "output": {
453
+ "name": "output",
454
+ "type": "option",
455
+ "char": "o",
456
+ "description": "output directory",
457
+ "multiple": false,
458
+ "default": "./"
459
+ }
460
+ },
461
+ "args": {}
462
+ },
463
+ "download:keycloak-scim": {
464
+ "id": "download:keycloak-scim",
465
+ "description": "download Keycloak-scim from Azure storage",
466
+ "strict": true,
467
+ "usage": "download:keycloak-scim <flags>",
468
+ "pluginName": "@adinsure-ops/ops-cli",
469
+ "pluginAlias": "@adinsure-ops/ops-cli",
470
+ "pluginType": "core",
471
+ "aliases": [],
472
+ "examples": [
473
+ "$ ops download:keycloak-scim -v 3.2.0 -o ~/Downloads"
474
+ ],
475
+ "flags": {
476
+ "version": {
477
+ "name": "version",
478
+ "type": "option",
479
+ "char": "v",
480
+ "description": "version we want to download",
481
+ "required": true,
482
+ "multiple": false
483
+ },
484
+ "output": {
485
+ "name": "output",
486
+ "type": "option",
487
+ "char": "o",
488
+ "description": "output directory",
489
+ "multiple": false,
490
+ "default": "./"
491
+ }
492
+ },
493
+ "args": {}
494
+ },
495
+ "download:platform": {
496
+ "id": "download:platform",
497
+ "description": "download AdInsure Platform bundle containing zip of Client, Server and IdentityServer from azure storage",
498
+ "strict": true,
499
+ "usage": "download <flags>",
500
+ "pluginName": "@adinsure-ops/ops-cli",
501
+ "pluginAlias": "@adinsure-ops/ops-cli",
502
+ "pluginType": "core",
503
+ "aliases": [
504
+ "download"
505
+ ],
506
+ "examples": [
507
+ "$ ops download -v 6.0.0 -o ~/Downloads"
508
+ ],
509
+ "flags": {
510
+ "version": {
511
+ "name": "version",
512
+ "type": "option",
513
+ "char": "v",
514
+ "description": "version we want to download",
515
+ "required": true,
516
+ "multiple": false
517
+ },
518
+ "output": {
519
+ "name": "output",
520
+ "type": "option",
521
+ "char": "o",
522
+ "description": "output directory",
523
+ "multiple": false,
524
+ "default": "./"
525
+ }
526
+ },
527
+ "args": {}
528
+ },
529
+ "download:scheduler": {
530
+ "id": "download:scheduler",
531
+ "description": "download AdInsure Scheduler zip from azure storage",
532
+ "strict": true,
533
+ "usage": "download:scheduler <flags>",
534
+ "pluginName": "@adinsure-ops/ops-cli",
535
+ "pluginAlias": "@adinsure-ops/ops-cli",
536
+ "pluginType": "core",
537
+ "aliases": [],
538
+ "examples": [
539
+ "$ ops download:scheduler -v 3.2.0 -o ~/Downloads"
540
+ ],
541
+ "flags": {
542
+ "version": {
543
+ "name": "version",
544
+ "type": "option",
545
+ "char": "v",
546
+ "description": "version we want to download",
547
+ "required": true,
548
+ "multiple": false
549
+ },
550
+ "output": {
551
+ "name": "output",
552
+ "type": "option",
553
+ "char": "o",
554
+ "description": "output directory",
555
+ "multiple": false,
556
+ "default": "./"
557
+ }
558
+ },
559
+ "args": {}
560
+ },
561
+ "download:server": {
562
+ "id": "download:server",
563
+ "description": "download AdInsure Server zip from Azure storage",
564
+ "strict": true,
565
+ "usage": "download:server <flags>",
566
+ "pluginName": "@adinsure-ops/ops-cli",
567
+ "pluginAlias": "@adinsure-ops/ops-cli",
568
+ "pluginType": "core",
569
+ "aliases": [],
570
+ "examples": [
571
+ "$ ops download:server -v 3.2.0 -o ~/Downloads"
572
+ ],
573
+ "flags": {
574
+ "version": {
575
+ "name": "version",
576
+ "type": "option",
577
+ "char": "v",
578
+ "description": "version we want to download",
579
+ "required": true,
580
+ "multiple": false
581
+ },
582
+ "output": {
583
+ "name": "output",
584
+ "type": "option",
585
+ "char": "o",
586
+ "description": "output directory",
587
+ "multiple": false,
588
+ "default": "./"
589
+ }
590
+ },
591
+ "args": {}
592
+ },
593
+ "download:signalr": {
594
+ "id": "download:signalr",
595
+ "description": "download AdInsure SignalR Server zip from Azure storage",
596
+ "strict": true,
597
+ "usage": "download:signalr <flags>",
598
+ "pluginName": "@adinsure-ops/ops-cli",
599
+ "pluginAlias": "@adinsure-ops/ops-cli",
600
+ "pluginType": "core",
601
+ "aliases": [],
602
+ "examples": [
603
+ "$ ops download:signalr -v 18.0.0 -o ~/Downloads"
604
+ ],
605
+ "flags": {
606
+ "version": {
607
+ "name": "version",
608
+ "type": "option",
609
+ "char": "v",
610
+ "description": "version we want to download",
611
+ "required": true,
612
+ "multiple": false
613
+ },
614
+ "output": {
615
+ "name": "output",
616
+ "type": "option",
617
+ "char": "o",
618
+ "description": "output directory",
619
+ "multiple": false,
620
+ "default": "./"
621
+ }
622
+ },
623
+ "args": {}
624
+ },
625
+ "download:studio": {
626
+ "id": "download:studio",
627
+ "description": "download AdInsure Studio vsix from azure storage",
628
+ "strict": true,
629
+ "usage": "download:studio <flags>",
630
+ "pluginName": "@adinsure-ops/ops-cli",
631
+ "pluginAlias": "@adinsure-ops/ops-cli",
632
+ "pluginType": "core",
633
+ "aliases": [],
634
+ "examples": [
635
+ "$ ops download:studio -v 15.0.0 -o ~/Downloads",
636
+ "$ ops download:studio -v 15.0.0 -i",
637
+ "$ ops download:studio -v 15.0.0 -i -s",
638
+ "$ ops download:studio -v 15.0.0 -i -k"
639
+ ],
640
+ "flags": {
641
+ "version": {
642
+ "name": "version",
643
+ "type": "option",
644
+ "char": "v",
645
+ "description": "version we want to download",
646
+ "required": true,
647
+ "multiple": false
648
+ },
649
+ "output": {
650
+ "name": "output",
651
+ "type": "option",
652
+ "char": "o",
653
+ "description": "output directory",
654
+ "multiple": false,
655
+ "default": "./"
656
+ },
657
+ "install": {
658
+ "name": "install",
659
+ "type": "boolean",
660
+ "char": "i",
661
+ "description": "install plugin to vscode. save to temp folder and remove vsix after.",
662
+ "allowNo": false
663
+ },
664
+ "skip": {
665
+ "name": "skip",
666
+ "type": "boolean",
667
+ "char": "s",
668
+ "description": "only with install. If passed, and desired version is installed it will skip it.",
669
+ "allowNo": false,
670
+ "dependsOn": [
671
+ "install"
672
+ ]
673
+ },
674
+ "keep": {
675
+ "name": "keep",
676
+ "type": "boolean",
677
+ "char": "k",
678
+ "description": "only with install. If passed, it will not remove the vsix file.",
679
+ "allowNo": false,
680
+ "dependsOn": [
681
+ "install"
682
+ ]
683
+ }
684
+ },
685
+ "args": {}
686
+ },
687
+ "gitlab:get-tag-pipeline": {
688
+ "id": "gitlab:get-tag-pipeline",
689
+ "description": "get pipeline status for tag",
690
+ "strict": true,
691
+ "usage": "gitlab:get-tag-pipeline <tag>",
692
+ "pluginName": "@adinsure-ops/ops-cli",
693
+ "pluginAlias": "@adinsure-ops/ops-cli",
694
+ "pluginType": "core",
695
+ "aliases": [],
696
+ "examples": [
697
+ "$ ops gitlab:get-tag-pipeline 17.0.0"
698
+ ],
699
+ "flags": {
700
+ "pat": {
701
+ "name": "pat",
702
+ "type": "option",
703
+ "description": "Token from user that has permissions to list and create tags",
704
+ "required": true,
705
+ "multiple": false
706
+ },
707
+ "host": {
708
+ "name": "host",
709
+ "type": "option",
710
+ "description": "Server hostname",
711
+ "required": true,
712
+ "multiple": false,
713
+ "default": "https://git.adacta-fintech.com"
714
+ },
715
+ "project": {
716
+ "name": "project",
717
+ "type": "option",
718
+ "description": "Project ID",
719
+ "required": true,
720
+ "multiple": false,
721
+ "default": "413"
722
+ },
723
+ "wait": {
724
+ "name": "wait",
725
+ "type": "boolean",
726
+ "description": "Wait for pipeline to finish",
727
+ "allowNo": false
728
+ },
729
+ "timeout": {
730
+ "name": "timeout",
731
+ "type": "option",
732
+ "description": "Timeout for wait command in seconds (defaults to 120 seconds)",
733
+ "multiple": false,
734
+ "default": "120"
735
+ },
736
+ "delay": {
737
+ "name": "delay",
738
+ "type": "option",
739
+ "description": "Delay of check in seconds (defaults to 5 seconds)",
740
+ "multiple": false,
741
+ "default": "5"
742
+ }
743
+ },
744
+ "args": {
745
+ "tag": {
746
+ "name": "tag",
747
+ "description": "Tag",
748
+ "required": true
749
+ }
750
+ }
751
+ },
752
+ "gitlab:next-nightly-tag": {
753
+ "id": "gitlab:next-nightly-tag",
754
+ "description": "creates new gitlab tag",
755
+ "strict": true,
756
+ "usage": "gitlab:next-nightly-tag <version>",
757
+ "pluginName": "@adinsure-ops/ops-cli",
758
+ "pluginAlias": "@adinsure-ops/ops-cli",
759
+ "pluginType": "core",
760
+ "aliases": [],
761
+ "examples": [
762
+ "$ ops gitlab:next-nightly-tag 17.0.0"
763
+ ],
764
+ "flags": {
765
+ "pat": {
766
+ "name": "pat",
767
+ "type": "option",
768
+ "description": "Token from user that has permissions to list and create tags",
769
+ "required": true,
770
+ "multiple": false
771
+ },
772
+ "host": {
773
+ "name": "host",
774
+ "type": "option",
775
+ "description": "Server hostname",
776
+ "required": true,
777
+ "multiple": false,
778
+ "default": "https://git.adacta-fintech.com"
779
+ },
780
+ "project": {
781
+ "name": "project",
782
+ "type": "option",
783
+ "description": "Project ID",
784
+ "required": true,
785
+ "multiple": false,
786
+ "default": "413"
787
+ },
788
+ "reference": {
789
+ "name": "reference",
790
+ "type": "option",
791
+ "description": "Reference to create tag on (branch, commit, tag)",
792
+ "required": true,
793
+ "multiple": false
794
+ },
795
+ "outputVersionOnly": {
796
+ "name": "outputVersionOnly",
797
+ "type": "boolean",
798
+ "description": "output only version instead of pretty output",
799
+ "allowNo": false
800
+ },
801
+ "dryRun": {
802
+ "name": "dryRun",
803
+ "type": "boolean",
804
+ "description": "Only printout version and don't create it",
805
+ "allowNo": false
806
+ }
807
+ },
808
+ "args": {
809
+ "version": {
810
+ "name": "version",
811
+ "description": "Tag version",
812
+ "required": true
813
+ }
814
+ }
815
+ },
816
+ "jira:issue": {
817
+ "id": "jira:issue",
818
+ "description": "get Jira issue",
819
+ "strict": true,
820
+ "usage": "jira:issue <issue>",
821
+ "pluginName": "@adinsure-ops/ops-cli",
822
+ "pluginAlias": "@adinsure-ops/ops-cli",
823
+ "pluginType": "core",
824
+ "aliases": [],
825
+ "examples": [
826
+ "$ ops jira:issue LJADIRD-1337"
827
+ ],
828
+ "flags": {
829
+ "username": {
830
+ "name": "username",
831
+ "type": "option",
832
+ "description": "jira username",
833
+ "required": true,
834
+ "multiple": false
835
+ },
836
+ "password": {
837
+ "name": "password",
838
+ "type": "option",
839
+ "description": "jira password",
840
+ "required": true,
841
+ "multiple": false
842
+ },
843
+ "hostname": {
844
+ "name": "hostname",
845
+ "type": "option",
846
+ "description": "jira hostname",
847
+ "multiple": false,
848
+ "default": "https://jira.adacta-fintech.com"
849
+ }
850
+ },
851
+ "args": {
852
+ "issue": {
853
+ "name": "issue",
854
+ "description": "Jira issue number",
855
+ "required": true
856
+ }
857
+ }
858
+ },
859
+ "jira:labels": {
860
+ "id": "jira:labels",
861
+ "description": "list or edit labels on Jira issue",
862
+ "strict": true,
863
+ "usage": "jira:labels <issue> -a [label] -r [label]",
864
+ "pluginName": "@adinsure-ops/ops-cli",
865
+ "pluginAlias": "@adinsure-ops/ops-cli",
866
+ "pluginType": "core",
867
+ "aliases": [],
868
+ "examples": [
869
+ "$ ops jira:labels LJADIRD-1337"
870
+ ],
871
+ "flags": {
872
+ "username": {
873
+ "name": "username",
874
+ "type": "option",
875
+ "description": "jira username",
876
+ "required": true,
877
+ "multiple": false
878
+ },
879
+ "password": {
880
+ "name": "password",
881
+ "type": "option",
882
+ "description": "jira password",
883
+ "required": true,
884
+ "multiple": false
885
+ },
886
+ "hostname": {
887
+ "name": "hostname",
888
+ "type": "option",
889
+ "description": "jira hostname",
890
+ "multiple": false,
891
+ "default": "https://jira.adacta-fintech.com"
892
+ },
893
+ "add": {
894
+ "name": "add",
895
+ "type": "option",
896
+ "char": "a",
897
+ "description": "add label",
898
+ "multiple": true
899
+ },
900
+ "remove": {
901
+ "name": "remove",
902
+ "type": "option",
903
+ "char": "r",
904
+ "description": "remove label",
905
+ "multiple": true
906
+ }
907
+ },
908
+ "args": {
909
+ "issue": {
910
+ "name": "issue",
911
+ "description": "Jira issue number",
912
+ "required": true
913
+ }
914
+ }
915
+ },
916
+ "log:add": {
917
+ "id": "log:add",
918
+ "description": "creates a new changelog entry",
919
+ "strict": true,
920
+ "usage": "log <issue> -t [type] -c [options]",
921
+ "pluginName": "@adinsure-ops/ops-cli",
922
+ "pluginAlias": "@adinsure-ops/ops-cli",
923
+ "pluginType": "core",
924
+ "aliases": [
925
+ "log",
926
+ "log:add"
927
+ ],
928
+ "examples": [
929
+ "$ ops log LJADIRD-1234 -t feature",
930
+ "$ ops log LJADIRD-5678 -t fixed",
931
+ "$ ops log LJADIRD-8765 -t breaking -c Platform",
932
+ "$ ops log LJADIRD-4321 -t improve -c Configuration"
933
+ ],
934
+ "flags": {
935
+ "type": {
936
+ "name": "type",
937
+ "type": "option",
938
+ "char": "t",
939
+ "description": "type of changelog",
940
+ "multiple": false,
941
+ "options": [
942
+ "feature",
943
+ "fixed",
944
+ "improve",
945
+ "breaking"
946
+ ]
947
+ },
948
+ "component": {
949
+ "name": "component",
950
+ "type": "option",
951
+ "char": "c",
952
+ "description": "Component for which new changelog should be generated",
953
+ "multiple": false,
954
+ "default": ""
955
+ }
956
+ },
957
+ "args": {
958
+ "issue": {
959
+ "name": "issue",
960
+ "description": "Jira issue number",
961
+ "required": true
962
+ }
963
+ }
964
+ },
965
+ "log:generate": {
966
+ "id": "log:generate",
967
+ "description": "generates final changelog from unreleased notes",
968
+ "strict": true,
969
+ "usage": "log:gen [options]",
970
+ "pluginName": "@adinsure-ops/ops-cli",
971
+ "pluginAlias": "@adinsure-ops/ops-cli",
972
+ "pluginType": "core",
973
+ "aliases": [
974
+ "log:gen"
975
+ ],
976
+ "examples": [
977
+ "$ ops log:gen",
978
+ "$ ops log:gen -p",
979
+ "$ ops log:gen -c Platform",
980
+ "$ ops log:gen -c Platform,Configuration",
981
+ "$ ops log:gen -c Implementation -f CHANGELOG.Implementation.md"
982
+ ],
983
+ "flags": {
984
+ "components": {
985
+ "name": "components",
986
+ "type": "option",
987
+ "char": "c",
988
+ "description": "components separated by comma (,) to process for final changelog",
989
+ "multiple": false,
990
+ "default": ""
991
+ },
992
+ "file": {
993
+ "name": "file",
994
+ "type": "option",
995
+ "char": "f",
996
+ "description": "file to update with new changelogs",
997
+ "multiple": false,
998
+ "default": "CHANGELOG.md"
999
+ },
1000
+ "force": {
1001
+ "name": "force",
1002
+ "type": "boolean",
1003
+ "description": "update target file without prompting for confirmation",
1004
+ "allowNo": false
1005
+ },
1006
+ "preview": {
1007
+ "name": "preview",
1008
+ "type": "boolean",
1009
+ "char": "p",
1010
+ "description": "generates a preview markdown of current unreleased changelogs",
1011
+ "allowNo": false
1012
+ },
1013
+ "version": {
1014
+ "name": "version",
1015
+ "type": "option",
1016
+ "char": "v",
1017
+ "description": "version for which you're generating changelogs",
1018
+ "multiple": false
1019
+ },
1020
+ "ignore-no-changelogs": {
1021
+ "name": "ignore-no-changelogs",
1022
+ "type": "boolean",
1023
+ "description": "generate final changelog even if no unreleased changelogs exist",
1024
+ "allowNo": false
1025
+ }
1026
+ },
1027
+ "args": {}
1028
+ },
1029
+ "log:validate": {
1030
+ "id": "log:validate",
1031
+ "description": "validates formatting of all unreleased changelogs",
1032
+ "strict": true,
1033
+ "usage": "log:validate [options]",
1034
+ "pluginName": "@adinsure-ops/ops-cli",
1035
+ "pluginAlias": "@adinsure-ops/ops-cli",
1036
+ "pluginType": "core",
1037
+ "aliases": [
1038
+ "log:validate"
1039
+ ],
1040
+ "examples": [
1041
+ "$ ops log:validate"
1042
+ ],
1043
+ "flags": {},
1044
+ "args": {}
1045
+ },
1046
+ "npm:check-publish": {
1047
+ "id": "npm:check-publish",
1048
+ "description": "check if npm packages were published",
1049
+ "strict": true,
1050
+ "usage": "npm:check-publish [options]",
1051
+ "pluginName": "@adinsure-ops/ops-cli",
1052
+ "pluginAlias": "@adinsure-ops/ops-cli",
1053
+ "pluginType": "core",
1054
+ "aliases": [],
1055
+ "examples": [
1056
+ "$ ops npm:check-publish -v 6.0.1",
1057
+ "$ ops npm:check-publish -p @adinsure/* -v 6.0.0",
1058
+ "$ ops npm:check-publish -p @adinsure/* -x @adisure/demo -v 6.0.0"
1059
+ ],
1060
+ "flags": {
1061
+ "package": {
1062
+ "name": "package",
1063
+ "type": "option",
1064
+ "char": "p",
1065
+ "description": "package name filter you want to check",
1066
+ "multiple": true
1067
+ },
1068
+ "exclude": {
1069
+ "name": "exclude",
1070
+ "type": "option",
1071
+ "char": "x",
1072
+ "description": "exclude packages from filter",
1073
+ "multiple": true
1074
+ },
1075
+ "version": {
1076
+ "name": "version",
1077
+ "type": "option",
1078
+ "char": "v",
1079
+ "description": "version we want to check if published",
1080
+ "required": true,
1081
+ "multiple": false
1082
+ },
1083
+ "pat": {
1084
+ "name": "pat",
1085
+ "type": "option",
1086
+ "description": "PAT token or AZURE_DEVOPS_EXT_PAT environment variable",
1087
+ "multiple": false
1088
+ }
1089
+ },
1090
+ "args": {}
1091
+ },
1092
+ "npm:dependency-update": {
1093
+ "id": "npm:dependency-update",
1094
+ "description": "update npm dependencies per package filter",
1095
+ "strict": true,
1096
+ "usage": "npm:dependency-update <type> [flags]",
1097
+ "pluginName": "@adinsure-ops/ops-cli",
1098
+ "pluginAlias": "@adinsure-ops/ops-cli",
1099
+ "pluginType": "core",
1100
+ "aliases": [],
1101
+ "examples": [
1102
+ "$ ops npm:dependency-update 3.4.3 --filter @adinsure/*"
1103
+ ],
1104
+ "flags": {
1105
+ "filter": {
1106
+ "name": "filter",
1107
+ "type": "option",
1108
+ "description": "regular expression for which NPM packages to update",
1109
+ "required": true,
1110
+ "multiple": true
1111
+ },
1112
+ "exclude": {
1113
+ "name": "exclude",
1114
+ "type": "option",
1115
+ "description": "exclude directories where to search for package.json",
1116
+ "multiple": true
1117
+ },
1118
+ "force": {
1119
+ "name": "force",
1120
+ "type": "boolean",
1121
+ "description": "force update of version regardless of lower vs higher version check",
1122
+ "allowNo": false
1123
+ }
1124
+ },
1125
+ "args": {
1126
+ "version": {
1127
+ "name": "version",
1128
+ "description": "Type of release",
1129
+ "required": true
1130
+ }
1131
+ }
1132
+ },
1133
+ "npm:publish": {
1134
+ "id": "npm:publish",
1135
+ "description": "Publish npm packages",
1136
+ "strict": true,
1137
+ "usage": "npm:publish [options]",
1138
+ "pluginName": "@adinsure-ops/ops-cli",
1139
+ "pluginAlias": "@adinsure-ops/ops-cli",
1140
+ "pluginType": "core",
1141
+ "aliases": [],
1142
+ "examples": [
1143
+ "$ ops npm:publish -v 15.0.0",
1144
+ "$ ops npm:publish -v 15.0.0",
1145
+ "$ ops npm:publish -p @adinsure-tooling/* -v 15.0.0",
1146
+ "$ ops npm:publish -p @adinsure-tooling/* -x @adisure-tooling/studio-services -v 6.0.0"
1147
+ ],
1148
+ "flags": {
1149
+ "package": {
1150
+ "name": "package",
1151
+ "type": "option",
1152
+ "char": "p",
1153
+ "description": "package name filter you want to check",
1154
+ "multiple": true
1155
+ },
1156
+ "exclude": {
1157
+ "name": "exclude",
1158
+ "type": "option",
1159
+ "char": "x",
1160
+ "description": "exclude packages from filter",
1161
+ "multiple": true
1162
+ },
1163
+ "version": {
1164
+ "name": "version",
1165
+ "type": "option",
1166
+ "char": "v",
1167
+ "description": "version we want to check if published",
1168
+ "required": true,
1169
+ "multiple": false
1170
+ },
1171
+ "pat": {
1172
+ "name": "pat",
1173
+ "type": "option",
1174
+ "description": "PAT token or AZURE_DEVOPS_EXT_PAT environment variable",
1175
+ "multiple": false
1176
+ },
1177
+ "retry": {
1178
+ "name": "retry",
1179
+ "type": "option",
1180
+ "description": "Number of npm publishing retries in case of 4xx or 5xx http errors",
1181
+ "multiple": false,
1182
+ "default": 3
1183
+ }
1184
+ },
1185
+ "args": {}
1186
+ },
1187
+ "nuget:dependency-update": {
1188
+ "id": "nuget:dependency-update",
1189
+ "description": "update nuget dependencies per package filter",
1190
+ "strict": true,
1191
+ "usage": "nuget:dependency-update <type> [flags]",
1192
+ "pluginName": "@adinsure-ops/ops-cli",
1193
+ "pluginAlias": "@adinsure-ops/ops-cli",
1194
+ "pluginType": "core",
1195
+ "aliases": [],
1196
+ "examples": [
1197
+ "$ ops nuget:dependency-update 3.4.3 --filter Adacta.AdInsure --exclude Scheduler"
1198
+ ],
1199
+ "flags": {
1200
+ "filter": {
1201
+ "name": "filter",
1202
+ "type": "option",
1203
+ "description": "regular expression for which NuGet packages to update",
1204
+ "required": true,
1205
+ "multiple": false
1206
+ },
1207
+ "exclude": {
1208
+ "name": "exclude",
1209
+ "type": "option",
1210
+ "description": "exclude directories where to search for csproj files",
1211
+ "multiple": true
1212
+ }
1213
+ },
1214
+ "args": {
1215
+ "version": {
1216
+ "name": "version",
1217
+ "description": "Type of release",
1218
+ "required": true
1219
+ }
1220
+ }
1221
+ }
1222
+ }
1223
+ }