Patchset ps-209
refactor: `--comment` flag is now a bool that reads from stdin for comment
Eric Bower
CHANGELOG.md
+9
-2
cli.go
+35
-9
e2e_test.go
+1
-1
Replaced `--comment` flag which was a string into a bool and now require comment to be provided by stdin for commands `accept`, `close`, and `reopen`. `echo "lgtm!" | ssh pr.pico.sh pr accept --comment 100` If no `--comment` flag provided then you don't need to provide stdin.
+9
-2
CHANGELOG.md
link
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
|
+35
-9
cli.go
link
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
|
+1
-1
e2e_test.go
link
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|