File tree Expand file tree Collapse file tree 4 files changed +36
-10
lines changed Expand file tree Collapse file tree 4 files changed +36
-10
lines changed Original file line number Diff line number Diff line change 32
32
- name : Normal Output Test
33
33
run : go run main.go -- main.go
34
34
# ref. https://github.com/gfx/example-github-actions-with-tty
35
- - name : Colored Output Test
35
+ - name : Colorized Output Test
36
36
if : runner.os == 'Linux'
37
37
shell : ' script -q -e -c "bash {0}"'
38
38
run : go run main.go -- main.go
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ builds:
30
30
- -s -w -X github.com/toshimaru/nyan/cmd.version={{.Version}}
31
31
32
32
checksum :
33
- name_template : ' checksums.txt'
33
+ name_template : " checksums.txt"
34
34
35
35
changelog :
36
36
sort : asc
@@ -58,16 +58,15 @@ changelog:
58
58
order : 99
59
59
60
60
archives :
61
- - name_template : ' {{ .ProjectName }}_{{ title .Os }}_{{ .Arch }}'
61
+ - name_template : " {{ .ProjectName }}_{{ title .Os }}_{{ .Arch }}"
62
62
format_overrides :
63
63
- goos : windows
64
- formats : [ zip ]
64
+ formats : [zip]
65
65
66
66
homebrew_casks :
67
67
- repository :
68
68
owner : toshimaru
69
69
name : homebrew-nyan
70
- description : Colored cat command which supports syntax highlighting
70
+ description : Colorizing ` cat` command with syntax highlighting
71
71
homepage : https://github.com/toshimaru/nyan
72
72
license : MIT
73
-
Original file line number Diff line number Diff line change 6
6
7
7
# nyan
8
8
9
- Colored ` cat ` command which supports syntax highlighting.
9
+ Colorizing ` cat ` command with syntax highlighting.
10
10
11
11
![ OG image for nyan command] ( https://repository-images.githubusercontent.com/195893425/0a7e7dfc-3a80-49d5-8193-5482fe2e7848 )
12
12
@@ -15,9 +15,34 @@ Colored `cat` command which supports syntax highlighting.
15
15
### Homebrew
16
16
17
17
``` console
18
- $ brew install toshimaru/nyan/ nyan
18
+ $ brew install nyan
19
19
```
20
20
21
+ > [ !NOTE]
22
+ > As of v1.2.0, ` nyan ` has been merged into [ homebrew-core] ( https://github.com/Homebrew/homebrew-core ) . :tada :
23
+ >
24
+ > If you see:
25
+ >
26
+ > ```
27
+ > Error: nyan was installed from the toshimaru/nyan tap
28
+ > ```
29
+ >
30
+ > simply reinstall from the core tap:
31
+ >
32
+ > ```console
33
+ > $ brew uninstall nyan
34
+ > $ brew install nyan
35
+ > ```
36
+
37
+ <details>
38
+ <summary><strong>Install via Homebrew Tap</strong></summary>
39
+
40
+ ```console
41
+ $ brew install --cask toshimaru/nyan/nyan
42
+ ```
43
+
44
+ </details >
45
+
21
46
### go get
22
47
23
48
``` console
@@ -36,6 +61,8 @@ $ go install github.com/toshimaru/nyan@latest
36
61
$ nyan FILE
37
62
```
38
63
64
+ ![ nyan command sample] ( https://github.com/user-attachments/assets/ba6a3248-3f8f-49ab-b1b1-1e6c4a084a99 )
65
+
39
66
### Available Options
40
67
41
68
| Option | Description |
Original file line number Diff line number Diff line change 28
28
29
29
var rootCmd = & cobra.Command {
30
30
Use : "nyan [flags] [FILE]..." ,
31
- Short : "Colored cat command." ,
32
- Long : "Colored cat command which supports syntax highlighting." ,
31
+ Short : "Colorizing cat command." ,
32
+ Long : "Colorizing ` cat` command with syntax highlighting." ,
33
33
Example : `$ nyan FILE
34
34
$ nyan FILE1 FILE2 FILE3
35
35
$ nyan -t solarized-dark FILE
You can’t perform that action at this time.
0 commit comments