mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +00:00
Commit graph
Select branches
Hide pull requests
dependabot/github_actions/codelytv/pr-size-labeler-1.10.0
dependabot/github_actions/golangci/golangci-lint-action-6.0.1
main
v1.6.x
#100
#1001
#1003
#1004
#1005
#1009
#101
#101
#1010
#1012
#1014
#1016
#102
#1020
#1020
#1023
#1023
#1028
#103
#103
#1032
#1034
#1035
#1037
#1039
#104
#1040
#1044
#1048
#105
#1053
#1058
#106
#1062
#1063
#1065
#1068
#1070
#1072
#1073
#1074
#1075
#1078
#108
#108
#1080
#1082
#1087
#1088
#1089
#109
#1090
#1094
#1095
#1097
#1099
#110
#110
#1103
#1104
#1106
#1108
#1110
#1112
#1113
#1117
#1118
#112
#1122
#1123
#1125
#1128
#1135
#1136
#1139
#1142
#1143
#1144
#1145
#1146
#1147
#115
#1150
#1153
#1154
#1157
#1157
#1158
#1159
#116
#1161
#1162
#1163
#1164
#1166
#1169
#117
#117
#1171
#1173
#1175
#118
#1181
#1183
#1184
#1185
#1187
#1188
#119
#1190
#1192
#1196
#1199
#12
#12
#120
#120
#1200
#1205
#1207
#1208
#121
#1210
#1210
#1213
#1217
#1217
#122
#1224
#1228
#1231
#1231
#1233
#1234
#1237
#1245
#1245
#1247
#1249
#1253
#1255
#1256
#1258
#1259
#126
#1261
#1265
#127
#1270
#1273
#1274
#128
#1280
#1282
#1284
#1292
#13
#13
#130
#130
#1301
#1305
#1308
#1309
#1310
#1310
#1312
#1314
#1317
#132
#1321
#1323
#133
#1333
#1337
#1338
#1339
#134
#1340
#1342
#1347
#1347
#1349
#135
#1350
#1351
#1352
#1356
#1357
#1357
#1359
#1359
#136
#1360
#1363
#1364
#1365
#1366
#137
#1371
#1372
#1377
#138
#1380
#1387
#139
#1390
#1392
#1392
#14
#14
#1403
#1404
#1406
#1407
#141
#1411
#1414
#1417
#1420
#1423
#1425
#1426
#1427
#1428
#1429
#143
#1430
#1431
#1432
#1433
#1434
#1436
#1438
#144
#144
#1441
#1444
#1446
#1447
#145
#1450
#1450
#1451
#1453
#1454
#1455
#1456
#1459
#146
#1460
#1463
#1467
#1468
#147
#147
#1470
#1471
#1473
#1477
#1478
#148
#1481
#1482
#1485
#1487
#149
#1495
#1495
#1497
#1498
#150
#1500
#1501
#1503
#1504
#1504
#1506
#1509
#151
#1510
#1511
#1511
#1512
#1513
#1514
#1515
#1517
#152
#1520
#1522
#1523
#1524
#1525
#1528
#153
#1530
#1533
#1536
#1539
#154
#1540
#1541
#1545
#1547
#1549
#1549
#155
#155
#1550
#1550
#1551
#1552
#1553
#1554
#1557
#1558
#1559
#1559
#1560
#1561
#1563
#1567
#1568
#1568
#1571
#1572
#1572
#1574
#1575
#1576
#1579
#158
#1581
#1582
#1583
#1584
#159
#1591
#1593
#160
#1604
#1605
#1608
#1609
#1610
#1612
#1613
#1615
#1618
#1619
#1620
#1621
#1623
#1624
#1625
#163
#1632
#1632
#1634
#1635
#1639
#164
#1640
#1642
#1643
#1645
#1646
#1647
#1654
#1656
#1659
#1660
#1661
#1662
#1662
#1664
#1664
#1665
#1668
#167
#1672
#1675
#1675
#1678
#168
#168
#1681
#1682
#1683
#1684
#1685
#1686
#1688
#1689
#169
#1690
#1691
#1692
#1693
#1695
#1697
#1698
#1698
#170
#170
#1700
#1702
#1707
#1709
#1713
#1716
#1716
#1719
#172
#1720
#1721
#1722
#1726
#1727
#1728
#1728
#1729
#173
#1730
#1731
#1732
#1735
#174
#1741
#1742
#1743
#1743
#1744
#1745
#1747
#1747
#1748
#1750
#1750
#1751
#1753
#1754
#1755
#1757
#1759
#1760
#1762
#1766
#1768
#177
#177
#1771
#1772
#1774
#1775
#1775
#1776
#1778
#1778
#1779
#178
#1781
#1782
#1783
#1785
#1785
#1788
#179
#1792
#1795
#1795
#180
#180
#1800
#1802
#1803
#1809
#181
#181
#1813
#1815
#1817
#1819
#182
#1822
#1822
#1823
#1823
#1829
#1833
#1833
#1835
#1836
#1839
#1840
#1841
#1844
#1845
#1845
#185
#185
#1850
#1851
#1854
#1856
#1856
#1857
#1857
#186
#186
#1863
#1865
#1866
#1867
#1867
#187
#187
#1870
#1871
#1872
#1873
#1874
#1875
#1875
#1879
#1882
#1882
#1883
#1884
#1885
#1886
#189
#189
#1899
#1899
#19
#19
#1901
#1902
#1903
#1904
#1907
#1908
#1912
#1914
#1914
#1916
#1917
#192
#1921
#1922
#1922
#1925
#1926
#1927
#1928
#1930
#1932
#1934
#1935
#1935
#1938
#194
#194
#1940
#1941
#1941
#1943
#1944
#1944
#1945
#1946
#1952
#1955
#1956
#1956
#1957
#196
#196
#1960
#197
#1971
#1972
#1974
#1975
#1976
#1977
#1977
#1978
#198
#198
#1980
#1983
#1984
#1984
#1989
#1989
#199
#199
#1992
#1992
#1997
#1997
#1999
#1999
#200
#2000
#2001
#2002
#2002
#2003
#2012
#2012
#2018
#2021
#2022
#2023
#2024
#2028
#203
#203
#2030
#2030
#2037
#2040
#2041
#2043
#2043
#2044
#2047
#2049
#2049
#205
#205
#2052
#2053
#2055
#2056
#2056
#2061
#2063
#2064
#207
#2070
#2071
#2074
#2076
#2076
#2078
#2078
#208
#2080
#2085
#2085
#2086
#2087
#2089
#2090
#2090
#2093
#2094
#2095
#2095
#2097
#2097
#2098
#2099
#21
#21
#210
#2102
#2105
#2108
#211
#2110
#2110
#2113
#2117
#2117
#2118
#2120
#2121
#2122
#2126
#2126
#2127
#2128
#213
#213
#2131
#2131
#2134
#2137
#214
#2140
#2143
#2146
#2146
#2148
#2149
#2149
#215
#2152
#2153
#2158
#2158
#2164
#2164
#2167
#2167
#2168
#217
#217
#2172
#2173
#2173
#2174
#2178
#2178
#218
#2180
#2181
#2182
#2183
#2189
#2189
#2194
#2194
#2196
#2197
#2198
#2199
#2199
#220
#2200
#2200
#2201
#2201
#2202
#222
#223
#224
#224
#228
#230
#24
#24
#241
#242
#242
#244
#246
#246
#25
#25
#254
#255
#256
#257
#258
#26
#26
#260
#261
#261
#264
#265
#268
#268
#271
#273
#273
#274
#274
#275
#275
#278
#280
#280
#283
#284
#285
#285
#286
#287
#287
#288
#289
#290
#293
#294
#296
#296
#299
#300
#301
#301
#303
#305
#306
#308
#309
#312
#312
#313
#314
#314
#315
#315
#317
#317
#32
#323
#327
#329
#329
#331
#332
#334
#335
#335
#337
#338
#339
#343
#345
#348
#348
#349
#349
#351
#351
#353
#355
#356
#356
#359
#36
#36
#360
#361
#361
#363
#364
#369
#369
#370
#372
#373
#375
#375
#38
#38
#380
#381
#381
#383
#383
#384
#386
#39
#39
#390
#391
#394
#396
#397
#398
#399
#402
#405
#406
#408
#41
#410
#411
#414
#415
#417
#418
#419
#422
#423
#425
#427
#428
#431
#436
#437
#437
#438
#439
#441
#442
#444
#445
#446
#447
#451
#456
#457
#459
#461
#461
#466
#469
#472
#473
#473
#474
#475
#476
#477
#48
#48
#481
#481
#485
#487
#49
#49
#494
#494
#496
#497
#5
#50
#50
#500
#502
#504
#507
#51
#51
#513
#513
#515
#516
#520
#522
#523
#524
#526
#526
#528
#528
#529
#53
#53
#530
#531
#532
#536
#536
#537
#538
#54
#54
#543
#544
#544
#546
#547
#548
#549
#55
#55
#552
#554
#56
#56
#560
#565
#567
#573
#575
#575
#577
#577
#579
#58
#58
#580
#581
#581
#584
#585
#586
#588
#590
#591
#592
#593
#594
#595
#596
#6
#60
#606
#61
#61
#614
#615
#615
#616
#617
#617
#620
#621
#625
#626
#627
#628
#629
#630
#631
#635
#638
#64
#64
#642
#643
#645
#646
#649
#65
#65
#651
#653
#653
#657
#659
#659
#66
#66
#662
#664
#664
#666
#667
#668
#669
#671
#672
#673
#676
#677
#68
#68
#686
#687
#69
#698
#698
#7
#70
#700
#704
#71
#71
#711
#711
#712
#713
#713
#714
#717
#72
#72
#727
#730
#732
#734
#735
#736
#736
#737
#738
#74
#74
#746
#75
#754
#757
#76
#762
#765
#767
#769
#77
#772
#774
#775
#777
#779
#780
#782
#784
#784
#785
#786
#79
#79
#791
#794
#796
#797
#799
#8
#800
#801
#806
#807
#808
#809
#811
#814
#817
#82
#820
#822
#824
#826
#828
#83
#831
#832
#833
#839
#84
#840
#841
#841
#842
#842
#845
#846
#85
#850
#853
#855
#86
#86
#860
#863
#864
#865
#869
#87
#871
#873
#876
#878
#88
#880
#882
#883
#884
#885
#887
#888
#889
#89
#892
#893
#894
#896
#899
#9
#9
#90
#900
#902
#904
#905
#906
#91
#911
#912
#913
#916
#92
#922
#923
#924
#929
#93
#935
#936
#937
#939
#939
#94
#94
#944
#946
#947
#948
#949
#95
#953
#954
#955
#955
#96
#962
#964
#966
#968
#969
#97
#971
#972
#973
#975
#976
#977
#979
#98
#980
#983
#987
#991
#992
#993
#996
#998
#999
0.0.5
0.0.7
v0.0.1
v0.0.2
v0.0.3
v0.0.4
v0.0.5
v0.0.6
v0.0.7
v1.0.0
v1.1.0
v1.1.1
v1.1.2
v1.1.3
v1.2.0
v1.2.1
v1.3.0
v1.4.0
v1.5.0
v1.6.0
v1.6.1
v1.7.0
v1.8.0
v1.8.1
-
0c653d6e38
Add Parent FlagSet
fahed dorgaa
2022-09-05 13:06:57 +0000 -
33b42465ed
ci: add minimum GitHub token permissions for workflows
Varun Sharma
2022-08-31 17:43:38 -0700 -
8095ca31dd
adjust docs
umarcor
2022-08-30 19:57:51 +0200 -
6863083cdd
args_test: fix command passed to TestNoArgs_WithValid_WithInvalidArgs
umarcor
2022-08-30 19:35:15 +0200 -
4e31482378
args_test: specify 2 args instead of 3 in TestExactValidArgs_WithInvalidCount_WithInvalidArgs
umarcor
2022-08-30 19:32:25 +0200 -
83365ac14e
args_test: specify 2 args instead of 3 in TestExactValidArgs_WithInvalidArgs
umarcor
2022-08-30 19:31:37 +0200 -
b3982ec9bc
args: inverse the methods in ExactValidArgs
umarcor
2022-08-30 19:29:43 +0200 -
ec474022ff
test combinations of args validators
umarcor
2019-03-18 23:32:12 +0100 -
45b20e4ecd
deprecate ExactValidArgs in favour of MatchAll(OnlyValidArgs, ...)
umarcor
2022-03-28 01:34:40 +0200 -
0580724b5f
2022-08-30 10:34:58 -0400 -
2a7647ff46
2022-08-30 04:12:56 +0200 -
abaa162a74
Document option to hide the default completion cmd
Marc Khouzam
2022-08-18 15:24:40 -0400 -
7045405250
2022-08-30 02:35:16 +0100 -
d0d5d68eef
75499b99cb
into22b617914c
nestoroprysk2022-08-29 10:12:56 +0900 -
22b617914c
2022-08-28 12:46:39 -0400 -
50a887cb66
fix: show flags that shadow parent persistent flag in child help
Brian Pursley
2022-08-28 11:56:46 -0400 -
220e00224c
Add OnFinalize method
Yann Soubeyrand
2020-07-14 19:15:52 +0200 -
d391ed8d85
ci/golangci-lint: use latest version available in setup-go's manifest
umarcor
2022-08-22 01:04:31 +0200 -
721fd1f19c
Adds
check-latest
for setup-go action v3 John McBride2022-06-15 16:11:15 -0600 -
8b3f224c96
ci: run golangci-lint on golang 1.19
umarcor
2022-08-22 00:30:19 +0200 -
0cb3a0a26d
ci: test on Golang 1.19
umarcor
2022-08-22 00:29:56 +0200 -
8825c7b3f9
feat: add '[args]' and 'Valid Args:' to --help
umarcor
2019-03-19 19:41:09 +0100 -
a9dbe74c87
args_test: add TestArgs_Nil
umarcor
2021-02-01 11:49:41 +0100 -
64d7401852
args_test: use sub-tests for grouping based on the validator
umarcor
2019-03-21 21:56:13 +0100 -
d507a44e7a
args_test: style
umarcor
2019-03-19 20:30:05 +0100 -
d4d0679f4b
add expectError helper function to args_test
umarcor
2019-03-19 00:45:32 +0100 -
78048ea811
command/ValidateArgs: check ValidArgs regardless of Args being nil
umarcor
2021-02-01 11:29:39 +0100 -
2cd7871821
feat: generalize ValidArgs; use it implicitly with any validator
umarcor
2019-03-18 23:32:12 +0100 -
cbd7c48951
deprecate ExactValidArgs in favour of MatchAll(OnlyValidArgs, ...)
umarcor
2022-03-28 01:34:40 +0200 -
ef504a698b
style(bash-v2): use herestring in activehelp extraction
Ville Skyttä
2022-06-18 22:51:31 +0200 -
aa6017008a
style(bash-v2): remove unnecessary trailing linefeed removal
Ville Skyttä
2022-05-17 23:38:49 +0300 -
966d0a8b85
style(bash-v2): use ${foo-} rather than ${foo:-} in emptiness check
Ville Skyttä
2022-05-17 23:32:38 +0300 -
933caf637f
style(bash-v2): [[ ]] over [ ], == over =, remove unnecessary quoting
Ville Skyttä
2022-05-17 23:31:04 +0300 -
10da1a8996
style(bash-v2): remove unnecessary $ from array index variables
Ville Skyttä
2022-05-17 23:28:02 +0300 -
48a6fe5779
style(bash-v2): use arithmetic evaluation in numeric context
Ville Skyttä
2022-05-17 23:26:41 +0300 -
ec6fe6b61c
Add group flags
knqyf263
2022-08-18 12:15:39 +0300 -
571b3440d6
15e2ae2ceb
intodbf85f6104
Himadri Bhattacharjee2022-08-14 20:42:51 +0900 -
dbf85f6104
2022-08-14 00:18:46 +0200 -
f911c0b89c
2022-08-14 00:44:47 +0300 -
7790bf97fd
2022-08-13 23:31:45 +0200 -
6bf8cd8582
2022-08-13 21:02:01 +0000 -
c19a6fab18
2022-08-11 12:58:05 -0400 -
ab6e601eaa
2022-08-08 10:20:34 +0000 -
965924ac89
2022-08-04 17:18:09 +0200 -
0464e75c6c
2022-08-04 16:11:56 +0200 -
e8f9808db6
2022-08-04 15:46:04 +0200 -
be83846f84
ref: clean up lint error (#1759)
plastikfan
2022-08-01 15:44:02 +0100 -
d5bea272b1
feat: optimise markflagsdependson/markflagdependsonany by removing specialStatusInfo (#1759)
plastikfan
2022-07-29 16:54:54 +0100 -
3ebb4c3c31
Merge branch 'master' into feat/add-markflagsdependenton
plastikfan
2022-07-27 19:19:03 +0100 -
3d2185c306
feat: add markflagsdependenton (#1739)
plastikfan
2022-06-24 10:24:43 +0100 -
85232277d6
2022-07-26 14:12:47 +0200 -
53c6d8ab13
fix(bash-v2): activeHelp length check syntax
Ville Skyttä
2022-07-22 17:27:26 +0300 -
162534f92f
2022-07-20 15:45:07 +0200 -
e15a3dfae0
2022-07-20 10:21:59 +0200 -
1b5d2a2128
Fix error message for NoArgs
piroux
2022-07-16 12:16:33 +0200 -
f8b8914b8b
2022-07-03 17:45:45 +0300 -
0bd365c14b
2022-07-08 07:12:17 +0300 -
29e2eaa110
2022-07-08 06:45:50 +0300 -
a0aadc68eb
2022-07-07 13:54:19 +0900 -
d1fb50cf2c
2022-07-07 11:06:35 +0900 -
a63d56feaf
2022-07-03 17:45:45 +0300 -
41924bb825
Clarify SetContext documentation
katexochen
2022-07-02 22:14:49 +0200 -
15e2ae2ceb
Added flags groups which are mutually exclusive but required
Himadri Bhattacharjee
2022-07-02 03:34:23 +0000 -
69083f81b2
2022-06-28 23:19:33 +0200 -
165be72ff6
2022-06-28 10:48:49 +0200 -
13bb406184
2022-06-27 12:08:47 +0900 -
bba9331d4e
2022-06-25 19:17:06 +0300 -
405bdcdc4c
Move CloudQuery to match alphabet order
Yevgeny Pats
2022-06-24 20:21:54 +0000 -
d7a94b28a0
2022-06-23 19:54:51 +0300 -
3d38d18a23
2022-06-23 17:36:12 +0200 -
00a58e9aa3
Add KubeVirt as a project using cobra
Miguel Duarte Barroso
2022-06-22 21:08:30 +0200 -
06b06a9dc9
2022-06-20 20:06:17 -0600 -
5f2ec3c897
2022-06-20 22:04:28 -0400 -
b9ca5949e2
2022-06-21 04:02:33 +0200 -
ea94a3db55
2022-06-21 03:00:50 +0100 -
ca500ea37d
test(completion): test shorthand flag completion
Denis Gukov
2022-06-16 15:41:20 +0500 -
156691e8ab
undefined or nil Args default to ArbitraryArgs
umarcor
2022-02-24 21:57:31 +0100 -
7c9831d376
2022-06-20 00:11:21 -0400 -
9b87f1e06b
Fix handling of descriptions for bash v3
Marc Khouzam
2022-06-19 23:59:48 -0400 -
ed7bb9dda4
2022-06-20 11:38:49 +0900 -
9073d9cfaa
add unit test
kida
2021-10-25 16:36:12 +0900 -
1ebb576c1d
Update shell completion to respect flag groups
Marc Khouzam
2022-04-08 16:23:36 -0400 -
b755f40ce7
feat(completion): support no-space completions for short flags
tim
2022-06-17 12:23:23 +0500 -
e6ffcff2be
feat(completion): support no-space completions for short flags
tim
2022-06-17 11:51:08 +0500 -
0c125f4ffe
temp commit
tim
2022-06-17 00:26:37 +0500 -
8935a74081
2022-06-16 16:55:07 +0200 -
d1932e0934
feat(completion): support no space flag value completion
Denis Gukov
2022-06-16 15:17:53 +0500 -
f464d6c82e
2022-06-15 20:08:16 -0400 -
63143d01a1
Adds
check-latest
for setup-go action v3 John McBride2022-06-15 16:11:15 -0600 -
7dc8b004e6
2022-06-15 16:08:55 -0600 -
aed0d98fb7
chore: rename
SuggestionsMinimumDistance
toSuggestionsMaximumDistance
Nate Pinsky2022-06-13 17:26:50 -0700 -
d90b117809
feat(completion): support no space format of short flags https://github.com/spf13/cobra/issues/1629
Denis Gukov
2022-06-13 22:26:13 +0500 -
87ea1807f7
2022-06-13 10:22:49 +0800 -
1db55ea179
Only allow configuring ActiveHelp through env vars
Marc Khouzam
2021-12-09 08:03:55 -0500 -
25e8b5e735
Add support for ActiveHelp
Marc Khouzam
2021-08-06 17:18:02 -0400 -
7f3e13f388
2022-06-13 09:29:42 +0800 -
0bc8ff8f1e
With go 1.18, we must use go install for a binary
Marc Khouzam
2022-06-12 20:24:23 -0400 -
823517c128
2022-06-09 15:03:02 -0700 -
5c62c6a057
2022-06-09 10:03:21 -0700 -
aed9e6d54a
2022-06-08 14:31:23 -0700