mirror of
https://github.com/spf13/cobra
synced 2025-05-05 12:57:22 +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
v1.9.0-dep-updates
#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
#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
#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
#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
#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
#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
#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
#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
#2037
#2040
#2041
#2043
#2043
#2044
#2047
#2049
#2049
#205
#205
#2052
#2053
#2055
#2056
#2056
#2061
#2063
#2064
#207
#2070
#2071
#2074
#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
#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
#2174
#2178
#2178
#218
#2180
#2181
#2182
#2183
#2189
#2189
#2194
#2194
#2196
#2197
#2198
#2199
#2199
#220
#2200
#2200
#2201
#2202
#2206
#2210
#2216
#2218
#2218
#222
#2220
#2221
#2221
#2223
#2223
#2224
#2228
#2229
#223
#2230
#2231
#2233
#2234
#2235
#2236
#2237
#2238
#2238
#224
#224
#2241
#2244
#2245
#2245
#2246
#2246
#2248
#2253
#2256
#2258
#2258
#2259
#2259
#2263
#2263
#2265
#2266
#2266
#2267
#2267
#2271
#2271
#2272
#2273
#2274
#2274
#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
v1.9.0
v1.9.1
-
14c5913acd
Make SEE ALSO references and generated file names agree with each other.
Raphael 'kena' Poss
2016-09-04 11:42:13 +00:00 -
9c28e4bbd7
Merge pull request #339 from bogem/fixes
Eric Paris
2016-08-30 13:49:25 -04:00 -
5da98880f3
Edit documentation
bogem
2016-08-30 22:14:27 +05:00 -
101d434d44
Simplify OnInitialize func
bogem
2016-08-30 21:58:52 +05:00 -
71a9c0834b
Simplify condition with err
bogem
2016-08-30 21:57:12 +05:00 -
d671d98363
Merge pull request #338 from icaoweiwei/patch-2016-08-29-2
Eric Paris
2016-08-30 11:26:59 -04:00 -
4a087062c6
Fix typo
Cao Weiwei
2016-08-29 00:18:06 +08:00 -
1bffbc43ed
go fmt
Elliot Morrison-Reed
2016-08-26 23:57:30 +02:00 -
c888c97288
Use os.Getenv("HOME") instead of "$HOME" for windows compatibility
Elliot Morrison-Reed
2016-08-26 21:49:38 +02:00 -
895387ad4b
Run windows valid path test cases only if runtime.GOOS == "windows"
Elliot Morrison-Reed
2016-08-26 18:11:33 +02:00 -
6296a316b8
Removed iteration from inPath check, the first entry is enough Added GOOS check for inPath tests
Elliot Morrison-Reed
2016-08-26 08:12:50 +02:00 -
15e8c75e0b
Changed string comparison for child path to use filepath.Rel
Elliot Morrison-Reed
2016-08-25 23:06:56 +02:00 -
e3d065ad9b
Add rclone to list of users
Nick Craig-Wood
2016-08-24 23:26:23 +01:00 -
37c3f80603
Merge pull request #332 from broady/master
Eric Paris
2016-08-23 17:51:50 -04:00 -
ed0a8cae34
travis: fix build matrix config
Chris Broadfoot
2016-08-23 13:41:01 -07:00 -
8e9c5e77eb
Merge pull request #331 from broady/fmtetc
Eric Paris
2016-08-23 16:37:01 -04:00 -
d1371ecdb4
gofmt, govet, run those in Travis, add 1.7
Chris Broadfoot
2016-08-20 00:09:46 -07:00 -
b65aa6f9b3
Merge branch 'master' into bugfix/consistent-error-reporting-when-called-with-unknown-subcommand
Jan Polasek
2016-08-22 18:39:02 +01:00 -
45cc4c0b1b
Merge pull request #1 from spf13/master
improbablejan
2016-08-22 10:35:25 -07:00 -
5726017a25
Run gofmt.
Jan Polasek
2016-08-22 18:26:19 +01:00 -
0f10a71a34
Unify the behaviour of error reporting when unknown subcommand is passed, add tests.
Jan Polasek
2016-08-22 18:23:32 +01:00 -
1f4717172e
Merge pull request #327 from bogem/fixes
Eric Paris
2016-08-22 09:59:44 -04:00 -
6e17f4e2c5
Fix typos
bogem
2016-08-20 12:04:53 +05:00 -
ec452170d2
Fix error messages in cobra_test
bogem
2016-08-20 12:02:26 +05:00 -
d401e36ae3
Refactor licenses to many files
Mark D. Blackwell
2016-08-17 16:35:48 -04:00 -
b83ace34b5
Add the ability to tell which of the aliases was the Command actually called with
Jose Luis Tallon
2016-08-15 20:16:03 +02:00 -
7c32580196
Solo Execute
Calum Gardner
2016-08-11 20:31:43 +01:00 -
88e2af3aff
project path guessing updated
nikandfor
2016-08-09 21:21:57 +03:00 -
806b2bb86a
checking if project dir is not empty on init fixed
nikandfor
2016-08-09 21:21:40 +03:00 -
7c674d9e72
Merge pull request #313 from euank/swift-as-a-cobra-hidden-as-a-ninja
Eric Paris
2016-08-02 18:37:37 -04:00 -
40e19b3f3b
Don't display deprecated flags in bash completions
Euan Kemp
2016-08-02 15:01:33 -07:00 -
75daccd5b8
Don't display hidden flags in bash completions
Euan Kemp
2016-08-02 14:49:33 -07:00 -
088e856e8b
Add nehm to projects
bogem
2016-07-27 18:26:01 +05:00 -
f62e98d28a
Merge pull request #300 from cshung/master
Eric Paris
2016-07-22 04:15:47 -04:00 -
dbb7c2d02e
Merge pull request #308 from fabianofranz/restore_backwards_compatibility
Eric Paris
2016-07-20 22:00:57 -04:00 -
77700138b4
Fix typo at docstring for HasHelpSubCommands
Andrey Kurilin
2016-07-20 18:08:05 +03:00 -
ded646f978
Restore Help() and Usage() for backwards compatibility
Fabiano Franz
2016-07-20 11:39:46 -03:00 -
9d9ce1213e
Bump Travis to Go 1.6.3
Bjørn Erik Pedersen
2016-07-18 23:49:09 +02:00 -
e447833a2f
Sebastiaan van Stijn
2016-07-16 17:09:30 +02:00 -
b24564e919
Merge pull request #305 from fabianofranz/expose_out
Eric Paris
2016-07-15 19:55:49 -04:00 -
d6bf4ef243
Don't expose Usage() and Help() - our interfaces are UsageFunc, HelpFunc and UsageString
Fabiano Franz
2016-07-15 17:17:29 -03:00 -
20217d8f5e
Expose OutOrStdout and OutOrStderr and don't make assumptions if output is not set
Fabiano Franz
2016-07-15 17:12:07 -03:00 -
a272c3cbd5
Merge pull request #303 from fabianofranz/testing_help_exiting_1
Eric Paris
2016-07-08 16:24:02 -04:00 -
77530f537e
Help command must use Stdout instead of Stderr
Fabiano Franz
2016-07-06 12:51:57 -03:00 -
5513220bc3
test changes to make it pass
Viktor Benei
2016-07-04 21:49:06 +02:00 -
45b377d6b1
use root if no other command matches and root is runnable
Viktor Benei
2016-07-04 21:24:58 +02:00 -
cb51c97a4e
Include instruction for building the cobra tool in README.md
Andrew Au
2016-06-29 21:34:17 -07:00 -
1cc2ef9ea0
Merge
60b5e87117
into6a8bd97bdb
Daniel Nephin
2016-06-23 18:00:45 +00:00 -
60b5e87117
Set a different stream for deprecation errors.
Daniel Nephin
2016-06-23 13:57:39 -04:00 -
6a8bd97bdb
Merge pull request #294 from dnephin/fix_man_page_gen_bugs
Eric Paris
2016-06-21 16:47:55 -04:00 -
e291587027
Cretea a new GenManTree function that takes an options struct.
Daniel Nephin
2016-06-21 12:34:20 -04:00 -
97206b3170
Use the correct man page section for the filename
Daniel Nephin
2016-06-21 12:25:26 -04:00 -
112c7dca3a
Hide deprecated shorthand flags in man page generation.
Daniel Nephin
2016-06-20 17:29:54 -04:00 -
29c0a1f42e
Use the correct UseLine for the man page synposis.
Daniel Nephin
2016-06-20 17:27:41 -04:00 -
7faa7fcdd2
Merge persistent flags before checking for a help flag.
Daniel Nephin
2016-05-31 15:38:12 -07:00 -
bc81c21bd0
Merge pull request #293 from andreykurilin/sort_commands
Eric Paris
2016-06-15 10:36:14 -04:00 -
ab97c7a63a
Sort commands by their names
Andrey Kurilin
2016-06-14 17:04:53 +03:00 -
1238ba19d2
Merge pull request #290 from joe2far/patch-1
Eric Paris
2016-06-07 08:43:46 -04:00 -
c21ee9da52
Merge pull request #288 from eparis/flags-vs-commands
Eric Paris
2016-06-07 08:37:00 -04:00 -
719241171d
Fixed typos in README and docstring
joe2far
2016-06-07 11:50:48 +01:00 -
b5a074e79e
Merge
913b78e7a9
intof447048345
Eli Young
2016-06-06 14:10:24 +00:00 -
f447048345
Merge pull request #289 from markbates/disable-flags
Eric Paris
2016-06-04 00:47:32 -04:00 -
dc6e9ece6f
added a flag to disable flags
Mark Bates
2016-06-03 20:25:52 -04:00 -
7bf964e5b6
Do not show subcommands in bash completion if a local flag was specified
Eric Paris
2016-06-03 12:37:40 -04:00 -
ecc7ea6969
Show both commands and 'required flags' instead of only 'required flags'
Eric Paris
2016-06-03 12:43:20 -04:00 -
a5f153e19b
add vim to gitignore
Eric Paris
2016-06-03 10:18:59 -04:00 -
913b78e7a9
Add Bash support for command-substitute flags
Eli Young
2016-06-02 17:01:39 -07:00 -
658b0c71fb
allow suggestions for non-root commands
deads2k
2016-05-27 08:18:08 -04:00 -
4f42e96b84
Fixes issue #276.
Klaus Birkelund Jensen
2016-05-20 12:06:55 +02:00 -
f368244301
Merge pull request #278 from kevintpeng/patch-1
Eric Paris
2016-05-17 13:19:29 -04:00 -
6096009e8d
Fixed Small Comment Typo
Kevin Peng
2016-05-17 13:17:01 -04:00 -
36bbf32d1d
Merge branch 'master' of github.com:ianwalter/cobra
Ian Walter
2016-05-09 15:30:18 -04:00 -
22e4fd4c85
Merge branch 'master' of https://github.com/spf13/cobra
Ian Walter
2016-05-09 15:29:55 -04:00 -
0f866a6211
Get Travis config up-to-date
Bjørn Erik Pedersen
2016-05-09 11:37:22 +02:00 -
1ea47519b1
Merge
87b7eee3a2
into336d629de0
Daniel Nephin
2016-05-07 17:27:05 +00:00 -
87b7eee3a2
Update go versions to latest minor versions.
Daniel Nephin
2016-05-07 13:25:29 -04:00 -
4a18700e41
Merge
616f79f776
into336d629de0
Andrew Murray
2016-05-06 10:46:56 +00:00 -
616f79f776
Fixed typo
Andrew Murray
2016-05-06 20:46:46 +10:00 -
7e288525f0
Making buildPath arg more descriptive
Ian Walter
2016-05-03 22:16:18 -04:00 -
02a0b7db0c
Fixing addCmd templating and finishing #266
Ian Walter
2016-05-03 22:09:50 -04:00 -
784ab4d6eb
Reversing cmd creation order so child cmds get added properly
Ian Walter
2016-05-03 00:56:28 -04:00 -
274ca840ae
Fixing removal of filepath.join from writeTemplateToFile
Ian Walter
2016-05-02 22:37:29 -04:00 -
034973cce1
Merge branch 'master' of github.com:ianwalter/cobra
Ian Walter
2016-05-02 22:04:56 -04:00 -
ecbac3bbf6
Merge branch 'master' of https://github.com/spf13/cobra
Ian Walter
2016-05-02 22:04:39 -04:00 -
336d629de0
Add godoc badge to README.md (#271)
Wesley Merkel
2016-04-30 06:18:32 -07:00 -
c18ab40644
Add godoc badge to README.md
Wesley Merkel
2016-04-30 01:42:48 -07:00 -
b4c7072b6b
Checking if cmd file exists before trying to create it
Ian Walter
2016-04-28 21:23:46 -04:00 -
a6cbaf61ec
Working on #266: Ability to add nested commands
Ian Walter
2016-04-27 22:44:53 -04:00 -
c31b2b7153
Merge
853cb4d97f
intoe14e47b7a9
John Schnake
2016-04-27 17:34:27 +00:00 -
e14e47b7a9
Issue #267: Ensure hidden flags/subcommands do not change help
John Schnake
2016-04-13 13:27:05 -05:00 -
9a8186dbb5
Improving createLicenseFile function
Ian Walter
2016-03-31 14:52:16 -04:00 -
d811f40c6a
Adding custom license functionality
Ian Walter
2016-03-31 14:31:03 -04:00 -
496a12b27e
Merge
821543bdaa
into3dc021e8c7
Ian Walter
2016-04-27 16:02:05 +00:00 -
709315630b
Merge
3cea2b7e5d
into3dc021e8c7
Robert Terhaar
2016-04-27 16:01:46 +00:00 -
3dc021e8c7
add gpl2 license
Rob Terhaar
2016-02-21 23:00:23 -05:00 -
8bf317ef60
add gpl2 license
Rob Terhaar
2016-02-21 22:54:02 -05:00 -
853cb4d97f
Issue #267: Ensure hidden flags/subcommands do not change help
John Schnake
2016-04-13 13:27:05 -05:00 -
8985ae80d8
Merge
b0ace35ce7
into4c05eb1145
Anthony Fok
2016-04-07 00:08:47 +00:00 -
4c05eb1145
Merge pull request #265 from sttts/sttts-shellcheck
Eric Paris
2016-04-03 09:08:35 -05:00 -
defeccc04d
Run shellcheck on bash completion
Dr. Stefan Schimanski
2016-04-02 22:45:01 +02:00