@copado/agentia-cli 1.0.0-beta.1 → 1.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/README.md +499 -323
- package/dist/commands/cicd/cloud/commit.js +252 -0
- package/dist/commands/cicd/cloud/promote.js +139 -0
- package/dist/commands/cicd/health-check.js +77 -0
- package/dist/commands/cicd/work/commit.js +10 -324
- package/dist/commands/cicd/work/environment-sync.js +120 -0
- package/dist/commands/cicd/work/get.js +25 -4
- package/dist/commands/cicd/work/promote.js +93 -97
- package/dist/commands/cicd/work/set.js +4 -2
- package/dist/commands/cicd/work/submit.js +7 -0
- package/dist/lib/defaults-store.js +2 -1
- package/dist/lib/git-sizer.js +5 -0
- package/dist/lib/git-worktree.js +16 -1
- package/dist/lib/health-check.js +3 -0
- package/dist/lib/mcp/command-id.js +1 -0
- package/dist/lib/mcp/health-check-tools.js +16 -0
- package/dist/lib/mcp/server.js +2 -1
- package/dist/lib/mcp/tool-annotations.js +265 -0
- package/dist/lib/mcp/tools.js +3 -0
- package/dist/lib/mcp/work-tools.js +96 -78
- package/dist/lib/metadata-pathspecs.js +4 -0
- package/dist/lib/metadataRegistry.json +5427 -0
- package/dist/lib/promotion-types.js +4 -1
- package/dist/lib/runtime.js +1 -1
- package/dist/lib/work-environment-sync-errors.js +4 -0
- package/dist/lib/work-environment-sync-ready.js +18 -0
- package/dist/lib/work-environment-sync.js +42 -0
- package/dist/lib/work-promote-deploy.js +13 -0
- package/dist/lib/work-promote-errors.js +5 -0
- package/dist/lib/work-promote.js +12 -0
- package/dist/lib/work-set-selection.js +2 -1
- package/dist/lib/work-submit-ahead-behind.js +8 -0
- package/dist/lib/work-types.js +2 -1
- package/oclif.manifest.json +1118 -675
- package/package.json +5 -2
- package/templates/skills/agentia-cicd/SKILL.md +2 -2
- package/templates/skills/agentia-cicd/references/promotions.md +8 -8
- package/templates/skills/agentia-cicd/references/work.md +16 -14
package/oclif.manifest.json
CHANGED
|
@@ -324,6 +324,57 @@
|
|
|
324
324
|
"unset.js"
|
|
325
325
|
]
|
|
326
326
|
},
|
|
327
|
+
"cicd:health-check": {
|
|
328
|
+
"aliases": [],
|
|
329
|
+
"args": {},
|
|
330
|
+
"description": "Run organization-scoped governance health checks",
|
|
331
|
+
"examples": [
|
|
332
|
+
"<%= config.bin %> <%= command.id %>",
|
|
333
|
+
"<%= config.bin %> <%= command.id %> --json",
|
|
334
|
+
"<%= config.bin %> <%= command.id %> --git-sizer",
|
|
335
|
+
"<%= config.bin %> <%= command.id %> --git-sizer --path /path/to/clone"
|
|
336
|
+
],
|
|
337
|
+
"flags": {
|
|
338
|
+
"json": {
|
|
339
|
+
"description": "Format output as json.",
|
|
340
|
+
"helpGroup": "GLOBAL",
|
|
341
|
+
"name": "json",
|
|
342
|
+
"allowNo": false,
|
|
343
|
+
"type": "boolean"
|
|
344
|
+
},
|
|
345
|
+
"git-sizer": {
|
|
346
|
+
"description": "Also analyze a local Git clone with git-sizer",
|
|
347
|
+
"name": "git-sizer",
|
|
348
|
+
"allowNo": false,
|
|
349
|
+
"type": "boolean"
|
|
350
|
+
},
|
|
351
|
+
"path": {
|
|
352
|
+
"dependsOn": [
|
|
353
|
+
"git-sizer"
|
|
354
|
+
],
|
|
355
|
+
"description": "Local Git clone for --git-sizer. Defaults to the current directory.",
|
|
356
|
+
"name": "path",
|
|
357
|
+
"hasDynamicHelp": false,
|
|
358
|
+
"multiple": false,
|
|
359
|
+
"type": "option"
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
"hasDynamicHelp": false,
|
|
363
|
+
"hiddenAliases": [],
|
|
364
|
+
"id": "cicd:health-check",
|
|
365
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
366
|
+
"pluginName": "@copado/agentia-cli",
|
|
367
|
+
"pluginType": "core",
|
|
368
|
+
"strict": true,
|
|
369
|
+
"enableJsonFlag": true,
|
|
370
|
+
"isESM": true,
|
|
371
|
+
"relativePath": [
|
|
372
|
+
"dist",
|
|
373
|
+
"commands",
|
|
374
|
+
"cicd",
|
|
375
|
+
"health-check.js"
|
|
376
|
+
]
|
|
377
|
+
},
|
|
327
378
|
"mcp:start": {
|
|
328
379
|
"aliases": [],
|
|
329
380
|
"args": {},
|
|
@@ -1772,14 +1823,21 @@
|
|
|
1772
1823
|
"update.js"
|
|
1773
1824
|
]
|
|
1774
1825
|
},
|
|
1775
|
-
"cicd:
|
|
1826
|
+
"cicd:cloud:commit": {
|
|
1776
1827
|
"aliases": [],
|
|
1777
|
-
"args": {
|
|
1778
|
-
|
|
1828
|
+
"args": {
|
|
1829
|
+
"id": {
|
|
1830
|
+
"description": "User story ID (defaults to the active work item from `work set`)",
|
|
1831
|
+
"name": "id",
|
|
1832
|
+
"required": false
|
|
1833
|
+
}
|
|
1834
|
+
},
|
|
1835
|
+
"description": "Create a Copado cloud metadata commit for a user story. Preflights the story, submits POST /release/commit, and polls the job monitor by default. For local Git work, use git add/commit then `cicd work publish`. Permission and full-metadata selections belong on `cicd work publish`.",
|
|
1779
1836
|
"examples": [
|
|
1780
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1781
|
-
"<%= config.bin %> <%= command.id %>
|
|
1782
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1837
|
+
"<%= config.bin %> <%= command.id %> --message \"Commit AccountService\" --metadata-name AccountService --metadata-type ApexClass --metadata-category SFDX --action Add",
|
|
1838
|
+
"<%= config.bin %> <%= command.id %> a07XXXXXXXXXXXXXXX --message \"Update Aura files\" --metadata-name accountEditor --metadata-type AuraDefinitionBundle --metadata-category SFDX --action SelectiveCommit --selection accountEditor/accountEditor.cmp --selection accountEditor/accountEditorController.js",
|
|
1839
|
+
"<%= config.bin %> <%= command.id %> --file commit-request.json # {\"message\":\"Commit AccountService\",\"changes\":[{\"a\":\"Add\",\"c\":\"SFDX\",\"n\":\"AccountService\",\"t\":\"ApexClass\"}]}",
|
|
1840
|
+
"cat commit-request.json | <%= config.bin %> <%= command.id %> --stdin --json"
|
|
1783
1841
|
],
|
|
1784
1842
|
"flags": {
|
|
1785
1843
|
"json": {
|
|
@@ -1789,67 +1847,127 @@
|
|
|
1789
1847
|
"allowNo": false,
|
|
1790
1848
|
"type": "boolean"
|
|
1791
1849
|
},
|
|
1792
|
-
"
|
|
1793
|
-
"description": "
|
|
1794
|
-
"name": "
|
|
1850
|
+
"action": {
|
|
1851
|
+
"description": "Metadata action for simple flag input. Defaults to Add.",
|
|
1852
|
+
"name": "action",
|
|
1853
|
+
"hasDynamicHelp": false,
|
|
1854
|
+
"multiple": false,
|
|
1855
|
+
"options": [
|
|
1856
|
+
"Add",
|
|
1857
|
+
"Delete",
|
|
1858
|
+
"RetrieveOnly",
|
|
1859
|
+
"SelectiveCommit",
|
|
1860
|
+
"Full"
|
|
1861
|
+
],
|
|
1862
|
+
"type": "option"
|
|
1863
|
+
},
|
|
1864
|
+
"base-branch": {
|
|
1865
|
+
"description": "Optional base branch to include in the commit request.",
|
|
1866
|
+
"name": "base-branch",
|
|
1867
|
+
"hasDynamicHelp": false,
|
|
1868
|
+
"multiple": false,
|
|
1869
|
+
"type": "option"
|
|
1870
|
+
},
|
|
1871
|
+
"cloud": {
|
|
1872
|
+
"description": "Ignored. Cloud is implied by cicd cloud commit.",
|
|
1873
|
+
"hidden": true,
|
|
1874
|
+
"name": "cloud",
|
|
1875
|
+
"allowNo": false,
|
|
1876
|
+
"type": "boolean"
|
|
1877
|
+
},
|
|
1878
|
+
"commit-id": {
|
|
1879
|
+
"description": "Existing local Git commit identifier to register when --no-execute-commit is used.",
|
|
1880
|
+
"name": "commit-id",
|
|
1881
|
+
"hasDynamicHelp": false,
|
|
1882
|
+
"multiple": false,
|
|
1883
|
+
"type": "option"
|
|
1884
|
+
},
|
|
1885
|
+
"execute-commit": {
|
|
1886
|
+
"description": "Execute the Copado commit job. Use --no-execute-commit only with --commit-id.",
|
|
1887
|
+
"name": "execute-commit",
|
|
1795
1888
|
"allowNo": true,
|
|
1796
1889
|
"type": "boolean"
|
|
1797
1890
|
},
|
|
1798
|
-
"
|
|
1799
|
-
"
|
|
1800
|
-
"
|
|
1801
|
-
"
|
|
1891
|
+
"file": {
|
|
1892
|
+
"char": "f",
|
|
1893
|
+
"description": "Path to a JSON commit request body.",
|
|
1894
|
+
"name": "file",
|
|
1802
1895
|
"hasDynamicHelp": false,
|
|
1803
1896
|
"multiple": false,
|
|
1804
1897
|
"type": "option"
|
|
1805
1898
|
},
|
|
1806
|
-
"
|
|
1807
|
-
"
|
|
1808
|
-
"
|
|
1809
|
-
"
|
|
1899
|
+
"message": {
|
|
1900
|
+
"char": "m",
|
|
1901
|
+
"description": "Commit message. Required unless provided by JSON input.",
|
|
1902
|
+
"name": "message",
|
|
1810
1903
|
"hasDynamicHelp": false,
|
|
1811
1904
|
"multiple": false,
|
|
1812
1905
|
"type": "option"
|
|
1813
|
-
}
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
"
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
"
|
|
1843
|
-
"description": "
|
|
1844
|
-
"
|
|
1845
|
-
"
|
|
1906
|
+
},
|
|
1907
|
+
"metadata-category": {
|
|
1908
|
+
"description": "Metadata category for simple input. Maps to change field c. For Salesforce metadata, always set SFDX so Copado stores c:SFDX. Omitting it omits c, and SFDX deploy steps log \"Salesforce changes not found.\" and skip the deploy while the job can still report Successful.",
|
|
1909
|
+
"name": "metadata-category",
|
|
1910
|
+
"hasDynamicHelp": false,
|
|
1911
|
+
"multiple": false,
|
|
1912
|
+
"type": "option"
|
|
1913
|
+
},
|
|
1914
|
+
"metadata-message": {
|
|
1915
|
+
"description": "Optional per-change message for simple flag input.",
|
|
1916
|
+
"name": "metadata-message",
|
|
1917
|
+
"hasDynamicHelp": false,
|
|
1918
|
+
"multiple": false,
|
|
1919
|
+
"type": "option"
|
|
1920
|
+
},
|
|
1921
|
+
"metadata-name": {
|
|
1922
|
+
"description": "Metadata full name for simple flag input.",
|
|
1923
|
+
"name": "metadata-name",
|
|
1924
|
+
"hasDynamicHelp": false,
|
|
1925
|
+
"multiple": false,
|
|
1926
|
+
"type": "option"
|
|
1927
|
+
},
|
|
1928
|
+
"metadata-raw-json": {
|
|
1929
|
+
"description": "Optional raw metadata JSON value for simple flag input.",
|
|
1930
|
+
"name": "metadata-raw-json",
|
|
1931
|
+
"hasDynamicHelp": false,
|
|
1932
|
+
"multiple": false,
|
|
1933
|
+
"type": "option"
|
|
1934
|
+
},
|
|
1935
|
+
"metadata-type": {
|
|
1936
|
+
"description": "Metadata type for simple flag input, for example ApexClass.",
|
|
1937
|
+
"name": "metadata-type",
|
|
1938
|
+
"hasDynamicHelp": false,
|
|
1939
|
+
"multiple": false,
|
|
1940
|
+
"type": "option"
|
|
1941
|
+
},
|
|
1942
|
+
"recreate-feature-branch": {
|
|
1943
|
+
"description": "Ask Copado to recreate the feature branch before committing.",
|
|
1944
|
+
"name": "recreate-feature-branch",
|
|
1846
1945
|
"allowNo": false,
|
|
1847
1946
|
"type": "boolean"
|
|
1848
1947
|
},
|
|
1849
|
-
"
|
|
1850
|
-
"description": "
|
|
1851
|
-
"name": "
|
|
1852
|
-
"
|
|
1948
|
+
"selection": {
|
|
1949
|
+
"description": "Selected file inside a bundle for SelectiveCommit. Can be provided multiple times.",
|
|
1950
|
+
"name": "selection",
|
|
1951
|
+
"hasDynamicHelp": false,
|
|
1952
|
+
"multiple": true,
|
|
1953
|
+
"type": "option"
|
|
1954
|
+
},
|
|
1955
|
+
"stdin": {
|
|
1956
|
+
"description": "Read a JSON commit request body from stdin.",
|
|
1957
|
+
"name": "stdin",
|
|
1958
|
+
"allowNo": false,
|
|
1959
|
+
"type": "boolean"
|
|
1960
|
+
},
|
|
1961
|
+
"wait": {
|
|
1962
|
+
"description": "Poll the commit job to a terminal status when a jobExecution Id is returned.",
|
|
1963
|
+
"name": "wait",
|
|
1964
|
+
"allowNo": true,
|
|
1965
|
+
"type": "boolean"
|
|
1966
|
+
},
|
|
1967
|
+
"wait-timeout": {
|
|
1968
|
+
"description": "Maximum seconds to wait for the commit job.",
|
|
1969
|
+
"name": "wait-timeout",
|
|
1970
|
+
"default": 300,
|
|
1853
1971
|
"hasDynamicHelp": false,
|
|
1854
1972
|
"multiple": false,
|
|
1855
1973
|
"type": "option"
|
|
@@ -1857,7 +1975,7 @@
|
|
|
1857
1975
|
},
|
|
1858
1976
|
"hasDynamicHelp": false,
|
|
1859
1977
|
"hiddenAliases": [],
|
|
1860
|
-
"id": "cicd:
|
|
1978
|
+
"id": "cicd:cloud:commit",
|
|
1861
1979
|
"pluginAlias": "@copado/agentia-cli",
|
|
1862
1980
|
"pluginName": "@copado/agentia-cli",
|
|
1863
1981
|
"pluginType": "core",
|
|
@@ -1868,24 +1986,24 @@
|
|
|
1868
1986
|
"dist",
|
|
1869
1987
|
"commands",
|
|
1870
1988
|
"cicd",
|
|
1871
|
-
"
|
|
1872
|
-
"
|
|
1989
|
+
"cloud",
|
|
1990
|
+
"commit.js"
|
|
1873
1991
|
]
|
|
1874
1992
|
},
|
|
1875
|
-
"cicd:
|
|
1993
|
+
"cicd:cloud:promote": {
|
|
1876
1994
|
"aliases": [],
|
|
1877
1995
|
"args": {
|
|
1878
1996
|
"id": {
|
|
1879
|
-
"description": "
|
|
1997
|
+
"description": "User Story ID (defaults to the active work item from `work set`)",
|
|
1880
1998
|
"name": "id",
|
|
1881
|
-
"required":
|
|
1999
|
+
"required": false
|
|
1882
2000
|
}
|
|
1883
2001
|
},
|
|
1884
|
-
"description": "
|
|
2002
|
+
"description": "Promote the explicit or active User Story through its Copado Promotion. Selects promote-only unless --deploy is passed.",
|
|
1885
2003
|
"examples": [
|
|
1886
|
-
"<%= config.bin %> <%= command.id %>
|
|
1887
|
-
"<%= config.bin %> <%= command.id %>
|
|
1888
|
-
"<%= config.bin %> <%= command.id %>
|
|
2004
|
+
"<%= config.bin %> <%= command.id %>",
|
|
2005
|
+
"<%= config.bin %> <%= command.id %> a07XXXXXXXXXXXXXXX --promotion-id a0BXXXXXXXXXXXXXXX",
|
|
2006
|
+
"<%= config.bin %> <%= command.id %> --deploy --json"
|
|
1889
2007
|
],
|
|
1890
2008
|
"flags": {
|
|
1891
2009
|
"json": {
|
|
@@ -1895,30 +2013,232 @@
|
|
|
1895
2013
|
"allowNo": false,
|
|
1896
2014
|
"type": "boolean"
|
|
1897
2015
|
},
|
|
1898
|
-
"
|
|
1899
|
-
"description": "
|
|
1900
|
-
"
|
|
1901
|
-
"
|
|
2016
|
+
"cloud": {
|
|
2017
|
+
"description": "Ignored. Cloud is implied by cicd cloud promote.",
|
|
2018
|
+
"hidden": true,
|
|
2019
|
+
"name": "cloud",
|
|
2020
|
+
"allowNo": false,
|
|
1902
2021
|
"type": "boolean"
|
|
1903
2022
|
},
|
|
1904
|
-
"
|
|
1905
|
-
"description": "
|
|
1906
|
-
"name": "
|
|
1907
|
-
"
|
|
2023
|
+
"deploy": {
|
|
2024
|
+
"description": "Use merge_and_deploy instead of promote-only merge.",
|
|
2025
|
+
"name": "deploy",
|
|
2026
|
+
"allowNo": false,
|
|
2027
|
+
"type": "boolean"
|
|
2028
|
+
},
|
|
2029
|
+
"deployment-step-id": {
|
|
2030
|
+
"description": "Ordered deployment-step Salesforce ID. Can be provided multiple times with --deploy.",
|
|
2031
|
+
"name": "deployment-step-id",
|
|
2032
|
+
"hasDynamicHelp": false,
|
|
2033
|
+
"multiple": true,
|
|
2034
|
+
"type": "option"
|
|
2035
|
+
},
|
|
2036
|
+
"ignored-metadata-json": {
|
|
2037
|
+
"description": "JSON array to persist through ignored-metadata before starting the promotion.",
|
|
2038
|
+
"name": "ignored-metadata-json",
|
|
1908
2039
|
"hasDynamicHelp": false,
|
|
1909
2040
|
"multiple": false,
|
|
1910
2041
|
"type": "option"
|
|
1911
2042
|
},
|
|
1912
|
-
"
|
|
1913
|
-
"description": "
|
|
1914
|
-
"name": "
|
|
2043
|
+
"promotion-id": {
|
|
2044
|
+
"description": "Explicit 18-character Promotion ID when the User Story belongs to multiple promotions.",
|
|
2045
|
+
"name": "promotion-id",
|
|
1915
2046
|
"hasDynamicHelp": false,
|
|
1916
2047
|
"multiple": false,
|
|
1917
2048
|
"type": "option"
|
|
1918
|
-
}
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
2049
|
+
},
|
|
2050
|
+
"recreate-promotion-branch": {
|
|
2051
|
+
"description": "Recreate the promotion branch before execution. Requires confirmation or --yes.",
|
|
2052
|
+
"name": "recreate-promotion-branch",
|
|
2053
|
+
"allowNo": false,
|
|
2054
|
+
"type": "boolean"
|
|
2055
|
+
},
|
|
2056
|
+
"wait": {
|
|
2057
|
+
"description": "Poll promotion and deployment executions to terminal status.",
|
|
2058
|
+
"name": "wait",
|
|
2059
|
+
"allowNo": true,
|
|
2060
|
+
"type": "boolean"
|
|
2061
|
+
},
|
|
2062
|
+
"wait-timeout": {
|
|
2063
|
+
"description": "Maximum total seconds to wait for promotion and deployment executions.",
|
|
2064
|
+
"name": "wait-timeout",
|
|
2065
|
+
"default": 900,
|
|
2066
|
+
"hasDynamicHelp": false,
|
|
2067
|
+
"multiple": false,
|
|
2068
|
+
"type": "option"
|
|
2069
|
+
},
|
|
2070
|
+
"yes": {
|
|
2071
|
+
"char": "y",
|
|
2072
|
+
"description": "Confirm promotion branch recreation without prompting.",
|
|
2073
|
+
"name": "yes",
|
|
2074
|
+
"allowNo": false,
|
|
2075
|
+
"type": "boolean"
|
|
2076
|
+
}
|
|
2077
|
+
},
|
|
2078
|
+
"hasDynamicHelp": false,
|
|
2079
|
+
"hiddenAliases": [],
|
|
2080
|
+
"id": "cicd:cloud:promote",
|
|
2081
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
2082
|
+
"pluginName": "@copado/agentia-cli",
|
|
2083
|
+
"pluginType": "core",
|
|
2084
|
+
"strict": true,
|
|
2085
|
+
"enableJsonFlag": true,
|
|
2086
|
+
"isESM": true,
|
|
2087
|
+
"relativePath": [
|
|
2088
|
+
"dist",
|
|
2089
|
+
"commands",
|
|
2090
|
+
"cicd",
|
|
2091
|
+
"cloud",
|
|
2092
|
+
"promote.js"
|
|
2093
|
+
]
|
|
2094
|
+
},
|
|
2095
|
+
"cicd:credential:create": {
|
|
2096
|
+
"aliases": [],
|
|
2097
|
+
"args": {},
|
|
2098
|
+
"description": "Create a Copado environment credential",
|
|
2099
|
+
"examples": [
|
|
2100
|
+
"<%= config.bin %> <%= command.id %> --environmentid <environment-id> --name \"CI User\"",
|
|
2101
|
+
"<%= config.bin %> <%= command.id %> --environmentid <environment-id> --name \"CI User\" --default",
|
|
2102
|
+
"<%= config.bin %> <%= command.id %> --environmentid <environment-id> --name \"CI User\" --json"
|
|
2103
|
+
],
|
|
2104
|
+
"flags": {
|
|
2105
|
+
"json": {
|
|
2106
|
+
"description": "Format output as json.",
|
|
2107
|
+
"helpGroup": "GLOBAL",
|
|
2108
|
+
"name": "json",
|
|
2109
|
+
"allowNo": false,
|
|
2110
|
+
"type": "boolean"
|
|
2111
|
+
},
|
|
2112
|
+
"default": {
|
|
2113
|
+
"description": "Mark this credential as the environment default",
|
|
2114
|
+
"name": "default",
|
|
2115
|
+
"allowNo": true,
|
|
2116
|
+
"type": "boolean"
|
|
2117
|
+
},
|
|
2118
|
+
"environmentid": {
|
|
2119
|
+
"description": "Copado environment ID",
|
|
2120
|
+
"name": "environmentid",
|
|
2121
|
+
"required": true,
|
|
2122
|
+
"hasDynamicHelp": false,
|
|
2123
|
+
"multiple": false,
|
|
2124
|
+
"type": "option"
|
|
2125
|
+
},
|
|
2126
|
+
"name": {
|
|
2127
|
+
"description": "Credential name",
|
|
2128
|
+
"name": "name",
|
|
2129
|
+
"required": true,
|
|
2130
|
+
"hasDynamicHelp": false,
|
|
2131
|
+
"multiple": false,
|
|
2132
|
+
"type": "option"
|
|
2133
|
+
}
|
|
2134
|
+
},
|
|
2135
|
+
"hasDynamicHelp": false,
|
|
2136
|
+
"hiddenAliases": [],
|
|
2137
|
+
"id": "cicd:credential:create",
|
|
2138
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
2139
|
+
"pluginName": "@copado/agentia-cli",
|
|
2140
|
+
"pluginType": "core",
|
|
2141
|
+
"strict": true,
|
|
2142
|
+
"enableJsonFlag": true,
|
|
2143
|
+
"isESM": true,
|
|
2144
|
+
"relativePath": [
|
|
2145
|
+
"dist",
|
|
2146
|
+
"commands",
|
|
2147
|
+
"cicd",
|
|
2148
|
+
"credential",
|
|
2149
|
+
"create.js"
|
|
2150
|
+
]
|
|
2151
|
+
},
|
|
2152
|
+
"cicd:credential:list": {
|
|
2153
|
+
"aliases": [],
|
|
2154
|
+
"args": {},
|
|
2155
|
+
"description": "List credentials for a Copado environment",
|
|
2156
|
+
"examples": [
|
|
2157
|
+
"<%= config.bin %> <%= command.id %> --environmentid <environment-id>",
|
|
2158
|
+
"<%= config.bin %> <%= command.id %> --environmentid \"Dev Sandbox\"",
|
|
2159
|
+
"<%= config.bin %> <%= command.id %> --environmentid <environment-id> --json"
|
|
2160
|
+
],
|
|
2161
|
+
"flags": {
|
|
2162
|
+
"json": {
|
|
2163
|
+
"description": "Format output as json.",
|
|
2164
|
+
"helpGroup": "GLOBAL",
|
|
2165
|
+
"name": "json",
|
|
2166
|
+
"allowNo": false,
|
|
2167
|
+
"type": "boolean"
|
|
2168
|
+
},
|
|
2169
|
+
"environmentid": {
|
|
2170
|
+
"description": "Copado environment ID",
|
|
2171
|
+
"name": "environmentid",
|
|
2172
|
+
"required": true,
|
|
2173
|
+
"hasDynamicHelp": false,
|
|
2174
|
+
"multiple": false,
|
|
2175
|
+
"type": "option"
|
|
2176
|
+
}
|
|
2177
|
+
},
|
|
2178
|
+
"hasDynamicHelp": false,
|
|
2179
|
+
"hiddenAliases": [],
|
|
2180
|
+
"id": "cicd:credential:list",
|
|
2181
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
2182
|
+
"pluginName": "@copado/agentia-cli",
|
|
2183
|
+
"pluginType": "core",
|
|
2184
|
+
"strict": true,
|
|
2185
|
+
"enableJsonFlag": true,
|
|
2186
|
+
"isESM": true,
|
|
2187
|
+
"relativePath": [
|
|
2188
|
+
"dist",
|
|
2189
|
+
"commands",
|
|
2190
|
+
"cicd",
|
|
2191
|
+
"credential",
|
|
2192
|
+
"list.js"
|
|
2193
|
+
]
|
|
2194
|
+
},
|
|
2195
|
+
"cicd:credential:update": {
|
|
2196
|
+
"aliases": [],
|
|
2197
|
+
"args": {
|
|
2198
|
+
"id": {
|
|
2199
|
+
"description": "Copado credential ID",
|
|
2200
|
+
"name": "id",
|
|
2201
|
+
"required": true
|
|
2202
|
+
}
|
|
2203
|
+
},
|
|
2204
|
+
"description": "Update a Copado environment credential by ID",
|
|
2205
|
+
"examples": [
|
|
2206
|
+
"<%= config.bin %> <%= command.id %> <credential-id> --environmentid <environment-id> --name \"CI User\"",
|
|
2207
|
+
"<%= config.bin %> <%= command.id %> <credential-id> --environmentid <environment-id> --default",
|
|
2208
|
+
"<%= config.bin %> <%= command.id %> <credential-id> --environmentid <environment-id> --no-default --json"
|
|
2209
|
+
],
|
|
2210
|
+
"flags": {
|
|
2211
|
+
"json": {
|
|
2212
|
+
"description": "Format output as json.",
|
|
2213
|
+
"helpGroup": "GLOBAL",
|
|
2214
|
+
"name": "json",
|
|
2215
|
+
"allowNo": false,
|
|
2216
|
+
"type": "boolean"
|
|
2217
|
+
},
|
|
2218
|
+
"default": {
|
|
2219
|
+
"description": "Mark this credential as the environment default",
|
|
2220
|
+
"name": "default",
|
|
2221
|
+
"allowNo": true,
|
|
2222
|
+
"type": "boolean"
|
|
2223
|
+
},
|
|
2224
|
+
"environmentid": {
|
|
2225
|
+
"description": "Copado environment ID",
|
|
2226
|
+
"name": "environmentid",
|
|
2227
|
+
"required": true,
|
|
2228
|
+
"hasDynamicHelp": false,
|
|
2229
|
+
"multiple": false,
|
|
2230
|
+
"type": "option"
|
|
2231
|
+
},
|
|
2232
|
+
"name": {
|
|
2233
|
+
"description": "Credential name",
|
|
2234
|
+
"name": "name",
|
|
2235
|
+
"hasDynamicHelp": false,
|
|
2236
|
+
"multiple": false,
|
|
2237
|
+
"type": "option"
|
|
2238
|
+
}
|
|
2239
|
+
},
|
|
2240
|
+
"hasDynamicHelp": false,
|
|
2241
|
+
"hiddenAliases": [],
|
|
1922
2242
|
"id": "cicd:credential:update",
|
|
1923
2243
|
"pluginAlias": "@copado/agentia-cli",
|
|
1924
2244
|
"pluginName": "@copado/agentia-cli",
|
|
@@ -5585,12 +5905,10 @@
|
|
|
5585
5905
|
"required": false
|
|
5586
5906
|
}
|
|
5587
5907
|
},
|
|
5588
|
-
"description": "Create a Copado cloud metadata commit for a user story.
|
|
5908
|
+
"description": "Compatibility alias of cicd cloud commit. Create a Copado cloud metadata commit for a user story. Prefer: agentia cicd cloud commit.",
|
|
5589
5909
|
"examples": [
|
|
5590
|
-
"<%= config.bin %>
|
|
5591
|
-
"<%= config.bin %> <%= command.id %>
|
|
5592
|
-
"<%= config.bin %> <%= command.id %> --cloud --file commit-request.json # {\"message\":\"Commit AccountService\",\"changes\":[{\"a\":\"Add\",\"c\":\"SFDX\",\"n\":\"AccountService\",\"t\":\"ApexClass\"}]}",
|
|
5593
|
-
"cat commit-request.json | <%= config.bin %> <%= command.id %> --cloud --stdin --json"
|
|
5910
|
+
"<%= config.bin %> cicd cloud commit --message \"Commit AccountService\" --metadata-name AccountService --metadata-type ApexClass --metadata-category SFDX --action Add",
|
|
5911
|
+
"<%= config.bin %> <%= command.id %> --cloud --message \"Commit AccountService\" --metadata-name AccountService --metadata-type ApexClass --metadata-category SFDX --action Add"
|
|
5594
5912
|
],
|
|
5595
5913
|
"flags": {
|
|
5596
5914
|
"json": {
|
|
@@ -5622,7 +5940,8 @@
|
|
|
5622
5940
|
"type": "option"
|
|
5623
5941
|
},
|
|
5624
5942
|
"cloud": {
|
|
5625
|
-
"description": "
|
|
5943
|
+
"description": "Ignored. Cloud is implied by cicd cloud commit.",
|
|
5944
|
+
"hidden": true,
|
|
5626
5945
|
"name": "cloud",
|
|
5627
5946
|
"allowNo": false,
|
|
5628
5947
|
"type": "boolean"
|
|
@@ -5726,6 +6045,7 @@
|
|
|
5726
6045
|
}
|
|
5727
6046
|
},
|
|
5728
6047
|
"hasDynamicHelp": false,
|
|
6048
|
+
"hidden": true,
|
|
5729
6049
|
"hiddenAliases": [],
|
|
5730
6050
|
"id": "cicd:work:commit",
|
|
5731
6051
|
"pluginAlias": "@copado/agentia-cli",
|
|
@@ -6039,20 +6359,16 @@
|
|
|
6039
6359
|
"done.js"
|
|
6040
6360
|
]
|
|
6041
6361
|
},
|
|
6042
|
-
"cicd:work:
|
|
6362
|
+
"cicd:work:environment-sync": {
|
|
6043
6363
|
"aliases": [],
|
|
6044
|
-
"args": {
|
|
6045
|
-
|
|
6046
|
-
"description": "User story ID (defaults to the active work item from `work set`)",
|
|
6047
|
-
"name": "id",
|
|
6048
|
-
"required": false
|
|
6049
|
-
}
|
|
6050
|
-
},
|
|
6051
|
-
"description": "Get a Copado user story by ID",
|
|
6364
|
+
"args": {},
|
|
6365
|
+
"description": "Sync committed metadata from the next environment onto the destination environment (or current feature branch). Back-promotes every user story behind the destination environment from the next environment branch. GET user stories ahead and behind. If none are behind, log that and stop. Otherwise create a back-promotion and POST those behind stories onto the promotion. Resolves the next-environment Git branch from --destination-environment or --dev-org-branch (the dest pipeline connection destinationBranch, or that destination environment's outbound branch). Merges origin/<next-env> with --no-ff --no-commit, restores every other path from HEAD, commits the guessed pathspecs, and pushes the dest org branch (and the feature branch when HEAD starts with feature/). If guessed pathspecs still conflict, PATCH the back-promotion status to Merge Conflict, resolve the files, and re-run with --promotion and --continue. The promotion destination environment supplies the dest org branch and the next-env branch. To discard a conflicted merge, re-run with --promotion and --abort (runs git merge --abort and sets the back-promotion status to Draft). After a successful sync, PATCH the back-promotion status to Completed.",
|
|
6052
6366
|
"examples": [
|
|
6053
|
-
"<%= config.bin %> <%= command.id %>",
|
|
6054
|
-
"<%= config.bin %> <%= command.id %>
|
|
6055
|
-
"<%= config.bin %> <%= command.id %>
|
|
6367
|
+
"<%= config.bin %> <%= command.id %> --destination-environment=dev1",
|
|
6368
|
+
"<%= config.bin %> <%= command.id %> --dev-org-branch=dev1-sfp",
|
|
6369
|
+
"<%= config.bin %> <%= command.id %> --promotion=P29334 --continue",
|
|
6370
|
+
"<%= config.bin %> <%= command.id %> --promotion=P29334 --abort",
|
|
6371
|
+
"<%= config.bin %> <%= command.id %> --destination-environment=dev1 --json"
|
|
6056
6372
|
],
|
|
6057
6373
|
"flags": {
|
|
6058
6374
|
"json": {
|
|
@@ -6061,11 +6377,70 @@
|
|
|
6061
6377
|
"name": "json",
|
|
6062
6378
|
"allowNo": false,
|
|
6063
6379
|
"type": "boolean"
|
|
6380
|
+
},
|
|
6381
|
+
"abort": {
|
|
6382
|
+
"description": "Abort an in-progress merge (`git merge --abort`) and set the back-promotion status to Draft. Requires --promotion. Exclusive with --continue.",
|
|
6383
|
+
"exclusive": [
|
|
6384
|
+
"continue"
|
|
6385
|
+
],
|
|
6386
|
+
"name": "abort",
|
|
6387
|
+
"allowNo": false,
|
|
6388
|
+
"type": "boolean"
|
|
6389
|
+
},
|
|
6390
|
+
"continue": {
|
|
6391
|
+
"description": "Commit resolved merge conflicts and finish the remaining environment-sync git steps.",
|
|
6392
|
+
"exclusive": [
|
|
6393
|
+
"abort"
|
|
6394
|
+
],
|
|
6395
|
+
"name": "continue",
|
|
6396
|
+
"allowNo": false,
|
|
6397
|
+
"type": "boolean"
|
|
6398
|
+
},
|
|
6399
|
+
"destination-credential": {
|
|
6400
|
+
"description": "Credential ID posted as destinationCredentialId when creating the back-promotion. Copado requires a credential on the next/source environment (PRO-033 if a dest/dev credential is sent) and then stores the dest/dev credential. Defaults to that source environment defaultCredential, otherwise the first source credential.",
|
|
6401
|
+
"name": "destination-credential",
|
|
6402
|
+
"hasDynamicHelp": false,
|
|
6403
|
+
"multiple": false,
|
|
6404
|
+
"type": "option"
|
|
6405
|
+
},
|
|
6406
|
+
"destination-environment": {
|
|
6407
|
+
"description": "Destination org environment name or Id. Resolves to that environment's pipeline connection Git branch.",
|
|
6408
|
+
"exclusive": [
|
|
6409
|
+
"dev-org-branch"
|
|
6410
|
+
],
|
|
6411
|
+
"name": "destination-environment",
|
|
6412
|
+
"hasDynamicHelp": false,
|
|
6413
|
+
"multiple": false,
|
|
6414
|
+
"type": "option"
|
|
6415
|
+
},
|
|
6416
|
+
"dev-org-branch": {
|
|
6417
|
+
"description": "Destination org Git branch. Defaults to lastDevOrgBranch from `cicd work set`.",
|
|
6418
|
+
"exclusive": [
|
|
6419
|
+
"destination-environment"
|
|
6420
|
+
],
|
|
6421
|
+
"name": "dev-org-branch",
|
|
6422
|
+
"hasDynamicHelp": false,
|
|
6423
|
+
"multiple": false,
|
|
6424
|
+
"type": "option"
|
|
6425
|
+
},
|
|
6426
|
+
"pipeline-id": {
|
|
6427
|
+
"description": "Pipeline ID. Defaults to the active work item from `cicd work set`.",
|
|
6428
|
+
"name": "pipeline-id",
|
|
6429
|
+
"hasDynamicHelp": false,
|
|
6430
|
+
"multiple": false,
|
|
6431
|
+
"type": "option"
|
|
6432
|
+
},
|
|
6433
|
+
"promotion": {
|
|
6434
|
+
"description": "Back-promotion Id or name to PATCH when this run stops on merge conflicts, finishes successfully, continues, or aborts. Included in the conflict continue and abort commands. Defaults to the back-promotion created in this run.",
|
|
6435
|
+
"name": "promotion",
|
|
6436
|
+
"hasDynamicHelp": false,
|
|
6437
|
+
"multiple": false,
|
|
6438
|
+
"type": "option"
|
|
6064
6439
|
}
|
|
6065
6440
|
},
|
|
6066
6441
|
"hasDynamicHelp": false,
|
|
6067
6442
|
"hiddenAliases": [],
|
|
6068
|
-
"id": "cicd:work:
|
|
6443
|
+
"id": "cicd:work:environment-sync",
|
|
6069
6444
|
"pluginAlias": "@copado/agentia-cli",
|
|
6070
6445
|
"pluginName": "@copado/agentia-cli",
|
|
6071
6446
|
"pluginType": "core",
|
|
@@ -6077,13 +6452,62 @@
|
|
|
6077
6452
|
"commands",
|
|
6078
6453
|
"cicd",
|
|
6079
6454
|
"work",
|
|
6080
|
-
"
|
|
6455
|
+
"environment-sync.js"
|
|
6081
6456
|
]
|
|
6082
6457
|
},
|
|
6083
|
-
"cicd:work:
|
|
6458
|
+
"cicd:work:get": {
|
|
6084
6459
|
"aliases": [],
|
|
6085
|
-
"args": {
|
|
6086
|
-
|
|
6460
|
+
"args": {
|
|
6461
|
+
"id": {
|
|
6462
|
+
"description": "User story ID (defaults to the active work item from `work set`)",
|
|
6463
|
+
"name": "id",
|
|
6464
|
+
"required": false
|
|
6465
|
+
}
|
|
6466
|
+
},
|
|
6467
|
+
"description": "Get a Copado user story by ID",
|
|
6468
|
+
"examples": [
|
|
6469
|
+
"<%= config.bin %> <%= command.id %>",
|
|
6470
|
+
"<%= config.bin %> <%= command.id %> a0SKC000000CmZ2AU",
|
|
6471
|
+
"<%= config.bin %> <%= command.id %> a0SKC000000CmZ2AU --json",
|
|
6472
|
+
"<%= config.bin %> <%= command.id %> a0SKC000000CmZ2AU --user-stories-ahead-behind",
|
|
6473
|
+
"<%= config.bin %> <%= command.id %> a0SKC000000CmZ2AU --user-stories-ahead-behind --json"
|
|
6474
|
+
],
|
|
6475
|
+
"flags": {
|
|
6476
|
+
"json": {
|
|
6477
|
+
"description": "Format output as json.",
|
|
6478
|
+
"helpGroup": "GLOBAL",
|
|
6479
|
+
"name": "json",
|
|
6480
|
+
"allowNo": false,
|
|
6481
|
+
"type": "boolean"
|
|
6482
|
+
},
|
|
6483
|
+
"user-stories-ahead-behind": {
|
|
6484
|
+
"description": "When the user story has a pipeline and source environment, compare user stories ahead of and behind the next pipeline environment",
|
|
6485
|
+
"name": "user-stories-ahead-behind",
|
|
6486
|
+
"allowNo": false,
|
|
6487
|
+
"type": "boolean"
|
|
6488
|
+
}
|
|
6489
|
+
},
|
|
6490
|
+
"hasDynamicHelp": false,
|
|
6491
|
+
"hiddenAliases": [],
|
|
6492
|
+
"id": "cicd:work:get",
|
|
6493
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
6494
|
+
"pluginName": "@copado/agentia-cli",
|
|
6495
|
+
"pluginType": "core",
|
|
6496
|
+
"strict": true,
|
|
6497
|
+
"enableJsonFlag": true,
|
|
6498
|
+
"isESM": true,
|
|
6499
|
+
"relativePath": [
|
|
6500
|
+
"dist",
|
|
6501
|
+
"commands",
|
|
6502
|
+
"cicd",
|
|
6503
|
+
"work",
|
|
6504
|
+
"get.js"
|
|
6505
|
+
]
|
|
6506
|
+
},
|
|
6507
|
+
"cicd:work:list": {
|
|
6508
|
+
"aliases": [],
|
|
6509
|
+
"args": {},
|
|
6510
|
+
"description": "List Copado user stories",
|
|
6087
6511
|
"examples": [
|
|
6088
6512
|
"<%= config.bin %> <%= command.id %>",
|
|
6089
6513
|
"<%= config.bin %> <%= command.id %> --status \"In Progress\" --project-name MyProject",
|
|
@@ -6250,17 +6674,23 @@
|
|
|
6250
6674
|
"cicd:work:promote": {
|
|
6251
6675
|
"aliases": [],
|
|
6252
6676
|
"args": {
|
|
6253
|
-
"
|
|
6254
|
-
"description": "User
|
|
6255
|
-
"
|
|
6677
|
+
"userStoryIds": {
|
|
6678
|
+
"description": "User story ID. Pass more than one to merge those feature branches in order. Omit when using --promotion with --continue or --abort.",
|
|
6679
|
+
"multiple": true,
|
|
6680
|
+
"name": "userStoryIds",
|
|
6256
6681
|
"required": false
|
|
6257
6682
|
}
|
|
6258
6683
|
},
|
|
6259
|
-
"description": "
|
|
6684
|
+
"description": "Experimental: skips Quality Gates. Requires enableLocalPromote true in .agentia/config.json. Create a promotion for one or more user stories and merge each feature/<name> branch into promotion/<promotionName>. The promotion branch is created from the destination environment branch. Without --backpromote, the stories promote forward from their source environment to the next pipeline environment. With --backpromote, pass --destination-branch. The destination environment is the pipeline environment whose connection branch matches that name, and the source is the next environment above it. Story merges stop at the first conflict and the promotion status is set to Merge Conflict. Resolve those files, then re-run with --promotion=<name-or-id> --continue to commit the merge, merge any remaining stories, and finish the promotion. To discard a conflicted merge, re-run with --promotion=<name-or-id> --abort (runs git merge --abort and sets the promotion status to Draft). That continue command repeats --validate or --deploy and --sf-alias when the original command used them. After every story merges, the promotion branch is pushed. Without --validate or --deploy, the promotion status is set to Completed. With --validate or --deploy, --sf-alias is required. The command writes a temporary package.xml and postdestructivechanges.xml from the promotion metadata and runs sf project deploy start --test-level NoTestRun -o <alias>. --validate adds --dry-run, does not merge the destination branch, and sets the promotion status to Validated. --deploy merges the promotion branch into the destination branch and sets the promotion status to Completed only after that deployment succeeds. User story records are not updated.",
|
|
6260
6685
|
"examples": [
|
|
6261
|
-
"<%= config.bin %> <%= command.id %>
|
|
6262
|
-
"<%= config.bin %> <%= command.id %>
|
|
6263
|
-
"<%= config.bin %> <%= command.id %> --
|
|
6686
|
+
"<%= config.bin %> <%= command.id %> a16P7000006By3pIAC",
|
|
6687
|
+
"<%= config.bin %> <%= command.id %> a16P7000006By3pIAC a16P7000006By4qIAC",
|
|
6688
|
+
"<%= config.bin %> <%= command.id %> a16P7000006By3pIAC --backpromote --destination-branch dev1-sfp",
|
|
6689
|
+
"<%= config.bin %> <%= command.id %> a16P7000006By3pIAC --validate --sf-alias destOrg",
|
|
6690
|
+
"<%= config.bin %> <%= command.id %> a16P7000006By3pIAC --deploy --sf-alias destOrg",
|
|
6691
|
+
"<%= config.bin %> <%= command.id %> --promotion=P29354 --continue",
|
|
6692
|
+
"<%= config.bin %> <%= command.id %> --promotion=P29354 --abort",
|
|
6693
|
+
"<%= config.bin %> <%= command.id %> a16P7000006By3pIAC --json"
|
|
6264
6694
|
],
|
|
6265
6695
|
"flags": {
|
|
6266
6696
|
"json": {
|
|
@@ -6270,63 +6700,76 @@
|
|
|
6270
6700
|
"allowNo": false,
|
|
6271
6701
|
"type": "boolean"
|
|
6272
6702
|
},
|
|
6273
|
-
"
|
|
6274
|
-
"description": "
|
|
6275
|
-
"
|
|
6703
|
+
"abort": {
|
|
6704
|
+
"description": "Abort an in-progress merge (`git merge --abort`) and set the promotion status to Draft. Requires --promotion. Exclusive with --continue.",
|
|
6705
|
+
"exclusive": [
|
|
6706
|
+
"continue"
|
|
6707
|
+
],
|
|
6708
|
+
"name": "abort",
|
|
6709
|
+
"allowNo": false,
|
|
6710
|
+
"type": "boolean"
|
|
6711
|
+
},
|
|
6712
|
+
"backpromote": {
|
|
6713
|
+
"description": "Create a back promotion. Requires --destination-branch. Omit to promote forward to the next pipeline environment.",
|
|
6714
|
+
"name": "backpromote",
|
|
6715
|
+
"allowNo": false,
|
|
6716
|
+
"type": "boolean"
|
|
6717
|
+
},
|
|
6718
|
+
"continue": {
|
|
6719
|
+
"description": "Commit a resolved merge on promotion/<name> and finish the remaining story merges. Requires --promotion.",
|
|
6720
|
+
"exclusive": [
|
|
6721
|
+
"abort"
|
|
6722
|
+
],
|
|
6723
|
+
"name": "continue",
|
|
6276
6724
|
"allowNo": false,
|
|
6277
6725
|
"type": "boolean"
|
|
6278
6726
|
},
|
|
6279
6727
|
"deploy": {
|
|
6280
|
-
"description": "
|
|
6728
|
+
"description": "Deploy the promotion metadata with sf project deploy start, then merge the promotion branch into the destination branch and set the promotion status to Completed. Requires --sf-alias.",
|
|
6729
|
+
"exclusive": [
|
|
6730
|
+
"validate"
|
|
6731
|
+
],
|
|
6281
6732
|
"name": "deploy",
|
|
6282
6733
|
"allowNo": false,
|
|
6283
6734
|
"type": "boolean"
|
|
6284
6735
|
},
|
|
6285
|
-
"
|
|
6286
|
-
"
|
|
6287
|
-
|
|
6736
|
+
"destination-branch": {
|
|
6737
|
+
"dependsOn": [
|
|
6738
|
+
"backpromote"
|
|
6739
|
+
],
|
|
6740
|
+
"description": "Destination environment Git branch for --backpromote. The destination environment is the pipeline environment whose connection branch matches this name.",
|
|
6741
|
+
"name": "destination-branch",
|
|
6288
6742
|
"hasDynamicHelp": false,
|
|
6289
|
-
"multiple":
|
|
6743
|
+
"multiple": false,
|
|
6290
6744
|
"type": "option"
|
|
6291
6745
|
},
|
|
6292
|
-
"
|
|
6293
|
-
"description": "
|
|
6294
|
-
"name": "
|
|
6746
|
+
"destination-credential": {
|
|
6747
|
+
"description": "Credential ID posted as destinationCredentialId. Defaults to the destination environment default credential for a forward promotion, or the next/source environment default credential for --backpromote.",
|
|
6748
|
+
"name": "destination-credential",
|
|
6295
6749
|
"hasDynamicHelp": false,
|
|
6296
6750
|
"multiple": false,
|
|
6297
6751
|
"type": "option"
|
|
6298
6752
|
},
|
|
6299
|
-
"promotion
|
|
6300
|
-
"description": "
|
|
6301
|
-
"name": "promotion
|
|
6753
|
+
"promotion": {
|
|
6754
|
+
"description": "Promotion Id or name for --continue after a merge conflict, or for --abort.",
|
|
6755
|
+
"name": "promotion",
|
|
6302
6756
|
"hasDynamicHelp": false,
|
|
6303
6757
|
"multiple": false,
|
|
6304
6758
|
"type": "option"
|
|
6305
6759
|
},
|
|
6306
|
-
"
|
|
6307
|
-
"description": "
|
|
6308
|
-
"name": "
|
|
6309
|
-
"allowNo": false,
|
|
6310
|
-
"type": "boolean"
|
|
6311
|
-
},
|
|
6312
|
-
"wait": {
|
|
6313
|
-
"description": "Poll promotion and deployment executions to terminal status.",
|
|
6314
|
-
"name": "wait",
|
|
6315
|
-
"allowNo": true,
|
|
6316
|
-
"type": "boolean"
|
|
6317
|
-
},
|
|
6318
|
-
"wait-timeout": {
|
|
6319
|
-
"description": "Maximum total seconds to wait for promotion and deployment executions.",
|
|
6320
|
-
"name": "wait-timeout",
|
|
6321
|
-
"default": 900,
|
|
6760
|
+
"sf-alias": {
|
|
6761
|
+
"description": "Salesforce org alias or username for --validate or --deploy. Passed to sf project deploy start -o.",
|
|
6762
|
+
"name": "sf-alias",
|
|
6322
6763
|
"hasDynamicHelp": false,
|
|
6323
6764
|
"multiple": false,
|
|
6324
6765
|
"type": "option"
|
|
6325
6766
|
},
|
|
6326
|
-
"
|
|
6327
|
-
"
|
|
6328
|
-
"
|
|
6329
|
-
|
|
6767
|
+
"validate": {
|
|
6768
|
+
"description": "Validate the promotion metadata with sf project deploy start --dry-run. Does not merge the destination branch. Sets the promotion status to Validated. Requires --sf-alias.",
|
|
6769
|
+
"exclusive": [
|
|
6770
|
+
"deploy"
|
|
6771
|
+
],
|
|
6772
|
+
"name": "validate",
|
|
6330
6773
|
"allowNo": false,
|
|
6331
6774
|
"type": "boolean"
|
|
6332
6775
|
}
|
|
@@ -6470,7 +6913,7 @@
|
|
|
6470
6913
|
"required": false
|
|
6471
6914
|
}
|
|
6472
6915
|
},
|
|
6473
|
-
"description": "Set the active work item and prepare a local feature branch. Calls the CICD gateway work/set endpoint, requires a clean tracked working tree, fetches the work item base branch from origin, fetches the feature branch when it exists on origin, then creates or checks out feature/<user-story-name> from the remote feature branch when present, otherwise from the base branch. A gateway warning prints the message, skips git, and
|
|
6916
|
+
"description": "Set the active work item and prepare a local feature branch. Calls the CICD gateway work/set endpoint, requires a clean tracked working tree, fetches the work item base branch from origin, fetches the feature branch when it exists on origin, then creates or checks out feature/<user-story-name> from the remote feature branch when present, otherwise from the base branch. A gateway warning prints the message, skips git, clears lastBaseBranch/lastDevOrgBranch/lastPullRequestBaseUrl, and records lastWorkItemId/lastWorkItem/lastWorkItemTitle from the returned work item. After work/set returns, compares the Story source credential with the CICD project default: warns when the default or Story credential is missing, and warns without changing the Story when they differ (shows the current credential and environment; use work update to change it). With --none, clears every last* key from `.agentia/config.user.json` and checks out the previous lastBaseBranch when present, else main, else master, else stays put.",
|
|
6474
6917
|
"examples": [
|
|
6475
6918
|
"<%= config.bin %> <%= command.id %> a0SKC000000CmZ2AU",
|
|
6476
6919
|
"<%= config.bin %> <%= command.id %> US-0001 --json",
|
|
@@ -6567,7 +7010,7 @@
|
|
|
6567
7010
|
"cicd:work:submit": {
|
|
6568
7011
|
"aliases": [],
|
|
6569
7012
|
"args": {},
|
|
6570
|
-
"description": "Submit the current feature/<lastWorkItem> work item for pipeline quality gates and validation. Runs project-root .agentia_quality_gates.sh (macOS/Linux) or .agentia_quality_gates.cmd (Windows) when present, pushes and registers commits when the branch is ahead of origin, then calls headless work/submit (Promote Action with validate=true). When the last pending related job template name contains Commit, waits up to 5 minutes for that job before submitting. With --done or --deploy, matches Copado UI Submit when promoting (validate=false / headless work/done). cicd work done is a compatibility alias of this command with --done.",
|
|
7013
|
+
"description": "Submit the current feature/<lastWorkItem> work item for pipeline quality gates and validation. Runs project-root .agentia_quality_gates.sh (macOS/Linux) or .agentia_quality_gates.cmd (Windows) when present, pushes and registers commits when the branch is ahead of origin, then calls headless work/submit (Promote Action with validate=true). When the last pending related job template name contains Commit, waits up to 5 minutes for that job before submitting. Before submit or promote, counts user stories ahead and behind between the source environment and the next pipeline environment, and warns when stories behind might cause promotion conflicts. With --done or --deploy, matches Copado UI Submit when promoting (validate=false / headless work/done). cicd work done is a compatibility alias of this command with --done.",
|
|
6571
7014
|
"examples": [
|
|
6572
7015
|
"<%= config.bin %> <%= command.id %>",
|
|
6573
7016
|
"<%= config.bin %> <%= command.id %> --apex-test-classes=MyTest,OtherTest",
|
|
@@ -9687,13 +10130,18 @@
|
|
|
9687
10130
|
"upload.js"
|
|
9688
10131
|
]
|
|
9689
10132
|
},
|
|
9690
|
-
"testing:
|
|
10133
|
+
"testing:live:continue": {
|
|
9691
10134
|
"aliases": [],
|
|
9692
|
-
"args": {
|
|
9693
|
-
|
|
10135
|
+
"args": {
|
|
10136
|
+
"job-id": {
|
|
10137
|
+
"description": "Optional CRT job/test ID guard.",
|
|
10138
|
+
"name": "job-id",
|
|
10139
|
+
"required": false
|
|
10140
|
+
}
|
|
10141
|
+
},
|
|
10142
|
+
"description": "Continue paused Robot execution in the active CRT live session",
|
|
9694
10143
|
"examples": [
|
|
9695
|
-
"<%= config.bin %> <%= command.id %> --
|
|
9696
|
-
"<%= config.bin %> <%= command.id %> --name \"QA Tests\" --description \"Smoke suite\" --json"
|
|
10144
|
+
"<%= config.bin %> <%= command.id %> --project <project-id>"
|
|
9697
10145
|
],
|
|
9698
10146
|
"flags": {
|
|
9699
10147
|
"json": {
|
|
@@ -9703,55 +10151,26 @@
|
|
|
9703
10151
|
"allowNo": false,
|
|
9704
10152
|
"type": "boolean"
|
|
9705
10153
|
},
|
|
9706
|
-
"
|
|
9707
|
-
"
|
|
9708
|
-
"
|
|
9709
|
-
"
|
|
9710
|
-
"multiple": false,
|
|
9711
|
-
"type": "option"
|
|
9712
|
-
},
|
|
9713
|
-
"description": {
|
|
9714
|
-
"description": "Project description.",
|
|
9715
|
-
"name": "description",
|
|
9716
|
-
"hasDynamicHelp": false,
|
|
9717
|
-
"multiple": false,
|
|
9718
|
-
"type": "option"
|
|
9719
|
-
},
|
|
9720
|
-
"executor": {
|
|
9721
|
-
"description": "Project execution backend.",
|
|
9722
|
-
"name": "executor",
|
|
9723
|
-
"hasDynamicHelp": false,
|
|
9724
|
-
"multiple": false,
|
|
9725
|
-
"options": [
|
|
9726
|
-
"jenkins",
|
|
9727
|
-
"kubernetes"
|
|
9728
|
-
],
|
|
9729
|
-
"type": "option"
|
|
9730
|
-
},
|
|
9731
|
-
"name": {
|
|
9732
|
-
"description": "Project name.",
|
|
9733
|
-
"name": "name",
|
|
10154
|
+
"project": {
|
|
10155
|
+
"char": "p",
|
|
10156
|
+
"description": "CRT project ID.",
|
|
10157
|
+
"name": "project",
|
|
9734
10158
|
"required": true,
|
|
9735
10159
|
"hasDynamicHelp": false,
|
|
9736
10160
|
"multiple": false,
|
|
9737
10161
|
"type": "option"
|
|
9738
10162
|
},
|
|
9739
|
-
"
|
|
9740
|
-
"description": "CRT
|
|
9741
|
-
"name": "
|
|
9742
|
-
"default": "ta",
|
|
10163
|
+
"session-id": {
|
|
10164
|
+
"description": "Guard that must match the locally active CRT live session.",
|
|
10165
|
+
"name": "session-id",
|
|
9743
10166
|
"hasDynamicHelp": false,
|
|
9744
10167
|
"multiple": false,
|
|
9745
|
-
"options": [
|
|
9746
|
-
"ta",
|
|
9747
|
-
"rpa"
|
|
9748
|
-
],
|
|
9749
10168
|
"type": "option"
|
|
9750
10169
|
}
|
|
9751
10170
|
},
|
|
9752
10171
|
"hasDynamicHelp": false,
|
|
9753
10172
|
"hiddenAliases": [],
|
|
9754
|
-
"id": "testing:
|
|
10173
|
+
"id": "testing:live:continue",
|
|
9755
10174
|
"pluginAlias": "@copado/agentia-cli",
|
|
9756
10175
|
"pluginName": "@copado/agentia-cli",
|
|
9757
10176
|
"pluginType": "core",
|
|
@@ -9762,23 +10181,23 @@
|
|
|
9762
10181
|
"dist",
|
|
9763
10182
|
"commands",
|
|
9764
10183
|
"testing",
|
|
9765
|
-
"
|
|
9766
|
-
"
|
|
10184
|
+
"live",
|
|
10185
|
+
"continue.js"
|
|
9767
10186
|
]
|
|
9768
10187
|
},
|
|
9769
|
-
"testing:
|
|
10188
|
+
"testing:live:execute": {
|
|
9770
10189
|
"aliases": [],
|
|
9771
10190
|
"args": {
|
|
9772
|
-
"id": {
|
|
9773
|
-
"description": "CRT
|
|
9774
|
-
"name": "id",
|
|
9775
|
-
"required":
|
|
10191
|
+
"job-id": {
|
|
10192
|
+
"description": "Optional CRT job/test ID guard.",
|
|
10193
|
+
"name": "job-id",
|
|
10194
|
+
"required": false
|
|
9776
10195
|
}
|
|
9777
10196
|
},
|
|
9778
|
-
"description": "
|
|
10197
|
+
"description": "Execute bounded Robot Framework keywords in an active CRT live session",
|
|
9779
10198
|
"examples": [
|
|
9780
|
-
"<%= config.bin %> <%= command.id %> <project-id> --
|
|
9781
|
-
"<%= config.bin %> <%= command.id %> <project-id> --
|
|
10199
|
+
"<%= config.bin %> <%= command.id %> --project <project-id> --keyword GoTo --arg https://example.com",
|
|
10200
|
+
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --file smoke.robot --section Login"
|
|
9782
10201
|
],
|
|
9783
10202
|
"flags": {
|
|
9784
10203
|
"json": {
|
|
@@ -9788,17 +10207,74 @@
|
|
|
9788
10207
|
"allowNo": false,
|
|
9789
10208
|
"type": "boolean"
|
|
9790
10209
|
},
|
|
9791
|
-
"
|
|
9792
|
-
"char": "
|
|
9793
|
-
"description": "
|
|
9794
|
-
"name": "
|
|
10210
|
+
"project": {
|
|
10211
|
+
"char": "p",
|
|
10212
|
+
"description": "CRT project ID.",
|
|
10213
|
+
"name": "project",
|
|
10214
|
+
"required": true,
|
|
10215
|
+
"hasDynamicHelp": false,
|
|
10216
|
+
"multiple": false,
|
|
10217
|
+
"type": "option"
|
|
10218
|
+
},
|
|
10219
|
+
"session-id": {
|
|
10220
|
+
"description": "Guard that must match the locally active CRT live session.",
|
|
10221
|
+
"name": "session-id",
|
|
10222
|
+
"hasDynamicHelp": false,
|
|
10223
|
+
"multiple": false,
|
|
10224
|
+
"type": "option"
|
|
10225
|
+
},
|
|
10226
|
+
"arg": {
|
|
10227
|
+
"description": "Keyword argument. Repeat to preserve argument boundaries.",
|
|
10228
|
+
"name": "arg",
|
|
10229
|
+
"hasDynamicHelp": false,
|
|
10230
|
+
"multiple": true,
|
|
10231
|
+
"type": "option"
|
|
10232
|
+
},
|
|
10233
|
+
"file": {
|
|
10234
|
+
"description": "Robot Framework input file.",
|
|
10235
|
+
"name": "file",
|
|
10236
|
+
"hasDynamicHelp": false,
|
|
10237
|
+
"multiple": false,
|
|
10238
|
+
"type": "option"
|
|
10239
|
+
},
|
|
10240
|
+
"keyword": {
|
|
10241
|
+
"description": "Robot Framework keyword name.",
|
|
10242
|
+
"name": "keyword",
|
|
10243
|
+
"hasDynamicHelp": false,
|
|
10244
|
+
"multiple": false,
|
|
10245
|
+
"type": "option"
|
|
10246
|
+
},
|
|
10247
|
+
"line": {
|
|
10248
|
+
"description": "Raw Robot Framework keyword line. Repeat for multiple lines.",
|
|
10249
|
+
"name": "line",
|
|
10250
|
+
"hasDynamicHelp": false,
|
|
10251
|
+
"multiple": true,
|
|
10252
|
+
"type": "option"
|
|
10253
|
+
},
|
|
10254
|
+
"raw": {
|
|
10255
|
+
"description": "Treat file input as raw keyword lines.",
|
|
10256
|
+
"name": "raw",
|
|
9795
10257
|
"allowNo": false,
|
|
9796
10258
|
"type": "boolean"
|
|
10259
|
+
},
|
|
10260
|
+
"section": {
|
|
10261
|
+
"description": "Robot test/task name to execute.",
|
|
10262
|
+
"name": "section",
|
|
10263
|
+
"hasDynamicHelp": false,
|
|
10264
|
+
"multiple": false,
|
|
10265
|
+
"type": "option"
|
|
10266
|
+
},
|
|
10267
|
+
"section-index": {
|
|
10268
|
+
"description": "One-based Robot test/task index to execute.",
|
|
10269
|
+
"name": "section-index",
|
|
10270
|
+
"hasDynamicHelp": false,
|
|
10271
|
+
"multiple": false,
|
|
10272
|
+
"type": "option"
|
|
9797
10273
|
}
|
|
9798
10274
|
},
|
|
9799
10275
|
"hasDynamicHelp": false,
|
|
9800
10276
|
"hiddenAliases": [],
|
|
9801
|
-
"id": "testing:
|
|
10277
|
+
"id": "testing:live:execute",
|
|
9802
10278
|
"pluginAlias": "@copado/agentia-cli",
|
|
9803
10279
|
"pluginName": "@copado/agentia-cli",
|
|
9804
10280
|
"pluginType": "core",
|
|
@@ -9809,23 +10285,22 @@
|
|
|
9809
10285
|
"dist",
|
|
9810
10286
|
"commands",
|
|
9811
10287
|
"testing",
|
|
9812
|
-
"
|
|
9813
|
-
"
|
|
10288
|
+
"live",
|
|
10289
|
+
"execute.js"
|
|
9814
10290
|
]
|
|
9815
10291
|
},
|
|
9816
|
-
"testing:
|
|
10292
|
+
"testing:live:history": {
|
|
9817
10293
|
"aliases": [],
|
|
9818
10294
|
"args": {
|
|
9819
|
-
"id": {
|
|
9820
|
-
"description": "CRT
|
|
9821
|
-
"name": "id",
|
|
9822
|
-
"required":
|
|
9823
|
-
}
|
|
9824
|
-
},
|
|
9825
|
-
"description": "
|
|
10295
|
+
"job-id": {
|
|
10296
|
+
"description": "CRT job/test ID; defaults to the active session.",
|
|
10297
|
+
"name": "job-id",
|
|
10298
|
+
"required": false
|
|
10299
|
+
}
|
|
10300
|
+
},
|
|
10301
|
+
"description": "Read bounded sanitized local CRT live execution history",
|
|
9826
10302
|
"examples": [
|
|
9827
|
-
"<%= config.bin %> <%= command.id %> <project-id>"
|
|
9828
|
-
"<%= config.bin %> <%= command.id %> <project-id> --json"
|
|
10303
|
+
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --limit 20 --json"
|
|
9829
10304
|
],
|
|
9830
10305
|
"flags": {
|
|
9831
10306
|
"json": {
|
|
@@ -9834,11 +10309,47 @@
|
|
|
9834
10309
|
"name": "json",
|
|
9835
10310
|
"allowNo": false,
|
|
9836
10311
|
"type": "boolean"
|
|
10312
|
+
},
|
|
10313
|
+
"project": {
|
|
10314
|
+
"char": "p",
|
|
10315
|
+
"description": "CRT project ID.",
|
|
10316
|
+
"name": "project",
|
|
10317
|
+
"required": true,
|
|
10318
|
+
"hasDynamicHelp": false,
|
|
10319
|
+
"multiple": false,
|
|
10320
|
+
"type": "option"
|
|
10321
|
+
},
|
|
10322
|
+
"session-id": {
|
|
10323
|
+
"description": "Guard that must match the locally active CRT live session.",
|
|
10324
|
+
"name": "session-id",
|
|
10325
|
+
"hasDynamicHelp": false,
|
|
10326
|
+
"multiple": false,
|
|
10327
|
+
"type": "option"
|
|
10328
|
+
},
|
|
10329
|
+
"limit": {
|
|
10330
|
+
"description": "Maximum records to return.",
|
|
10331
|
+
"name": "limit",
|
|
10332
|
+
"default": 10,
|
|
10333
|
+
"hasDynamicHelp": false,
|
|
10334
|
+
"multiple": false,
|
|
10335
|
+
"type": "option"
|
|
10336
|
+
},
|
|
10337
|
+
"status": {
|
|
10338
|
+
"description": "Execution status filter.",
|
|
10339
|
+
"name": "status",
|
|
10340
|
+
"hasDynamicHelp": false,
|
|
10341
|
+
"multiple": false,
|
|
10342
|
+
"options": [
|
|
10343
|
+
"completed",
|
|
10344
|
+
"failed",
|
|
10345
|
+
"recorded"
|
|
10346
|
+
],
|
|
10347
|
+
"type": "option"
|
|
9837
10348
|
}
|
|
9838
10349
|
},
|
|
9839
10350
|
"hasDynamicHelp": false,
|
|
9840
10351
|
"hiddenAliases": [],
|
|
9841
|
-
"id": "testing:
|
|
10352
|
+
"id": "testing:live:history",
|
|
9842
10353
|
"pluginAlias": "@copado/agentia-cli",
|
|
9843
10354
|
"pluginName": "@copado/agentia-cli",
|
|
9844
10355
|
"pluginType": "core",
|
|
@@ -9849,17 +10360,23 @@
|
|
|
9849
10360
|
"dist",
|
|
9850
10361
|
"commands",
|
|
9851
10362
|
"testing",
|
|
9852
|
-
"
|
|
9853
|
-
"
|
|
10363
|
+
"live",
|
|
10364
|
+
"history.js"
|
|
9854
10365
|
]
|
|
9855
10366
|
},
|
|
9856
|
-
"testing:
|
|
10367
|
+
"testing:live:inspect": {
|
|
9857
10368
|
"aliases": [],
|
|
9858
|
-
"args": {
|
|
9859
|
-
|
|
10369
|
+
"args": {
|
|
10370
|
+
"job-id": {
|
|
10371
|
+
"description": "Optional CRT job/test ID guard.",
|
|
10372
|
+
"name": "job-id",
|
|
10373
|
+
"required": false
|
|
10374
|
+
}
|
|
10375
|
+
},
|
|
10376
|
+
"description": "Inspect bounded, sanitized page state from an active CRT live session",
|
|
9860
10377
|
"examples": [
|
|
9861
|
-
"<%= config.bin %> <%= command.id %>",
|
|
9862
|
-
"<%= config.bin %> <%= command.id %> --
|
|
10378
|
+
"<%= config.bin %> <%= command.id %> --project <project-id> --json",
|
|
10379
|
+
"<%= config.bin %> <%= command.id %> --project <project-id> --dom --output page.html"
|
|
9863
10380
|
],
|
|
9864
10381
|
"flags": {
|
|
9865
10382
|
"json": {
|
|
@@ -9869,9 +10386,34 @@
|
|
|
9869
10386
|
"allowNo": false,
|
|
9870
10387
|
"type": "boolean"
|
|
9871
10388
|
},
|
|
9872
|
-
"
|
|
9873
|
-
"
|
|
9874
|
-
"
|
|
10389
|
+
"project": {
|
|
10390
|
+
"char": "p",
|
|
10391
|
+
"description": "CRT project ID.",
|
|
10392
|
+
"name": "project",
|
|
10393
|
+
"required": true,
|
|
10394
|
+
"hasDynamicHelp": false,
|
|
10395
|
+
"multiple": false,
|
|
10396
|
+
"type": "option"
|
|
10397
|
+
},
|
|
10398
|
+
"session-id": {
|
|
10399
|
+
"description": "Guard that must match the locally active CRT live session.",
|
|
10400
|
+
"name": "session-id",
|
|
10401
|
+
"hasDynamicHelp": false,
|
|
10402
|
+
"multiple": false,
|
|
10403
|
+
"type": "option"
|
|
10404
|
+
},
|
|
10405
|
+
"dom": {
|
|
10406
|
+
"description": "Fetch raw page DOM; requires --output.",
|
|
10407
|
+
"name": "dom",
|
|
10408
|
+
"allowNo": false,
|
|
10409
|
+
"type": "boolean"
|
|
10410
|
+
},
|
|
10411
|
+
"output": {
|
|
10412
|
+
"dependsOn": [
|
|
10413
|
+
"dom"
|
|
10414
|
+
],
|
|
10415
|
+
"description": "Explicit file path for raw DOM.",
|
|
10416
|
+
"name": "output",
|
|
9875
10417
|
"hasDynamicHelp": false,
|
|
9876
10418
|
"multiple": false,
|
|
9877
10419
|
"type": "option"
|
|
@@ -9879,7 +10421,7 @@
|
|
|
9879
10421
|
},
|
|
9880
10422
|
"hasDynamicHelp": false,
|
|
9881
10423
|
"hiddenAliases": [],
|
|
9882
|
-
"id": "testing:
|
|
10424
|
+
"id": "testing:live:inspect",
|
|
9883
10425
|
"pluginAlias": "@copado/agentia-cli",
|
|
9884
10426
|
"pluginName": "@copado/agentia-cli",
|
|
9885
10427
|
"pluginType": "core",
|
|
@@ -9890,23 +10432,22 @@
|
|
|
9890
10432
|
"dist",
|
|
9891
10433
|
"commands",
|
|
9892
10434
|
"testing",
|
|
9893
|
-
"
|
|
9894
|
-
"
|
|
10435
|
+
"live",
|
|
10436
|
+
"inspect.js"
|
|
9895
10437
|
]
|
|
9896
10438
|
},
|
|
9897
|
-
"testing:
|
|
10439
|
+
"testing:live:interrupt": {
|
|
9898
10440
|
"aliases": [],
|
|
9899
10441
|
"args": {
|
|
9900
|
-
"id": {
|
|
9901
|
-
"description": "CRT
|
|
9902
|
-
"name": "id",
|
|
9903
|
-
"required":
|
|
10442
|
+
"job-id": {
|
|
10443
|
+
"description": "Optional CRT job/test ID guard.",
|
|
10444
|
+
"name": "job-id",
|
|
10445
|
+
"required": false
|
|
9904
10446
|
}
|
|
9905
10447
|
},
|
|
9906
|
-
"description": "
|
|
10448
|
+
"description": "Interrupt Robot execution in the active CRT live session",
|
|
9907
10449
|
"examples": [
|
|
9908
|
-
"<%= config.bin %> <%= command.id %> <project-id>
|
|
9909
|
-
"<%= config.bin %> <%= command.id %> <project-id> --description \"Regression suites\" --json"
|
|
10450
|
+
"<%= config.bin %> <%= command.id %> --project <project-id>"
|
|
9910
10451
|
],
|
|
9911
10452
|
"flags": {
|
|
9912
10453
|
"json": {
|
|
@@ -9916,16 +10457,18 @@
|
|
|
9916
10457
|
"allowNo": false,
|
|
9917
10458
|
"type": "boolean"
|
|
9918
10459
|
},
|
|
9919
|
-
"
|
|
9920
|
-
"
|
|
9921
|
-
"
|
|
10460
|
+
"project": {
|
|
10461
|
+
"char": "p",
|
|
10462
|
+
"description": "CRT project ID.",
|
|
10463
|
+
"name": "project",
|
|
10464
|
+
"required": true,
|
|
9922
10465
|
"hasDynamicHelp": false,
|
|
9923
10466
|
"multiple": false,
|
|
9924
10467
|
"type": "option"
|
|
9925
10468
|
},
|
|
9926
|
-
"
|
|
9927
|
-
"description": "
|
|
9928
|
-
"name": "
|
|
10469
|
+
"session-id": {
|
|
10470
|
+
"description": "Guard that must match the locally active CRT live session.",
|
|
10471
|
+
"name": "session-id",
|
|
9929
10472
|
"hasDynamicHelp": false,
|
|
9930
10473
|
"multiple": false,
|
|
9931
10474
|
"type": "option"
|
|
@@ -9933,7 +10476,7 @@
|
|
|
9933
10476
|
},
|
|
9934
10477
|
"hasDynamicHelp": false,
|
|
9935
10478
|
"hiddenAliases": [],
|
|
9936
|
-
"id": "testing:
|
|
10479
|
+
"id": "testing:live:interrupt",
|
|
9937
10480
|
"pluginAlias": "@copado/agentia-cli",
|
|
9938
10481
|
"pluginName": "@copado/agentia-cli",
|
|
9939
10482
|
"pluginType": "core",
|
|
@@ -9944,11 +10487,11 @@
|
|
|
9944
10487
|
"dist",
|
|
9945
10488
|
"commands",
|
|
9946
10489
|
"testing",
|
|
9947
|
-
"
|
|
9948
|
-
"
|
|
10490
|
+
"live",
|
|
10491
|
+
"interrupt.js"
|
|
9949
10492
|
]
|
|
9950
10493
|
},
|
|
9951
|
-
"testing:live:
|
|
10494
|
+
"testing:live:recorder": {
|
|
9952
10495
|
"aliases": [],
|
|
9953
10496
|
"args": {
|
|
9954
10497
|
"job-id": {
|
|
@@ -9957,18 +10500,31 @@
|
|
|
9957
10500
|
"required": false
|
|
9958
10501
|
}
|
|
9959
10502
|
},
|
|
9960
|
-
"description": "
|
|
10503
|
+
"description": "Record CRT live interactions as bounded Robot Framework lines",
|
|
9961
10504
|
"examples": [
|
|
9962
|
-
"<%= config.bin %> <%= command.id %> --project <project-id>"
|
|
10505
|
+
"<%= config.bin %> <%= command.id %> --project <project-id> --output recorded.robot"
|
|
9963
10506
|
],
|
|
9964
10507
|
"flags": {
|
|
9965
|
-
"
|
|
9966
|
-
"description": "
|
|
9967
|
-
"
|
|
9968
|
-
"
|
|
10508
|
+
"debug": {
|
|
10509
|
+
"description": "Print frame sizes and event types without frame bodies.",
|
|
10510
|
+
"name": "debug",
|
|
10511
|
+
"allowNo": false,
|
|
10512
|
+
"type": "boolean"
|
|
10513
|
+
},
|
|
10514
|
+
"no-enable": {
|
|
10515
|
+
"description": "Do not manage the server recorder toggle.",
|
|
10516
|
+
"name": "no-enable",
|
|
9969
10517
|
"allowNo": false,
|
|
9970
10518
|
"type": "boolean"
|
|
9971
10519
|
},
|
|
10520
|
+
"output": {
|
|
10521
|
+
"char": "o",
|
|
10522
|
+
"description": "Explicit .robot file to append recorded keywords to.",
|
|
10523
|
+
"name": "output",
|
|
10524
|
+
"hasDynamicHelp": false,
|
|
10525
|
+
"multiple": false,
|
|
10526
|
+
"type": "option"
|
|
10527
|
+
},
|
|
9972
10528
|
"project": {
|
|
9973
10529
|
"char": "p",
|
|
9974
10530
|
"description": "CRT project ID.",
|
|
@@ -9979,7 +10535,7 @@
|
|
|
9979
10535
|
"type": "option"
|
|
9980
10536
|
},
|
|
9981
10537
|
"session-id": {
|
|
9982
|
-
"description": "Guard that must match the
|
|
10538
|
+
"description": "Guard that must match the active CRT live session.",
|
|
9983
10539
|
"name": "session-id",
|
|
9984
10540
|
"hasDynamicHelp": false,
|
|
9985
10541
|
"multiple": false,
|
|
@@ -9988,22 +10544,22 @@
|
|
|
9988
10544
|
},
|
|
9989
10545
|
"hasDynamicHelp": false,
|
|
9990
10546
|
"hiddenAliases": [],
|
|
9991
|
-
"id": "testing:live:
|
|
10547
|
+
"id": "testing:live:recorder",
|
|
9992
10548
|
"pluginAlias": "@copado/agentia-cli",
|
|
9993
10549
|
"pluginName": "@copado/agentia-cli",
|
|
9994
10550
|
"pluginType": "core",
|
|
9995
10551
|
"strict": true,
|
|
9996
|
-
"enableJsonFlag":
|
|
10552
|
+
"enableJsonFlag": false,
|
|
9997
10553
|
"isESM": true,
|
|
9998
10554
|
"relativePath": [
|
|
9999
10555
|
"dist",
|
|
10000
10556
|
"commands",
|
|
10001
10557
|
"testing",
|
|
10002
10558
|
"live",
|
|
10003
|
-
"
|
|
10559
|
+
"recorder.js"
|
|
10004
10560
|
]
|
|
10005
10561
|
},
|
|
10006
|
-
"testing:live:
|
|
10562
|
+
"testing:live:reports": {
|
|
10007
10563
|
"aliases": [],
|
|
10008
10564
|
"args": {
|
|
10009
10565
|
"job-id": {
|
|
@@ -10012,10 +10568,10 @@
|
|
|
10012
10568
|
"required": false
|
|
10013
10569
|
}
|
|
10014
10570
|
},
|
|
10015
|
-
"description": "
|
|
10571
|
+
"description": "List or save bounded report artifacts from an active CRT live session",
|
|
10016
10572
|
"examples": [
|
|
10017
|
-
"<%= config.bin %> <%= command.id %> --project <project-id>
|
|
10018
|
-
"<%= config.bin %> <%= command.id %>
|
|
10573
|
+
"<%= config.bin %> <%= command.id %> --project <project-id>",
|
|
10574
|
+
"<%= config.bin %> <%= command.id %> --project <project-id> --output-dir ./reports"
|
|
10019
10575
|
],
|
|
10020
10576
|
"flags": {
|
|
10021
10577
|
"json": {
|
|
@@ -10041,50 +10597,9 @@
|
|
|
10041
10597
|
"multiple": false,
|
|
10042
10598
|
"type": "option"
|
|
10043
10599
|
},
|
|
10044
|
-
"
|
|
10045
|
-
"description": "
|
|
10046
|
-
"name": "
|
|
10047
|
-
"hasDynamicHelp": false,
|
|
10048
|
-
"multiple": true,
|
|
10049
|
-
"type": "option"
|
|
10050
|
-
},
|
|
10051
|
-
"file": {
|
|
10052
|
-
"description": "Robot Framework input file.",
|
|
10053
|
-
"name": "file",
|
|
10054
|
-
"hasDynamicHelp": false,
|
|
10055
|
-
"multiple": false,
|
|
10056
|
-
"type": "option"
|
|
10057
|
-
},
|
|
10058
|
-
"keyword": {
|
|
10059
|
-
"description": "Robot Framework keyword name.",
|
|
10060
|
-
"name": "keyword",
|
|
10061
|
-
"hasDynamicHelp": false,
|
|
10062
|
-
"multiple": false,
|
|
10063
|
-
"type": "option"
|
|
10064
|
-
},
|
|
10065
|
-
"line": {
|
|
10066
|
-
"description": "Raw Robot Framework keyword line. Repeat for multiple lines.",
|
|
10067
|
-
"name": "line",
|
|
10068
|
-
"hasDynamicHelp": false,
|
|
10069
|
-
"multiple": true,
|
|
10070
|
-
"type": "option"
|
|
10071
|
-
},
|
|
10072
|
-
"raw": {
|
|
10073
|
-
"description": "Treat file input as raw keyword lines.",
|
|
10074
|
-
"name": "raw",
|
|
10075
|
-
"allowNo": false,
|
|
10076
|
-
"type": "boolean"
|
|
10077
|
-
},
|
|
10078
|
-
"section": {
|
|
10079
|
-
"description": "Robot test/task name to execute.",
|
|
10080
|
-
"name": "section",
|
|
10081
|
-
"hasDynamicHelp": false,
|
|
10082
|
-
"multiple": false,
|
|
10083
|
-
"type": "option"
|
|
10084
|
-
},
|
|
10085
|
-
"section-index": {
|
|
10086
|
-
"description": "One-based Robot test/task index to execute.",
|
|
10087
|
-
"name": "section-index",
|
|
10600
|
+
"output-dir": {
|
|
10601
|
+
"description": "Explicit directory for log.html, report.html, and output.xml.",
|
|
10602
|
+
"name": "output-dir",
|
|
10088
10603
|
"hasDynamicHelp": false,
|
|
10089
10604
|
"multiple": false,
|
|
10090
10605
|
"type": "option"
|
|
@@ -10092,7 +10607,7 @@
|
|
|
10092
10607
|
},
|
|
10093
10608
|
"hasDynamicHelp": false,
|
|
10094
10609
|
"hiddenAliases": [],
|
|
10095
|
-
"id": "testing:live:
|
|
10610
|
+
"id": "testing:live:reports",
|
|
10096
10611
|
"pluginAlias": "@copado/agentia-cli",
|
|
10097
10612
|
"pluginName": "@copado/agentia-cli",
|
|
10098
10613
|
"pluginType": "core",
|
|
@@ -10104,21 +10619,21 @@
|
|
|
10104
10619
|
"commands",
|
|
10105
10620
|
"testing",
|
|
10106
10621
|
"live",
|
|
10107
|
-
"
|
|
10622
|
+
"reports.js"
|
|
10108
10623
|
]
|
|
10109
10624
|
},
|
|
10110
|
-
"testing:live:
|
|
10625
|
+
"testing:live:screenshot": {
|
|
10111
10626
|
"aliases": [],
|
|
10112
10627
|
"args": {
|
|
10113
10628
|
"job-id": {
|
|
10114
|
-
"description": "CRT job/test ID
|
|
10629
|
+
"description": "Optional CRT job/test ID guard.",
|
|
10115
10630
|
"name": "job-id",
|
|
10116
10631
|
"required": false
|
|
10117
10632
|
}
|
|
10118
10633
|
},
|
|
10119
|
-
"description": "
|
|
10634
|
+
"description": "Save a bounded CRT live browser screenshot to an explicit file",
|
|
10120
10635
|
"examples": [
|
|
10121
|
-
"<%= config.bin %> <%= command.id %>
|
|
10636
|
+
"<%= config.bin %> <%= command.id %> --project <project-id> --output screenshot.png"
|
|
10122
10637
|
],
|
|
10123
10638
|
"flags": {
|
|
10124
10639
|
"json": {
|
|
@@ -10144,30 +10659,19 @@
|
|
|
10144
10659
|
"multiple": false,
|
|
10145
10660
|
"type": "option"
|
|
10146
10661
|
},
|
|
10147
|
-
"
|
|
10148
|
-
"
|
|
10149
|
-
"
|
|
10150
|
-
"
|
|
10662
|
+
"output": {
|
|
10663
|
+
"char": "o",
|
|
10664
|
+
"description": "Explicit screenshot output path.",
|
|
10665
|
+
"name": "output",
|
|
10666
|
+
"required": true,
|
|
10151
10667
|
"hasDynamicHelp": false,
|
|
10152
10668
|
"multiple": false,
|
|
10153
10669
|
"type": "option"
|
|
10154
|
-
},
|
|
10155
|
-
"status": {
|
|
10156
|
-
"description": "Execution status filter.",
|
|
10157
|
-
"name": "status",
|
|
10158
|
-
"hasDynamicHelp": false,
|
|
10159
|
-
"multiple": false,
|
|
10160
|
-
"options": [
|
|
10161
|
-
"completed",
|
|
10162
|
-
"failed",
|
|
10163
|
-
"recorded"
|
|
10164
|
-
],
|
|
10165
|
-
"type": "option"
|
|
10166
10670
|
}
|
|
10167
10671
|
},
|
|
10168
10672
|
"hasDynamicHelp": false,
|
|
10169
10673
|
"hiddenAliases": [],
|
|
10170
|
-
"id": "testing:live:
|
|
10674
|
+
"id": "testing:live:screenshot",
|
|
10171
10675
|
"pluginAlias": "@copado/agentia-cli",
|
|
10172
10676
|
"pluginName": "@copado/agentia-cli",
|
|
10173
10677
|
"pluginType": "core",
|
|
@@ -10179,10 +10683,10 @@
|
|
|
10179
10683
|
"commands",
|
|
10180
10684
|
"testing",
|
|
10181
10685
|
"live",
|
|
10182
|
-
"
|
|
10686
|
+
"screenshot.js"
|
|
10183
10687
|
]
|
|
10184
10688
|
},
|
|
10185
|
-
"testing:live:
|
|
10689
|
+
"testing:live:set-options": {
|
|
10186
10690
|
"aliases": [],
|
|
10187
10691
|
"args": {
|
|
10188
10692
|
"job-id": {
|
|
@@ -10191,10 +10695,9 @@
|
|
|
10191
10695
|
"required": false
|
|
10192
10696
|
}
|
|
10193
10697
|
},
|
|
10194
|
-
"description": "
|
|
10698
|
+
"description": "Set the complete validated CRT live recorder option block",
|
|
10195
10699
|
"examples": [
|
|
10196
|
-
"<%= config.bin %> <%= command.id %> --project <project-id> --
|
|
10197
|
-
"<%= config.bin %> <%= command.id %> --project <project-id> --dom --output page.html"
|
|
10700
|
+
"<%= config.bin %> <%= command.id %> --project <project-id> --enable --scroll-text --table-keywords"
|
|
10198
10701
|
],
|
|
10199
10702
|
"flags": {
|
|
10200
10703
|
"json": {
|
|
@@ -10220,26 +10723,52 @@
|
|
|
10220
10723
|
"multiple": false,
|
|
10221
10724
|
"type": "option"
|
|
10222
10725
|
},
|
|
10223
|
-
"
|
|
10224
|
-
"description": "
|
|
10225
|
-
"name": "
|
|
10226
|
-
"allowNo":
|
|
10726
|
+
"enable": {
|
|
10727
|
+
"description": "Enable or disable interaction recording.",
|
|
10728
|
+
"name": "enable",
|
|
10729
|
+
"allowNo": true,
|
|
10227
10730
|
"type": "boolean"
|
|
10228
10731
|
},
|
|
10229
|
-
"
|
|
10230
|
-
"
|
|
10231
|
-
|
|
10232
|
-
|
|
10233
|
-
"
|
|
10234
|
-
|
|
10235
|
-
|
|
10236
|
-
"
|
|
10237
|
-
"
|
|
10732
|
+
"healing-context": {
|
|
10733
|
+
"description": "Capture recorder healing context.",
|
|
10734
|
+
"name": "healing-context",
|
|
10735
|
+
"allowNo": true,
|
|
10736
|
+
"type": "boolean"
|
|
10737
|
+
},
|
|
10738
|
+
"hover-text": {
|
|
10739
|
+
"description": "Capture HoverText interactions.",
|
|
10740
|
+
"name": "hover-text",
|
|
10741
|
+
"allowNo": true,
|
|
10742
|
+
"type": "boolean"
|
|
10743
|
+
},
|
|
10744
|
+
"scroll-text": {
|
|
10745
|
+
"description": "Capture ScrollText interactions.",
|
|
10746
|
+
"name": "scroll-text",
|
|
10747
|
+
"allowNo": true,
|
|
10748
|
+
"type": "boolean"
|
|
10749
|
+
},
|
|
10750
|
+
"system-state": {
|
|
10751
|
+
"description": "Capture console/network system state.",
|
|
10752
|
+
"name": "system-state",
|
|
10753
|
+
"allowNo": true,
|
|
10754
|
+
"type": "boolean"
|
|
10755
|
+
},
|
|
10756
|
+
"table-keywords": {
|
|
10757
|
+
"description": "Prefer table-aware interaction keywords.",
|
|
10758
|
+
"name": "table-keywords",
|
|
10759
|
+
"allowNo": true,
|
|
10760
|
+
"type": "boolean"
|
|
10761
|
+
},
|
|
10762
|
+
"verify-text": {
|
|
10763
|
+
"description": "Capture VerifyText interactions.",
|
|
10764
|
+
"name": "verify-text",
|
|
10765
|
+
"allowNo": true,
|
|
10766
|
+
"type": "boolean"
|
|
10238
10767
|
}
|
|
10239
10768
|
},
|
|
10240
10769
|
"hasDynamicHelp": false,
|
|
10241
10770
|
"hiddenAliases": [],
|
|
10242
|
-
"id": "testing:live:
|
|
10771
|
+
"id": "testing:live:set-options",
|
|
10243
10772
|
"pluginAlias": "@copado/agentia-cli",
|
|
10244
10773
|
"pluginName": "@copado/agentia-cli",
|
|
10245
10774
|
"pluginType": "core",
|
|
@@ -10251,21 +10780,22 @@
|
|
|
10251
10780
|
"commands",
|
|
10252
10781
|
"testing",
|
|
10253
10782
|
"live",
|
|
10254
|
-
"
|
|
10783
|
+
"set-options.js"
|
|
10255
10784
|
]
|
|
10256
10785
|
},
|
|
10257
|
-
"testing:live:
|
|
10786
|
+
"testing:live:start": {
|
|
10258
10787
|
"aliases": [],
|
|
10259
10788
|
"args": {
|
|
10260
10789
|
"job-id": {
|
|
10261
|
-
"description": "
|
|
10790
|
+
"description": "CRT job/test ID.",
|
|
10262
10791
|
"name": "job-id",
|
|
10263
|
-
"required":
|
|
10792
|
+
"required": true
|
|
10264
10793
|
}
|
|
10265
10794
|
},
|
|
10266
|
-
"description": "
|
|
10795
|
+
"description": "Start and bootstrap a bounded Copado Robotic Testing live session",
|
|
10267
10796
|
"examples": [
|
|
10268
|
-
"<%= config.bin %> <%= command.id %> --project <project-id>"
|
|
10797
|
+
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id>",
|
|
10798
|
+
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --file smoke.robot --section \"Login\""
|
|
10269
10799
|
],
|
|
10270
10800
|
"flags": {
|
|
10271
10801
|
"json": {
|
|
@@ -10290,71 +10820,99 @@
|
|
|
10290
10820
|
"hasDynamicHelp": false,
|
|
10291
10821
|
"multiple": false,
|
|
10292
10822
|
"type": "option"
|
|
10293
|
-
}
|
|
10294
|
-
|
|
10295
|
-
|
|
10296
|
-
|
|
10297
|
-
|
|
10298
|
-
|
|
10299
|
-
|
|
10300
|
-
|
|
10301
|
-
|
|
10302
|
-
|
|
10303
|
-
|
|
10304
|
-
|
|
10305
|
-
|
|
10306
|
-
|
|
10307
|
-
|
|
10308
|
-
"
|
|
10309
|
-
|
|
10310
|
-
|
|
10311
|
-
},
|
|
10312
|
-
"testing:live:recorder": {
|
|
10313
|
-
"aliases": [],
|
|
10314
|
-
"args": {
|
|
10315
|
-
"job-id": {
|
|
10316
|
-
"description": "Optional CRT job/test ID guard.",
|
|
10317
|
-
"name": "job-id",
|
|
10318
|
-
"required": false
|
|
10319
|
-
}
|
|
10320
|
-
},
|
|
10321
|
-
"description": "Record CRT live interactions as bounded Robot Framework lines",
|
|
10322
|
-
"examples": [
|
|
10323
|
-
"<%= config.bin %> <%= command.id %> --project <project-id> --output recorded.robot"
|
|
10324
|
-
],
|
|
10325
|
-
"flags": {
|
|
10326
|
-
"debug": {
|
|
10327
|
-
"description": "Print frame sizes and event types without frame bodies.",
|
|
10328
|
-
"name": "debug",
|
|
10823
|
+
},
|
|
10824
|
+
"description": {
|
|
10825
|
+
"description": "Nonsecret session label.",
|
|
10826
|
+
"name": "description",
|
|
10827
|
+
"hasDynamicHelp": false,
|
|
10828
|
+
"multiple": false,
|
|
10829
|
+
"type": "option"
|
|
10830
|
+
},
|
|
10831
|
+
"file": {
|
|
10832
|
+
"description": "Robot Framework file used to bootstrap a selected test/task.",
|
|
10833
|
+
"name": "file",
|
|
10834
|
+
"hasDynamicHelp": false,
|
|
10835
|
+
"multiple": false,
|
|
10836
|
+
"type": "option"
|
|
10837
|
+
},
|
|
10838
|
+
"jap-ime": {
|
|
10839
|
+
"description": "Enable Japanese IME in the live environment.",
|
|
10840
|
+
"name": "jap-ime",
|
|
10329
10841
|
"allowNo": false,
|
|
10330
10842
|
"type": "boolean"
|
|
10331
10843
|
},
|
|
10332
|
-
"
|
|
10333
|
-
"description": "
|
|
10334
|
-
"name": "
|
|
10844
|
+
"library": {
|
|
10845
|
+
"description": "Robot Framework library to bootstrap.",
|
|
10846
|
+
"name": "library",
|
|
10847
|
+
"default": "QWeb",
|
|
10848
|
+
"hasDynamicHelp": false,
|
|
10849
|
+
"multiple": false,
|
|
10850
|
+
"options": [
|
|
10851
|
+
"QWeb",
|
|
10852
|
+
"QForce",
|
|
10853
|
+
"QMobile"
|
|
10854
|
+
],
|
|
10855
|
+
"type": "option"
|
|
10856
|
+
},
|
|
10857
|
+
"no-bootstrap": {
|
|
10858
|
+
"description": "Create the host without readiness/bootstrap calls.",
|
|
10859
|
+
"name": "no-bootstrap",
|
|
10335
10860
|
"allowNo": false,
|
|
10336
10861
|
"type": "boolean"
|
|
10337
10862
|
},
|
|
10338
|
-
"
|
|
10339
|
-
"
|
|
10340
|
-
"
|
|
10341
|
-
"
|
|
10863
|
+
"no-browser": {
|
|
10864
|
+
"description": "Do not open Chrome during QWeb/QForce bootstrap.",
|
|
10865
|
+
"name": "no-browser",
|
|
10866
|
+
"allowNo": false,
|
|
10867
|
+
"type": "boolean"
|
|
10868
|
+
},
|
|
10869
|
+
"poll-interval": {
|
|
10870
|
+
"description": "Readiness polling interval in seconds.",
|
|
10871
|
+
"name": "poll-interval",
|
|
10872
|
+
"default": 3,
|
|
10342
10873
|
"hasDynamicHelp": false,
|
|
10343
10874
|
"multiple": false,
|
|
10344
10875
|
"type": "option"
|
|
10345
10876
|
},
|
|
10346
|
-
"
|
|
10347
|
-
"
|
|
10348
|
-
"
|
|
10349
|
-
"name": "project",
|
|
10350
|
-
"required": true,
|
|
10877
|
+
"screen": {
|
|
10878
|
+
"description": "Session screen as WIDTHxHEIGHTxDEPTH.",
|
|
10879
|
+
"name": "screen",
|
|
10351
10880
|
"hasDynamicHelp": false,
|
|
10352
10881
|
"multiple": false,
|
|
10353
10882
|
"type": "option"
|
|
10354
10883
|
},
|
|
10355
|
-
"
|
|
10356
|
-
"description": "
|
|
10357
|
-
"name": "
|
|
10884
|
+
"section": {
|
|
10885
|
+
"description": "Robot test/task name to bootstrap.",
|
|
10886
|
+
"name": "section",
|
|
10887
|
+
"hasDynamicHelp": false,
|
|
10888
|
+
"multiple": false,
|
|
10889
|
+
"type": "option"
|
|
10890
|
+
},
|
|
10891
|
+
"section-index": {
|
|
10892
|
+
"description": "One-based Robot test/task index to bootstrap.",
|
|
10893
|
+
"name": "section-index",
|
|
10894
|
+
"hasDynamicHelp": false,
|
|
10895
|
+
"multiple": false,
|
|
10896
|
+
"type": "option"
|
|
10897
|
+
},
|
|
10898
|
+
"session-version": {
|
|
10899
|
+
"description": "CRT live environment version.",
|
|
10900
|
+
"name": "session-version",
|
|
10901
|
+
"hasDynamicHelp": false,
|
|
10902
|
+
"multiple": false,
|
|
10903
|
+
"type": "option"
|
|
10904
|
+
},
|
|
10905
|
+
"timeout": {
|
|
10906
|
+
"description": "Readiness timeout in seconds.",
|
|
10907
|
+
"name": "timeout",
|
|
10908
|
+
"default": 120,
|
|
10909
|
+
"hasDynamicHelp": false,
|
|
10910
|
+
"multiple": false,
|
|
10911
|
+
"type": "option"
|
|
10912
|
+
},
|
|
10913
|
+
"viewport": {
|
|
10914
|
+
"description": "Session viewport as WIDTHxHEIGHT (24-bit depth).",
|
|
10915
|
+
"name": "viewport",
|
|
10358
10916
|
"hasDynamicHelp": false,
|
|
10359
10917
|
"multiple": false,
|
|
10360
10918
|
"type": "option"
|
|
@@ -10362,22 +10920,22 @@
|
|
|
10362
10920
|
},
|
|
10363
10921
|
"hasDynamicHelp": false,
|
|
10364
10922
|
"hiddenAliases": [],
|
|
10365
|
-
"id": "testing:live:
|
|
10923
|
+
"id": "testing:live:start",
|
|
10366
10924
|
"pluginAlias": "@copado/agentia-cli",
|
|
10367
10925
|
"pluginName": "@copado/agentia-cli",
|
|
10368
10926
|
"pluginType": "core",
|
|
10369
10927
|
"strict": true,
|
|
10370
|
-
"enableJsonFlag":
|
|
10928
|
+
"enableJsonFlag": true,
|
|
10371
10929
|
"isESM": true,
|
|
10372
10930
|
"relativePath": [
|
|
10373
10931
|
"dist",
|
|
10374
10932
|
"commands",
|
|
10375
10933
|
"testing",
|
|
10376
10934
|
"live",
|
|
10377
|
-
"
|
|
10935
|
+
"start.js"
|
|
10378
10936
|
]
|
|
10379
10937
|
},
|
|
10380
|
-
"testing:live:
|
|
10938
|
+
"testing:live:status": {
|
|
10381
10939
|
"aliases": [],
|
|
10382
10940
|
"args": {
|
|
10383
10941
|
"job-id": {
|
|
@@ -10386,10 +10944,9 @@
|
|
|
10386
10944
|
"required": false
|
|
10387
10945
|
}
|
|
10388
10946
|
},
|
|
10389
|
-
"description": "
|
|
10947
|
+
"description": "Inspect sanitized status for the active CRT live session",
|
|
10390
10948
|
"examples": [
|
|
10391
|
-
"<%= config.bin %> <%= command.id %> --project <project-id>"
|
|
10392
|
-
"<%= config.bin %> <%= command.id %> --project <project-id> --output-dir ./reports"
|
|
10949
|
+
"<%= config.bin %> <%= command.id %> --project <project-id> --json"
|
|
10393
10950
|
],
|
|
10394
10951
|
"flags": {
|
|
10395
10952
|
"json": {
|
|
@@ -10414,18 +10971,11 @@
|
|
|
10414
10971
|
"hasDynamicHelp": false,
|
|
10415
10972
|
"multiple": false,
|
|
10416
10973
|
"type": "option"
|
|
10417
|
-
},
|
|
10418
|
-
"output-dir": {
|
|
10419
|
-
"description": "Explicit directory for log.html, report.html, and output.xml.",
|
|
10420
|
-
"name": "output-dir",
|
|
10421
|
-
"hasDynamicHelp": false,
|
|
10422
|
-
"multiple": false,
|
|
10423
|
-
"type": "option"
|
|
10424
10974
|
}
|
|
10425
10975
|
},
|
|
10426
10976
|
"hasDynamicHelp": false,
|
|
10427
10977
|
"hiddenAliases": [],
|
|
10428
|
-
"id": "testing:live:
|
|
10978
|
+
"id": "testing:live:status",
|
|
10429
10979
|
"pluginAlias": "@copado/agentia-cli",
|
|
10430
10980
|
"pluginName": "@copado/agentia-cli",
|
|
10431
10981
|
"pluginType": "core",
|
|
@@ -10437,10 +10987,10 @@
|
|
|
10437
10987
|
"commands",
|
|
10438
10988
|
"testing",
|
|
10439
10989
|
"live",
|
|
10440
|
-
"
|
|
10990
|
+
"status.js"
|
|
10441
10991
|
]
|
|
10442
10992
|
},
|
|
10443
|
-
"testing:live:
|
|
10993
|
+
"testing:live:stop": {
|
|
10444
10994
|
"aliases": [],
|
|
10445
10995
|
"args": {
|
|
10446
10996
|
"job-id": {
|
|
@@ -10449,9 +10999,10 @@
|
|
|
10449
10999
|
"required": false
|
|
10450
11000
|
}
|
|
10451
11001
|
},
|
|
10452
|
-
"description": "
|
|
11002
|
+
"description": "Stop the active Copado Robotic Testing live session",
|
|
10453
11003
|
"examples": [
|
|
10454
|
-
"<%= config.bin %> <%= command.id %> --project <project-id>
|
|
11004
|
+
"<%= config.bin %> <%= command.id %> --project <project-id>",
|
|
11005
|
+
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --yes --json"
|
|
10455
11006
|
],
|
|
10456
11007
|
"flags": {
|
|
10457
11008
|
"json": {
|
|
@@ -10477,19 +11028,17 @@
|
|
|
10477
11028
|
"multiple": false,
|
|
10478
11029
|
"type": "option"
|
|
10479
11030
|
},
|
|
10480
|
-
"
|
|
10481
|
-
"char": "
|
|
10482
|
-
"description": "
|
|
10483
|
-
"name": "
|
|
10484
|
-
"
|
|
10485
|
-
"
|
|
10486
|
-
|
|
10487
|
-
|
|
10488
|
-
}
|
|
10489
|
-
},
|
|
11031
|
+
"yes": {
|
|
11032
|
+
"char": "y",
|
|
11033
|
+
"description": "Confirm live session shutdown.",
|
|
11034
|
+
"name": "yes",
|
|
11035
|
+
"allowNo": false,
|
|
11036
|
+
"type": "boolean"
|
|
11037
|
+
}
|
|
11038
|
+
},
|
|
10490
11039
|
"hasDynamicHelp": false,
|
|
10491
11040
|
"hiddenAliases": [],
|
|
10492
|
-
"id": "testing:live:
|
|
11041
|
+
"id": "testing:live:stop",
|
|
10493
11042
|
"pluginAlias": "@copado/agentia-cli",
|
|
10494
11043
|
"pluginName": "@copado/agentia-cli",
|
|
10495
11044
|
"pluginType": "core",
|
|
@@ -10501,21 +11050,16 @@
|
|
|
10501
11050
|
"commands",
|
|
10502
11051
|
"testing",
|
|
10503
11052
|
"live",
|
|
10504
|
-
"
|
|
11053
|
+
"stop.js"
|
|
10505
11054
|
]
|
|
10506
11055
|
},
|
|
10507
|
-
"testing:live:
|
|
11056
|
+
"testing:live:view": {
|
|
10508
11057
|
"aliases": [],
|
|
10509
|
-
"args": {
|
|
10510
|
-
|
|
10511
|
-
"description": "Optional CRT job/test ID guard.",
|
|
10512
|
-
"name": "job-id",
|
|
10513
|
-
"required": false
|
|
10514
|
-
}
|
|
10515
|
-
},
|
|
10516
|
-
"description": "Set the complete validated CRT live recorder option block",
|
|
11058
|
+
"args": {},
|
|
11059
|
+
"description": "Open the authenticated CRT run/session page without putting viewer secrets in the URL",
|
|
10517
11060
|
"examples": [
|
|
10518
|
-
"<%= config.bin %> <%= command.id %> --project <project-id>
|
|
11061
|
+
"<%= config.bin %> <%= command.id %> --project <project-id>",
|
|
11062
|
+
"<%= config.bin %> <%= command.id %> --project <project-id> --no-open --json"
|
|
10519
11063
|
],
|
|
10520
11064
|
"flags": {
|
|
10521
11065
|
"json": {
|
|
@@ -10525,6 +11069,18 @@
|
|
|
10525
11069
|
"allowNo": false,
|
|
10526
11070
|
"type": "boolean"
|
|
10527
11071
|
},
|
|
11072
|
+
"interactive": {
|
|
11073
|
+
"description": "Request interactive viewer controls when available.",
|
|
11074
|
+
"name": "interactive",
|
|
11075
|
+
"allowNo": false,
|
|
11076
|
+
"type": "boolean"
|
|
11077
|
+
},
|
|
11078
|
+
"no-open": {
|
|
11079
|
+
"description": "Return the nonsecret URL without opening a browser.",
|
|
11080
|
+
"name": "no-open",
|
|
11081
|
+
"allowNo": false,
|
|
11082
|
+
"type": "boolean"
|
|
11083
|
+
},
|
|
10528
11084
|
"project": {
|
|
10529
11085
|
"char": "p",
|
|
10530
11086
|
"description": "CRT project ID.",
|
|
@@ -10535,58 +11091,16 @@
|
|
|
10535
11091
|
"type": "option"
|
|
10536
11092
|
},
|
|
10537
11093
|
"session-id": {
|
|
10538
|
-
"description": "Guard that must match the
|
|
11094
|
+
"description": "Guard that must match the active CRT live session.",
|
|
10539
11095
|
"name": "session-id",
|
|
10540
11096
|
"hasDynamicHelp": false,
|
|
10541
11097
|
"multiple": false,
|
|
10542
11098
|
"type": "option"
|
|
10543
|
-
},
|
|
10544
|
-
"enable": {
|
|
10545
|
-
"description": "Enable or disable interaction recording.",
|
|
10546
|
-
"name": "enable",
|
|
10547
|
-
"allowNo": true,
|
|
10548
|
-
"type": "boolean"
|
|
10549
|
-
},
|
|
10550
|
-
"healing-context": {
|
|
10551
|
-
"description": "Capture recorder healing context.",
|
|
10552
|
-
"name": "healing-context",
|
|
10553
|
-
"allowNo": true,
|
|
10554
|
-
"type": "boolean"
|
|
10555
|
-
},
|
|
10556
|
-
"hover-text": {
|
|
10557
|
-
"description": "Capture HoverText interactions.",
|
|
10558
|
-
"name": "hover-text",
|
|
10559
|
-
"allowNo": true,
|
|
10560
|
-
"type": "boolean"
|
|
10561
|
-
},
|
|
10562
|
-
"scroll-text": {
|
|
10563
|
-
"description": "Capture ScrollText interactions.",
|
|
10564
|
-
"name": "scroll-text",
|
|
10565
|
-
"allowNo": true,
|
|
10566
|
-
"type": "boolean"
|
|
10567
|
-
},
|
|
10568
|
-
"system-state": {
|
|
10569
|
-
"description": "Capture console/network system state.",
|
|
10570
|
-
"name": "system-state",
|
|
10571
|
-
"allowNo": true,
|
|
10572
|
-
"type": "boolean"
|
|
10573
|
-
},
|
|
10574
|
-
"table-keywords": {
|
|
10575
|
-
"description": "Prefer table-aware interaction keywords.",
|
|
10576
|
-
"name": "table-keywords",
|
|
10577
|
-
"allowNo": true,
|
|
10578
|
-
"type": "boolean"
|
|
10579
|
-
},
|
|
10580
|
-
"verify-text": {
|
|
10581
|
-
"description": "Capture VerifyText interactions.",
|
|
10582
|
-
"name": "verify-text",
|
|
10583
|
-
"allowNo": true,
|
|
10584
|
-
"type": "boolean"
|
|
10585
11099
|
}
|
|
10586
11100
|
},
|
|
10587
11101
|
"hasDynamicHelp": false,
|
|
10588
11102
|
"hiddenAliases": [],
|
|
10589
|
-
"id": "testing:live:
|
|
11103
|
+
"id": "testing:live:view",
|
|
10590
11104
|
"pluginAlias": "@copado/agentia-cli",
|
|
10591
11105
|
"pluginName": "@copado/agentia-cli",
|
|
10592
11106
|
"pluginType": "core",
|
|
@@ -10598,22 +11112,16 @@
|
|
|
10598
11112
|
"commands",
|
|
10599
11113
|
"testing",
|
|
10600
11114
|
"live",
|
|
10601
|
-
"
|
|
11115
|
+
"view.js"
|
|
10602
11116
|
]
|
|
10603
11117
|
},
|
|
10604
|
-
"testing:
|
|
11118
|
+
"testing:project:create": {
|
|
10605
11119
|
"aliases": [],
|
|
10606
|
-
"args": {
|
|
10607
|
-
|
|
10608
|
-
"description": "CRT job/test ID.",
|
|
10609
|
-
"name": "job-id",
|
|
10610
|
-
"required": true
|
|
10611
|
-
}
|
|
10612
|
-
},
|
|
10613
|
-
"description": "Start and bootstrap a bounded Copado Robotic Testing live session",
|
|
11120
|
+
"args": {},
|
|
11121
|
+
"description": "Create a Copado Robotic Testing project",
|
|
10614
11122
|
"examples": [
|
|
10615
|
-
"<%= config.bin %> <%= command.id %>
|
|
10616
|
-
"<%= config.bin %> <%= command.id %>
|
|
11123
|
+
"<%= config.bin %> <%= command.id %> --name \"QA Tests\"",
|
|
11124
|
+
"<%= config.bin %> <%= command.id %> --name \"QA Tests\" --description \"Smoke suite\" --json"
|
|
10617
11125
|
],
|
|
10618
11126
|
"flags": {
|
|
10619
11127
|
"json": {
|
|
@@ -10623,122 +11131,55 @@
|
|
|
10623
11131
|
"allowNo": false,
|
|
10624
11132
|
"type": "boolean"
|
|
10625
11133
|
},
|
|
10626
|
-
"
|
|
10627
|
-
"
|
|
10628
|
-
"
|
|
10629
|
-
"name": "project",
|
|
10630
|
-
"required": true,
|
|
10631
|
-
"hasDynamicHelp": false,
|
|
10632
|
-
"multiple": false,
|
|
10633
|
-
"type": "option"
|
|
10634
|
-
},
|
|
10635
|
-
"session-id": {
|
|
10636
|
-
"description": "Guard that must match the locally active CRT live session.",
|
|
10637
|
-
"name": "session-id",
|
|
11134
|
+
"dashboard-id": {
|
|
11135
|
+
"description": "Optional CRT dashboard ID.",
|
|
11136
|
+
"name": "dashboard-id",
|
|
10638
11137
|
"hasDynamicHelp": false,
|
|
10639
11138
|
"multiple": false,
|
|
10640
11139
|
"type": "option"
|
|
10641
11140
|
},
|
|
10642
11141
|
"description": {
|
|
10643
|
-
"description": "
|
|
11142
|
+
"description": "Project description.",
|
|
10644
11143
|
"name": "description",
|
|
10645
11144
|
"hasDynamicHelp": false,
|
|
10646
11145
|
"multiple": false,
|
|
10647
11146
|
"type": "option"
|
|
10648
11147
|
},
|
|
10649
|
-
"
|
|
10650
|
-
"description": "
|
|
10651
|
-
"name": "
|
|
10652
|
-
"hasDynamicHelp": false,
|
|
10653
|
-
"multiple": false,
|
|
10654
|
-
"type": "option"
|
|
10655
|
-
},
|
|
10656
|
-
"jap-ime": {
|
|
10657
|
-
"description": "Enable Japanese IME in the live environment.",
|
|
10658
|
-
"name": "jap-ime",
|
|
10659
|
-
"allowNo": false,
|
|
10660
|
-
"type": "boolean"
|
|
10661
|
-
},
|
|
10662
|
-
"library": {
|
|
10663
|
-
"description": "Robot Framework library to bootstrap.",
|
|
10664
|
-
"name": "library",
|
|
10665
|
-
"default": "QWeb",
|
|
11148
|
+
"executor": {
|
|
11149
|
+
"description": "Project execution backend.",
|
|
11150
|
+
"name": "executor",
|
|
10666
11151
|
"hasDynamicHelp": false,
|
|
10667
11152
|
"multiple": false,
|
|
10668
11153
|
"options": [
|
|
10669
|
-
"
|
|
10670
|
-
"
|
|
10671
|
-
"QMobile"
|
|
11154
|
+
"jenkins",
|
|
11155
|
+
"kubernetes"
|
|
10672
11156
|
],
|
|
10673
11157
|
"type": "option"
|
|
10674
11158
|
},
|
|
10675
|
-
"
|
|
10676
|
-
"description": "
|
|
10677
|
-
"name": "
|
|
10678
|
-
"
|
|
10679
|
-
"type": "boolean"
|
|
10680
|
-
},
|
|
10681
|
-
"no-browser": {
|
|
10682
|
-
"description": "Do not open Chrome during QWeb/QForce bootstrap.",
|
|
10683
|
-
"name": "no-browser",
|
|
10684
|
-
"allowNo": false,
|
|
10685
|
-
"type": "boolean"
|
|
10686
|
-
},
|
|
10687
|
-
"poll-interval": {
|
|
10688
|
-
"description": "Readiness polling interval in seconds.",
|
|
10689
|
-
"name": "poll-interval",
|
|
10690
|
-
"default": 3,
|
|
10691
|
-
"hasDynamicHelp": false,
|
|
10692
|
-
"multiple": false,
|
|
10693
|
-
"type": "option"
|
|
10694
|
-
},
|
|
10695
|
-
"screen": {
|
|
10696
|
-
"description": "Session screen as WIDTHxHEIGHTxDEPTH.",
|
|
10697
|
-
"name": "screen",
|
|
10698
|
-
"hasDynamicHelp": false,
|
|
10699
|
-
"multiple": false,
|
|
10700
|
-
"type": "option"
|
|
10701
|
-
},
|
|
10702
|
-
"section": {
|
|
10703
|
-
"description": "Robot test/task name to bootstrap.",
|
|
10704
|
-
"name": "section",
|
|
10705
|
-
"hasDynamicHelp": false,
|
|
10706
|
-
"multiple": false,
|
|
10707
|
-
"type": "option"
|
|
10708
|
-
},
|
|
10709
|
-
"section-index": {
|
|
10710
|
-
"description": "One-based Robot test/task index to bootstrap.",
|
|
10711
|
-
"name": "section-index",
|
|
10712
|
-
"hasDynamicHelp": false,
|
|
10713
|
-
"multiple": false,
|
|
10714
|
-
"type": "option"
|
|
10715
|
-
},
|
|
10716
|
-
"session-version": {
|
|
10717
|
-
"description": "CRT live environment version.",
|
|
10718
|
-
"name": "session-version",
|
|
10719
|
-
"hasDynamicHelp": false,
|
|
10720
|
-
"multiple": false,
|
|
10721
|
-
"type": "option"
|
|
10722
|
-
},
|
|
10723
|
-
"timeout": {
|
|
10724
|
-
"description": "Readiness timeout in seconds.",
|
|
10725
|
-
"name": "timeout",
|
|
10726
|
-
"default": 120,
|
|
11159
|
+
"name": {
|
|
11160
|
+
"description": "Project name.",
|
|
11161
|
+
"name": "name",
|
|
11162
|
+
"required": true,
|
|
10727
11163
|
"hasDynamicHelp": false,
|
|
10728
11164
|
"multiple": false,
|
|
10729
11165
|
"type": "option"
|
|
10730
11166
|
},
|
|
10731
|
-
"
|
|
10732
|
-
"description": "
|
|
10733
|
-
"name": "
|
|
11167
|
+
"type": {
|
|
11168
|
+
"description": "CRT project type.",
|
|
11169
|
+
"name": "type",
|
|
11170
|
+
"default": "ta",
|
|
10734
11171
|
"hasDynamicHelp": false,
|
|
10735
11172
|
"multiple": false,
|
|
11173
|
+
"options": [
|
|
11174
|
+
"ta",
|
|
11175
|
+
"rpa"
|
|
11176
|
+
],
|
|
10736
11177
|
"type": "option"
|
|
10737
11178
|
}
|
|
10738
11179
|
},
|
|
10739
11180
|
"hasDynamicHelp": false,
|
|
10740
11181
|
"hiddenAliases": [],
|
|
10741
|
-
"id": "testing:
|
|
11182
|
+
"id": "testing:project:create",
|
|
10742
11183
|
"pluginAlias": "@copado/agentia-cli",
|
|
10743
11184
|
"pluginName": "@copado/agentia-cli",
|
|
10744
11185
|
"pluginType": "core",
|
|
@@ -10749,22 +11190,23 @@
|
|
|
10749
11190
|
"dist",
|
|
10750
11191
|
"commands",
|
|
10751
11192
|
"testing",
|
|
10752
|
-
"
|
|
10753
|
-
"
|
|
11193
|
+
"project",
|
|
11194
|
+
"create.js"
|
|
10754
11195
|
]
|
|
10755
11196
|
},
|
|
10756
|
-
"testing:
|
|
11197
|
+
"testing:project:delete": {
|
|
10757
11198
|
"aliases": [],
|
|
10758
11199
|
"args": {
|
|
10759
|
-
"
|
|
10760
|
-
"description": "
|
|
10761
|
-
"name": "
|
|
10762
|
-
"required":
|
|
11200
|
+
"id": {
|
|
11201
|
+
"description": "CRT project ID.",
|
|
11202
|
+
"name": "id",
|
|
11203
|
+
"required": true
|
|
10763
11204
|
}
|
|
10764
11205
|
},
|
|
10765
|
-
"description": "
|
|
11206
|
+
"description": "Delete a Copado Robotic Testing project",
|
|
10766
11207
|
"examples": [
|
|
10767
|
-
"<%= config.bin %> <%= command.id %>
|
|
11208
|
+
"<%= config.bin %> <%= command.id %> <project-id> --yes",
|
|
11209
|
+
"<%= config.bin %> <%= command.id %> <project-id> --yes --json"
|
|
10768
11210
|
],
|
|
10769
11211
|
"flags": {
|
|
10770
11212
|
"json": {
|
|
@@ -10774,26 +11216,17 @@
|
|
|
10774
11216
|
"allowNo": false,
|
|
10775
11217
|
"type": "boolean"
|
|
10776
11218
|
},
|
|
10777
|
-
"
|
|
10778
|
-
"char": "
|
|
10779
|
-
"description": "
|
|
10780
|
-
"name": "
|
|
10781
|
-
"
|
|
10782
|
-
"
|
|
10783
|
-
"multiple": false,
|
|
10784
|
-
"type": "option"
|
|
10785
|
-
},
|
|
10786
|
-
"session-id": {
|
|
10787
|
-
"description": "Guard that must match the locally active CRT live session.",
|
|
10788
|
-
"name": "session-id",
|
|
10789
|
-
"hasDynamicHelp": false,
|
|
10790
|
-
"multiple": false,
|
|
10791
|
-
"type": "option"
|
|
11219
|
+
"yes": {
|
|
11220
|
+
"char": "y",
|
|
11221
|
+
"description": "Skip the destructive confirmation prompt.",
|
|
11222
|
+
"name": "yes",
|
|
11223
|
+
"allowNo": false,
|
|
11224
|
+
"type": "boolean"
|
|
10792
11225
|
}
|
|
10793
11226
|
},
|
|
10794
11227
|
"hasDynamicHelp": false,
|
|
10795
11228
|
"hiddenAliases": [],
|
|
10796
|
-
"id": "testing:
|
|
11229
|
+
"id": "testing:project:delete",
|
|
10797
11230
|
"pluginAlias": "@copado/agentia-cli",
|
|
10798
11231
|
"pluginName": "@copado/agentia-cli",
|
|
10799
11232
|
"pluginType": "core",
|
|
@@ -10804,23 +11237,23 @@
|
|
|
10804
11237
|
"dist",
|
|
10805
11238
|
"commands",
|
|
10806
11239
|
"testing",
|
|
10807
|
-
"
|
|
10808
|
-
"
|
|
11240
|
+
"project",
|
|
11241
|
+
"delete.js"
|
|
10809
11242
|
]
|
|
10810
11243
|
},
|
|
10811
|
-
"testing:
|
|
11244
|
+
"testing:project:get": {
|
|
10812
11245
|
"aliases": [],
|
|
10813
11246
|
"args": {
|
|
10814
|
-
"
|
|
10815
|
-
"description": "
|
|
10816
|
-
"name": "
|
|
10817
|
-
"required":
|
|
11247
|
+
"id": {
|
|
11248
|
+
"description": "CRT project ID.",
|
|
11249
|
+
"name": "id",
|
|
11250
|
+
"required": true
|
|
10818
11251
|
}
|
|
10819
11252
|
},
|
|
10820
|
-
"description": "
|
|
11253
|
+
"description": "Get a Copado Robotic Testing project from the project list",
|
|
10821
11254
|
"examples": [
|
|
10822
|
-
"<%= config.bin %> <%= command.id %>
|
|
10823
|
-
"<%= config.bin %> <%= command.id %> <
|
|
11255
|
+
"<%= config.bin %> <%= command.id %> <project-id>",
|
|
11256
|
+
"<%= config.bin %> <%= command.id %> <project-id> --json"
|
|
10824
11257
|
],
|
|
10825
11258
|
"flags": {
|
|
10826
11259
|
"json": {
|
|
@@ -10829,34 +11262,11 @@
|
|
|
10829
11262
|
"name": "json",
|
|
10830
11263
|
"allowNo": false,
|
|
10831
11264
|
"type": "boolean"
|
|
10832
|
-
},
|
|
10833
|
-
"project": {
|
|
10834
|
-
"char": "p",
|
|
10835
|
-
"description": "CRT project ID.",
|
|
10836
|
-
"name": "project",
|
|
10837
|
-
"required": true,
|
|
10838
|
-
"hasDynamicHelp": false,
|
|
10839
|
-
"multiple": false,
|
|
10840
|
-
"type": "option"
|
|
10841
|
-
},
|
|
10842
|
-
"session-id": {
|
|
10843
|
-
"description": "Guard that must match the locally active CRT live session.",
|
|
10844
|
-
"name": "session-id",
|
|
10845
|
-
"hasDynamicHelp": false,
|
|
10846
|
-
"multiple": false,
|
|
10847
|
-
"type": "option"
|
|
10848
|
-
},
|
|
10849
|
-
"yes": {
|
|
10850
|
-
"char": "y",
|
|
10851
|
-
"description": "Confirm live session shutdown.",
|
|
10852
|
-
"name": "yes",
|
|
10853
|
-
"allowNo": false,
|
|
10854
|
-
"type": "boolean"
|
|
10855
11265
|
}
|
|
10856
11266
|
},
|
|
10857
11267
|
"hasDynamicHelp": false,
|
|
10858
11268
|
"hiddenAliases": [],
|
|
10859
|
-
"id": "testing:
|
|
11269
|
+
"id": "testing:project:get",
|
|
10860
11270
|
"pluginAlias": "@copado/agentia-cli",
|
|
10861
11271
|
"pluginName": "@copado/agentia-cli",
|
|
10862
11272
|
"pluginType": "core",
|
|
@@ -10867,17 +11277,17 @@
|
|
|
10867
11277
|
"dist",
|
|
10868
11278
|
"commands",
|
|
10869
11279
|
"testing",
|
|
10870
|
-
"
|
|
10871
|
-
"
|
|
11280
|
+
"project",
|
|
11281
|
+
"get.js"
|
|
10872
11282
|
]
|
|
10873
11283
|
},
|
|
10874
|
-
"testing:
|
|
11284
|
+
"testing:project:list": {
|
|
10875
11285
|
"aliases": [],
|
|
10876
11286
|
"args": {},
|
|
10877
|
-
"description": "
|
|
11287
|
+
"description": "List Copado Robotic Testing projects",
|
|
10878
11288
|
"examples": [
|
|
10879
|
-
"<%= config.bin %> <%= command.id %>
|
|
10880
|
-
"<%= config.bin %> <%= command.id %> --
|
|
11289
|
+
"<%= config.bin %> <%= command.id %>",
|
|
11290
|
+
"<%= config.bin %> <%= command.id %> --name \"QA Tests\" --json"
|
|
10881
11291
|
],
|
|
10882
11292
|
"flags": {
|
|
10883
11293
|
"json": {
|
|
@@ -10887,30 +11297,63 @@
|
|
|
10887
11297
|
"allowNo": false,
|
|
10888
11298
|
"type": "boolean"
|
|
10889
11299
|
},
|
|
10890
|
-
"
|
|
10891
|
-
"description": "
|
|
10892
|
-
"name": "
|
|
10893
|
-
"
|
|
10894
|
-
"
|
|
10895
|
-
|
|
10896
|
-
|
|
10897
|
-
|
|
10898
|
-
|
|
11300
|
+
"name": {
|
|
11301
|
+
"description": "Exact project name to match client-side.",
|
|
11302
|
+
"name": "name",
|
|
11303
|
+
"hasDynamicHelp": false,
|
|
11304
|
+
"multiple": false,
|
|
11305
|
+
"type": "option"
|
|
11306
|
+
}
|
|
11307
|
+
},
|
|
11308
|
+
"hasDynamicHelp": false,
|
|
11309
|
+
"hiddenAliases": [],
|
|
11310
|
+
"id": "testing:project:list",
|
|
11311
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
11312
|
+
"pluginName": "@copado/agentia-cli",
|
|
11313
|
+
"pluginType": "core",
|
|
11314
|
+
"strict": true,
|
|
11315
|
+
"enableJsonFlag": true,
|
|
11316
|
+
"isESM": true,
|
|
11317
|
+
"relativePath": [
|
|
11318
|
+
"dist",
|
|
11319
|
+
"commands",
|
|
11320
|
+
"testing",
|
|
11321
|
+
"project",
|
|
11322
|
+
"list.js"
|
|
11323
|
+
]
|
|
11324
|
+
},
|
|
11325
|
+
"testing:project:update": {
|
|
11326
|
+
"aliases": [],
|
|
11327
|
+
"args": {
|
|
11328
|
+
"id": {
|
|
11329
|
+
"description": "CRT project ID.",
|
|
11330
|
+
"name": "id",
|
|
11331
|
+
"required": true
|
|
11332
|
+
}
|
|
11333
|
+
},
|
|
11334
|
+
"description": "Update a Copado Robotic Testing project",
|
|
11335
|
+
"examples": [
|
|
11336
|
+
"<%= config.bin %> <%= command.id %> <project-id> --name \"QA Updated\"",
|
|
11337
|
+
"<%= config.bin %> <%= command.id %> <project-id> --description \"Regression suites\" --json"
|
|
11338
|
+
],
|
|
11339
|
+
"flags": {
|
|
11340
|
+
"json": {
|
|
11341
|
+
"description": "Format output as json.",
|
|
11342
|
+
"helpGroup": "GLOBAL",
|
|
11343
|
+
"name": "json",
|
|
10899
11344
|
"allowNo": false,
|
|
10900
11345
|
"type": "boolean"
|
|
10901
11346
|
},
|
|
10902
|
-
"
|
|
10903
|
-
"
|
|
10904
|
-
"
|
|
10905
|
-
"name": "project",
|
|
10906
|
-
"required": true,
|
|
11347
|
+
"description": {
|
|
11348
|
+
"description": "New project description.",
|
|
11349
|
+
"name": "description",
|
|
10907
11350
|
"hasDynamicHelp": false,
|
|
10908
11351
|
"multiple": false,
|
|
10909
11352
|
"type": "option"
|
|
10910
11353
|
},
|
|
10911
|
-
"
|
|
10912
|
-
"description": "
|
|
10913
|
-
"name": "
|
|
11354
|
+
"name": {
|
|
11355
|
+
"description": "New project name.",
|
|
11356
|
+
"name": "name",
|
|
10914
11357
|
"hasDynamicHelp": false,
|
|
10915
11358
|
"multiple": false,
|
|
10916
11359
|
"type": "option"
|
|
@@ -10918,7 +11361,7 @@
|
|
|
10918
11361
|
},
|
|
10919
11362
|
"hasDynamicHelp": false,
|
|
10920
11363
|
"hiddenAliases": [],
|
|
10921
|
-
"id": "testing:
|
|
11364
|
+
"id": "testing:project:update",
|
|
10922
11365
|
"pluginAlias": "@copado/agentia-cli",
|
|
10923
11366
|
"pluginName": "@copado/agentia-cli",
|
|
10924
11367
|
"pluginType": "core",
|
|
@@ -10929,8 +11372,8 @@
|
|
|
10929
11372
|
"dist",
|
|
10930
11373
|
"commands",
|
|
10931
11374
|
"testing",
|
|
10932
|
-
"
|
|
10933
|
-
"
|
|
11375
|
+
"project",
|
|
11376
|
+
"update.js"
|
|
10934
11377
|
]
|
|
10935
11378
|
},
|
|
10936
11379
|
"testing:robot:create": {
|
|
@@ -17956,5 +18399,5 @@
|
|
|
17956
18399
|
]
|
|
17957
18400
|
}
|
|
17958
18401
|
},
|
|
17959
|
-
"version": "1.0.0-beta.
|
|
18402
|
+
"version": "1.0.0-beta.2"
|
|
17960
18403
|
}
|