Skip to content

Commit 85bcc44

Browse files
committed
Update README.md
1 parent 981ab2c commit 85bcc44

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
11
# Tailwind CSS CLI as a Go Tool
22

3-
A dead simple way to run [Tailwind CSS](https://tailwindcss.com/) CLI as a Go tool.
3+
A dead simple way to run Tailwind CSS standalone CLI using `go tool` [released with Go 1.2.4](https://tip.golang.org/doc/go1.24#tools).
44

5-
No more **Node.JS**. No more **manual downloads of the CLI**.
5+
No more **Node.JS**. No more **manual downloads**.
66

7-
## Install
7+
## Usage
88

9-
```bash
10-
go get -tool github.com/scriptogre/tailwindcss-go-tool@latest
11-
```
12-
13-
## Use
9+
1. Install it:
10+
```bash
11+
go get -tool github.com/scriptogre/tailwindcss-go-tool@latest
12+
```
1413

15-
1. Create `input.css` in your project:
14+
2. Create `input.css` in your project:
1615
```css
1716
@import 'tailwindcss';
1817
```
1918

20-
2. Run TailwindCSS:
19+
3. Run it:
2120
```bash
2221
go tool tailwindcss -i input.css -o output.css --watch
2322
```

0 commit comments

Comments
 (0)