7 Commits

4 changed files with 11 additions and 5 deletions

View File

@@ -17,6 +17,15 @@ ccat is a file printing tool (like 'cat') which uses Regular Expressions to enab
---
### Installing
Download the appropriate zip-file from the 'Releases' section. Place the executable in your PATH.
NOTE: The releases are not available on the GitHub repo (which is a mirror of https://gitea.twomorecents.org/Rockingcool/ccat). Obtain the [releases](https://gitea.twomorecents.org/Rockingcool/ccat/releases) from there instead.
---
### Building from source
If you have the `go` command installed, run `make` after cloning the repository.
---
@@ -27,7 +36,6 @@ The following languages have config files included by default:
- C
- Go
-
---
@@ -63,4 +71,3 @@ Note that the color name must be capitalized (and shouldn't contain spaces). The
### TODO:
- Windows support.
- Allow users to provide a config file in the command-line, overriding the extension-based config file.
- Provide releases.

View File

@@ -1,9 +1,9 @@
package main
import (
"ccat/stack"
"embed"
"errors"
"gitea.twomorecents.org/Rockingcool/ccat/stack"
"io/fs"
"os"
"path/filepath"

2
go.mod
View File

@@ -1,4 +1,4 @@
module ccat
module gitea.twomorecents.org/Rockingcool/ccat
go 1.22.5

View File

@@ -1,5 +1,4 @@
1. Man page
2. README for GitHub Repo
2. Logging
3. Coloring functions
4. Flag to list all available colors for your terminal - some terminals will only support the predefined colors.