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

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 (88) hide show
  1. package/CHANGELOGS.md +12 -0
  2. package/README.md +0 -211
  3. package/bin/dev.cmd +3 -0
  4. package/bin/dev.js +6 -0
  5. package/bin/run.cmd +1 -1
  6. package/bin/run.js +8 -0
  7. package/lib/command.base.d.ts +9 -5
  8. package/lib/command.base.jira.d.ts +7 -8
  9. package/lib/command.base.jira.js +26 -24
  10. package/lib/command.base.js +69 -57
  11. package/lib/commands/docker/update-image-version.d.ts +6 -9
  12. package/lib/commands/docker/update-image-version.js +35 -34
  13. package/lib/commands/doctor.d.ts +15 -5
  14. package/lib/commands/doctor.js +219 -186
  15. package/lib/commands/download/client.d.ts +10 -7
  16. package/lib/commands/download/client.js +60 -52
  17. package/lib/commands/download/identity-server.d.ts +9 -7
  18. package/lib/commands/download/identity-server.js +59 -53
  19. package/lib/commands/download/jmeter.d.ts +5 -5
  20. package/lib/commands/download/jmeter.js +54 -49
  21. package/lib/commands/download/keycloak-scim.d.ts +6 -6
  22. package/lib/commands/download/keycloak-scim.js +56 -51
  23. package/lib/commands/download/platform.d.ts +9 -7
  24. package/lib/commands/download/platform.js +59 -53
  25. package/lib/commands/download/scheduler.d.ts +9 -7
  26. package/lib/commands/download/scheduler.js +59 -53
  27. package/lib/commands/download/server.d.ts +9 -7
  28. package/lib/commands/download/server.js +59 -53
  29. package/lib/commands/download/signalr.d.ts +9 -7
  30. package/lib/commands/download/signalr.js +59 -53
  31. package/lib/commands/download/studio.d.ts +11 -9
  32. package/lib/commands/download/studio.js +92 -82
  33. package/lib/commands/gitlab/get-tag-pipeline.d.ts +11 -14
  34. package/lib/commands/gitlab/get-tag-pipeline.js +95 -92
  35. package/lib/commands/gitlab/next-nightly-tag.d.ts +10 -12
  36. package/lib/commands/gitlab/next-nightly-tag.js +96 -98
  37. package/lib/commands/jira/issue.d.ts +6 -8
  38. package/lib/commands/jira/issue.js +25 -23
  39. package/lib/commands/jira/labels.d.ts +9 -12
  40. package/lib/commands/jira/labels.js +52 -51
  41. package/lib/commands/log/add.d.ts +6 -8
  42. package/lib/commands/log/add.js +92 -87
  43. package/lib/commands/log/generate.d.ts +9 -10
  44. package/lib/commands/log/generate.js +112 -107
  45. package/lib/commands/log/validate.d.ts +2 -2
  46. package/lib/commands/log/validate.js +47 -43
  47. package/lib/commands/login.d.ts +9 -10
  48. package/lib/commands/login.js +101 -97
  49. package/lib/commands/npm/check-publish.d.ts +7 -8
  50. package/lib/commands/npm/check-publish.js +59 -54
  51. package/lib/commands/npm/dependency-update.d.ts +14 -12
  52. package/lib/commands/npm/dependency-update.js +94 -86
  53. package/lib/commands/npm/publish.d.ts +8 -9
  54. package/lib/commands/npm/publish.js +154 -140
  55. package/lib/commands/nuget/dependency-update.d.ts +15 -10
  56. package/lib/commands/nuget/dependency-update.js +60 -49
  57. package/lib/commands/sql.d.ts +24 -20
  58. package/lib/commands/sql.js +245 -226
  59. package/lib/commands/translate.d.ts +15 -16
  60. package/lib/commands/translate.js +109 -104
  61. package/lib/commands/version.d.ts +29 -19
  62. package/lib/commands/version.js +215 -190
  63. package/lib/config.js +3 -6
  64. package/lib/hooks/init/version-override.d.ts +2 -2
  65. package/lib/hooks/init/version-override.js +15 -13
  66. package/lib/index.d.ts +1 -1
  67. package/lib/index.js +1 -4
  68. package/lib/lib/command.d.ts +2 -0
  69. package/lib/lib/command.js +65 -58
  70. package/lib/lib/gitlab.d.ts +8 -2
  71. package/lib/lib/gitlab.js +94 -82
  72. package/lib/lib/npm.d.ts +7 -3
  73. package/lib/lib/npm.js +72 -60
  74. package/lib/lib/npmrc.d.ts +5 -0
  75. package/lib/lib/npmrc.js +20 -13
  76. package/lib/lib/nuget.d.ts +2 -0
  77. package/lib/lib/nuget.js +20 -17
  78. package/lib/security/cache.js +31 -27
  79. package/lib/security/context.d.ts +2 -1
  80. package/lib/security/context.js +106 -103
  81. package/lib/types/changelog.types.js +1 -2
  82. package/lib/types/npm.types.d.ts +5 -5
  83. package/lib/types/npm.types.js +1 -2
  84. package/oclif.manifest.json +1212 -1
  85. package/package.json +50 -46
  86. package/bin/run +0 -5
  87. package/lib/commands/prepare-content.d.ts +0 -29
  88. package/lib/commands/prepare-content.js +0 -386
@@ -1 +1,1212 @@
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-rc3",
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
+ ],
639
+ "flags": {
640
+ "version": {
641
+ "name": "version",
642
+ "type": "option",
643
+ "char": "v",
644
+ "description": "version we want to download",
645
+ "required": true,
646
+ "multiple": false
647
+ },
648
+ "output": {
649
+ "name": "output",
650
+ "type": "option",
651
+ "char": "o",
652
+ "description": "output directory",
653
+ "multiple": false,
654
+ "default": "./"
655
+ },
656
+ "install": {
657
+ "name": "install",
658
+ "type": "boolean",
659
+ "char": "i",
660
+ "description": "install plugin to vscode. save to temp folder and remove vsix after.",
661
+ "allowNo": false
662
+ },
663
+ "skip": {
664
+ "name": "skip",
665
+ "type": "boolean",
666
+ "char": "s",
667
+ "description": "only with install. If passed, and desired version is installed it will skip it.",
668
+ "allowNo": false,
669
+ "dependsOn": [
670
+ "install"
671
+ ]
672
+ }
673
+ },
674
+ "args": {}
675
+ },
676
+ "gitlab:get-tag-pipeline": {
677
+ "id": "gitlab:get-tag-pipeline",
678
+ "description": "get pipeline status for tag",
679
+ "strict": true,
680
+ "usage": "gitlab:get-tag-pipeline <tag>",
681
+ "pluginName": "@adinsure-ops/ops-cli",
682
+ "pluginAlias": "@adinsure-ops/ops-cli",
683
+ "pluginType": "core",
684
+ "aliases": [],
685
+ "examples": [
686
+ "$ ops gitlab:get-tag-pipeline 17.0.0"
687
+ ],
688
+ "flags": {
689
+ "pat": {
690
+ "name": "pat",
691
+ "type": "option",
692
+ "description": "Token from user that has permissions to list and create tags",
693
+ "required": true,
694
+ "multiple": false
695
+ },
696
+ "host": {
697
+ "name": "host",
698
+ "type": "option",
699
+ "description": "Server hostname",
700
+ "required": true,
701
+ "multiple": false,
702
+ "default": "https://git.adacta-fintech.com"
703
+ },
704
+ "project": {
705
+ "name": "project",
706
+ "type": "option",
707
+ "description": "Project ID",
708
+ "required": true,
709
+ "multiple": false,
710
+ "default": "413"
711
+ },
712
+ "wait": {
713
+ "name": "wait",
714
+ "type": "boolean",
715
+ "description": "Wait for pipeline to finish",
716
+ "allowNo": false
717
+ },
718
+ "timeout": {
719
+ "name": "timeout",
720
+ "type": "option",
721
+ "description": "Timeout for wait command in seconds (defaults to 120 seconds)",
722
+ "multiple": false,
723
+ "default": "120"
724
+ },
725
+ "delay": {
726
+ "name": "delay",
727
+ "type": "option",
728
+ "description": "Delay of check in seconds (defaults to 5 seconds)",
729
+ "multiple": false,
730
+ "default": "5"
731
+ }
732
+ },
733
+ "args": {
734
+ "tag": {
735
+ "name": "tag",
736
+ "description": "Tag",
737
+ "required": true
738
+ }
739
+ }
740
+ },
741
+ "gitlab:next-nightly-tag": {
742
+ "id": "gitlab:next-nightly-tag",
743
+ "description": "creates new gitlab tag",
744
+ "strict": true,
745
+ "usage": "gitlab:next-nightly-tag <version>",
746
+ "pluginName": "@adinsure-ops/ops-cli",
747
+ "pluginAlias": "@adinsure-ops/ops-cli",
748
+ "pluginType": "core",
749
+ "aliases": [],
750
+ "examples": [
751
+ "$ ops gitlab:next-nightly-tag 17.0.0"
752
+ ],
753
+ "flags": {
754
+ "pat": {
755
+ "name": "pat",
756
+ "type": "option",
757
+ "description": "Token from user that has permissions to list and create tags",
758
+ "required": true,
759
+ "multiple": false
760
+ },
761
+ "host": {
762
+ "name": "host",
763
+ "type": "option",
764
+ "description": "Server hostname",
765
+ "required": true,
766
+ "multiple": false,
767
+ "default": "https://git.adacta-fintech.com"
768
+ },
769
+ "project": {
770
+ "name": "project",
771
+ "type": "option",
772
+ "description": "Project ID",
773
+ "required": true,
774
+ "multiple": false,
775
+ "default": "413"
776
+ },
777
+ "reference": {
778
+ "name": "reference",
779
+ "type": "option",
780
+ "description": "Reference to create tag on (branch, commit, tag)",
781
+ "required": true,
782
+ "multiple": false
783
+ },
784
+ "outputVersionOnly": {
785
+ "name": "outputVersionOnly",
786
+ "type": "boolean",
787
+ "description": "output only version instead of pretty output",
788
+ "allowNo": false
789
+ },
790
+ "dryRun": {
791
+ "name": "dryRun",
792
+ "type": "boolean",
793
+ "description": "Only printout version and don't create it",
794
+ "allowNo": false
795
+ }
796
+ },
797
+ "args": {
798
+ "version": {
799
+ "name": "version",
800
+ "description": "Tag version",
801
+ "required": true
802
+ }
803
+ }
804
+ },
805
+ "jira:issue": {
806
+ "id": "jira:issue",
807
+ "description": "get Jira issue",
808
+ "strict": true,
809
+ "usage": "jira:issue <issue>",
810
+ "pluginName": "@adinsure-ops/ops-cli",
811
+ "pluginAlias": "@adinsure-ops/ops-cli",
812
+ "pluginType": "core",
813
+ "aliases": [],
814
+ "examples": [
815
+ "$ ops jira:issue LJADIRD-1337"
816
+ ],
817
+ "flags": {
818
+ "username": {
819
+ "name": "username",
820
+ "type": "option",
821
+ "description": "jira username",
822
+ "required": true,
823
+ "multiple": false
824
+ },
825
+ "password": {
826
+ "name": "password",
827
+ "type": "option",
828
+ "description": "jira password",
829
+ "required": true,
830
+ "multiple": false
831
+ },
832
+ "hostname": {
833
+ "name": "hostname",
834
+ "type": "option",
835
+ "description": "jira hostname",
836
+ "multiple": false,
837
+ "default": "https://jira.adacta-fintech.com"
838
+ }
839
+ },
840
+ "args": {
841
+ "issue": {
842
+ "name": "issue",
843
+ "description": "Jira issue number",
844
+ "required": true
845
+ }
846
+ }
847
+ },
848
+ "jira:labels": {
849
+ "id": "jira:labels",
850
+ "description": "list or edit labels on Jira issue",
851
+ "strict": true,
852
+ "usage": "jira:labels <issue> -a [label] -r [label]",
853
+ "pluginName": "@adinsure-ops/ops-cli",
854
+ "pluginAlias": "@adinsure-ops/ops-cli",
855
+ "pluginType": "core",
856
+ "aliases": [],
857
+ "examples": [
858
+ "$ ops jira:labels LJADIRD-1337"
859
+ ],
860
+ "flags": {
861
+ "username": {
862
+ "name": "username",
863
+ "type": "option",
864
+ "description": "jira username",
865
+ "required": true,
866
+ "multiple": false
867
+ },
868
+ "password": {
869
+ "name": "password",
870
+ "type": "option",
871
+ "description": "jira password",
872
+ "required": true,
873
+ "multiple": false
874
+ },
875
+ "hostname": {
876
+ "name": "hostname",
877
+ "type": "option",
878
+ "description": "jira hostname",
879
+ "multiple": false,
880
+ "default": "https://jira.adacta-fintech.com"
881
+ },
882
+ "add": {
883
+ "name": "add",
884
+ "type": "option",
885
+ "char": "a",
886
+ "description": "add label",
887
+ "multiple": true
888
+ },
889
+ "remove": {
890
+ "name": "remove",
891
+ "type": "option",
892
+ "char": "r",
893
+ "description": "remove label",
894
+ "multiple": true
895
+ }
896
+ },
897
+ "args": {
898
+ "issue": {
899
+ "name": "issue",
900
+ "description": "Jira issue number",
901
+ "required": true
902
+ }
903
+ }
904
+ },
905
+ "log:add": {
906
+ "id": "log:add",
907
+ "description": "creates a new changelog entry",
908
+ "strict": true,
909
+ "usage": "log <issue> -t [type] -c [options]",
910
+ "pluginName": "@adinsure-ops/ops-cli",
911
+ "pluginAlias": "@adinsure-ops/ops-cli",
912
+ "pluginType": "core",
913
+ "aliases": [
914
+ "log",
915
+ "log:add"
916
+ ],
917
+ "examples": [
918
+ "$ ops log LJADIRD-1234 -t feature",
919
+ "$ ops log LJADIRD-5678 -t fixed",
920
+ "$ ops log LJADIRD-8765 -t breaking -c Platform",
921
+ "$ ops log LJADIRD-4321 -t improve -c Configuration"
922
+ ],
923
+ "flags": {
924
+ "type": {
925
+ "name": "type",
926
+ "type": "option",
927
+ "char": "t",
928
+ "description": "type of changelog",
929
+ "multiple": false,
930
+ "options": [
931
+ "feature",
932
+ "fixed",
933
+ "improve",
934
+ "breaking"
935
+ ]
936
+ },
937
+ "component": {
938
+ "name": "component",
939
+ "type": "option",
940
+ "char": "c",
941
+ "description": "Component for which new changelog should be generated",
942
+ "multiple": false,
943
+ "default": ""
944
+ }
945
+ },
946
+ "args": {
947
+ "issue": {
948
+ "name": "issue",
949
+ "description": "Jira issue number",
950
+ "required": true
951
+ }
952
+ }
953
+ },
954
+ "log:generate": {
955
+ "id": "log:generate",
956
+ "description": "generates final changelog from unreleased notes",
957
+ "strict": true,
958
+ "usage": "log:gen [options]",
959
+ "pluginName": "@adinsure-ops/ops-cli",
960
+ "pluginAlias": "@adinsure-ops/ops-cli",
961
+ "pluginType": "core",
962
+ "aliases": [
963
+ "log:gen"
964
+ ],
965
+ "examples": [
966
+ "$ ops log:gen",
967
+ "$ ops log:gen -p",
968
+ "$ ops log:gen -c Platform",
969
+ "$ ops log:gen -c Platform,Configuration",
970
+ "$ ops log:gen -c Implementation -f CHANGELOG.Implementation.md"
971
+ ],
972
+ "flags": {
973
+ "components": {
974
+ "name": "components",
975
+ "type": "option",
976
+ "char": "c",
977
+ "description": "components separated by comma (,) to process for final changelog",
978
+ "multiple": false,
979
+ "default": ""
980
+ },
981
+ "file": {
982
+ "name": "file",
983
+ "type": "option",
984
+ "char": "f",
985
+ "description": "file to update with new changelogs",
986
+ "multiple": false,
987
+ "default": "CHANGELOG.md"
988
+ },
989
+ "force": {
990
+ "name": "force",
991
+ "type": "boolean",
992
+ "description": "update target file without prompting for confirmation",
993
+ "allowNo": false
994
+ },
995
+ "preview": {
996
+ "name": "preview",
997
+ "type": "boolean",
998
+ "char": "p",
999
+ "description": "generates a preview markdown of current unreleased changelogs",
1000
+ "allowNo": false
1001
+ },
1002
+ "version": {
1003
+ "name": "version",
1004
+ "type": "option",
1005
+ "char": "v",
1006
+ "description": "version for which you're generating changelogs",
1007
+ "multiple": false
1008
+ },
1009
+ "ignore-no-changelogs": {
1010
+ "name": "ignore-no-changelogs",
1011
+ "type": "boolean",
1012
+ "description": "generate final changelog even if no unreleased changelogs exist",
1013
+ "allowNo": false
1014
+ }
1015
+ },
1016
+ "args": {}
1017
+ },
1018
+ "log:validate": {
1019
+ "id": "log:validate",
1020
+ "description": "validates formatting of all unreleased changelogs",
1021
+ "strict": true,
1022
+ "usage": "log:validate [options]",
1023
+ "pluginName": "@adinsure-ops/ops-cli",
1024
+ "pluginAlias": "@adinsure-ops/ops-cli",
1025
+ "pluginType": "core",
1026
+ "aliases": [
1027
+ "log:validate"
1028
+ ],
1029
+ "examples": [
1030
+ "$ ops log:validate"
1031
+ ],
1032
+ "flags": {},
1033
+ "args": {}
1034
+ },
1035
+ "npm:check-publish": {
1036
+ "id": "npm:check-publish",
1037
+ "description": "check if npm packages were published",
1038
+ "strict": true,
1039
+ "usage": "npm:check-publish [options]",
1040
+ "pluginName": "@adinsure-ops/ops-cli",
1041
+ "pluginAlias": "@adinsure-ops/ops-cli",
1042
+ "pluginType": "core",
1043
+ "aliases": [],
1044
+ "examples": [
1045
+ "$ ops npm:check-publish -v 6.0.1",
1046
+ "$ ops npm:check-publish -p @adinsure/* -v 6.0.0",
1047
+ "$ ops npm:check-publish -p @adinsure/* -x @adisure/demo -v 6.0.0"
1048
+ ],
1049
+ "flags": {
1050
+ "package": {
1051
+ "name": "package",
1052
+ "type": "option",
1053
+ "char": "p",
1054
+ "description": "package name filter you want to check",
1055
+ "multiple": true
1056
+ },
1057
+ "exclude": {
1058
+ "name": "exclude",
1059
+ "type": "option",
1060
+ "char": "x",
1061
+ "description": "exclude packages from filter",
1062
+ "multiple": true
1063
+ },
1064
+ "version": {
1065
+ "name": "version",
1066
+ "type": "option",
1067
+ "char": "v",
1068
+ "description": "version we want to check if published",
1069
+ "required": true,
1070
+ "multiple": false
1071
+ },
1072
+ "pat": {
1073
+ "name": "pat",
1074
+ "type": "option",
1075
+ "description": "PAT token or AZURE_DEVOPS_EXT_PAT environment variable",
1076
+ "multiple": false
1077
+ }
1078
+ },
1079
+ "args": {}
1080
+ },
1081
+ "npm:dependency-update": {
1082
+ "id": "npm:dependency-update",
1083
+ "description": "update npm dependencies per package filter",
1084
+ "strict": true,
1085
+ "usage": "npm:dependency-update <type> [flags]",
1086
+ "pluginName": "@adinsure-ops/ops-cli",
1087
+ "pluginAlias": "@adinsure-ops/ops-cli",
1088
+ "pluginType": "core",
1089
+ "aliases": [],
1090
+ "examples": [
1091
+ "$ ops npm:dependency-update 3.4.3 --filter @adinsure/*"
1092
+ ],
1093
+ "flags": {
1094
+ "filter": {
1095
+ "name": "filter",
1096
+ "type": "option",
1097
+ "description": "regular expression for which NPM packages to update",
1098
+ "required": true,
1099
+ "multiple": true
1100
+ },
1101
+ "exclude": {
1102
+ "name": "exclude",
1103
+ "type": "option",
1104
+ "description": "exclude directories where to search for package.json",
1105
+ "multiple": true
1106
+ },
1107
+ "force": {
1108
+ "name": "force",
1109
+ "type": "boolean",
1110
+ "description": "force update of version regardless of lower vs higher version check",
1111
+ "allowNo": false
1112
+ }
1113
+ },
1114
+ "args": {
1115
+ "version": {
1116
+ "name": "version",
1117
+ "description": "Type of release",
1118
+ "required": true
1119
+ }
1120
+ }
1121
+ },
1122
+ "npm:publish": {
1123
+ "id": "npm:publish",
1124
+ "description": "Publish npm packages",
1125
+ "strict": true,
1126
+ "usage": "npm:publish [options]",
1127
+ "pluginName": "@adinsure-ops/ops-cli",
1128
+ "pluginAlias": "@adinsure-ops/ops-cli",
1129
+ "pluginType": "core",
1130
+ "aliases": [],
1131
+ "examples": [
1132
+ "$ ops npm:publish -v 15.0.0",
1133
+ "$ ops npm:publish -v 15.0.0",
1134
+ "$ ops npm:publish -p @adinsure-tooling/* -v 15.0.0",
1135
+ "$ ops npm:publish -p @adinsure-tooling/* -x @adisure-tooling/studio-services -v 6.0.0"
1136
+ ],
1137
+ "flags": {
1138
+ "package": {
1139
+ "name": "package",
1140
+ "type": "option",
1141
+ "char": "p",
1142
+ "description": "package name filter you want to check",
1143
+ "multiple": true
1144
+ },
1145
+ "exclude": {
1146
+ "name": "exclude",
1147
+ "type": "option",
1148
+ "char": "x",
1149
+ "description": "exclude packages from filter",
1150
+ "multiple": true
1151
+ },
1152
+ "version": {
1153
+ "name": "version",
1154
+ "type": "option",
1155
+ "char": "v",
1156
+ "description": "version we want to check if published",
1157
+ "required": true,
1158
+ "multiple": false
1159
+ },
1160
+ "pat": {
1161
+ "name": "pat",
1162
+ "type": "option",
1163
+ "description": "PAT token or AZURE_DEVOPS_EXT_PAT environment variable",
1164
+ "multiple": false
1165
+ },
1166
+ "retry": {
1167
+ "name": "retry",
1168
+ "type": "option",
1169
+ "description": "Number of npm publishing retries in case of 4xx or 5xx http errors",
1170
+ "multiple": false,
1171
+ "default": 3
1172
+ }
1173
+ },
1174
+ "args": {}
1175
+ },
1176
+ "nuget:dependency-update": {
1177
+ "id": "nuget:dependency-update",
1178
+ "description": "update nuget dependencies per package filter",
1179
+ "strict": true,
1180
+ "usage": "nuget:dependency-update <type> [flags]",
1181
+ "pluginName": "@adinsure-ops/ops-cli",
1182
+ "pluginAlias": "@adinsure-ops/ops-cli",
1183
+ "pluginType": "core",
1184
+ "aliases": [],
1185
+ "examples": [
1186
+ "$ ops nuget:dependency-update 3.4.3 --filter Adacta.AdInsure --exclude Scheduler"
1187
+ ],
1188
+ "flags": {
1189
+ "filter": {
1190
+ "name": "filter",
1191
+ "type": "option",
1192
+ "description": "regular expression for which NuGet packages to update",
1193
+ "required": true,
1194
+ "multiple": false
1195
+ },
1196
+ "exclude": {
1197
+ "name": "exclude",
1198
+ "type": "option",
1199
+ "description": "exclude directories where to search for csproj files",
1200
+ "multiple": true
1201
+ }
1202
+ },
1203
+ "args": {
1204
+ "version": {
1205
+ "name": "version",
1206
+ "description": "Type of release",
1207
+ "required": true
1208
+ }
1209
+ }
1210
+ }
1211
+ }
1212
+ }