9a6fc3475a
Added comment to function
v0.1.0
2024-08-15 12:42:50 -05:00
d15a771e89
Removed references to Windows support
...
The program doesn't seem to work on Windows, and I don't have the time
right now to debug it. So, at the moment, the program isn't supported on Windows.
2024-08-15 12:37:01 -05:00
f8cb03bf88
Wrote script to create release builds
2024-08-15 12:28:12 -05:00
b65cef96c3
Replaced the relative path on Windows with an absolute path
2024-08-15 12:27:48 -05:00
b511c14cc3
Updated gitignore
2024-08-15 12:27:33 -05:00
122cd5ed04
Fixed typo
v0.0.1
2024-08-15 11:38:00 -05:00
3b8bcb4c8a
Updated README
2024-08-15 11:37:13 -05:00
e7e7a247d8
Updated README
2024-08-15 10:19:52 -05:00
eb2a0a9122
If the color config file exists, load colors from it
2024-08-15 10:19:43 -05:00
46e3e9da85
Added function to load colors from a config file
2024-08-15 10:19:21 -05:00
5bb51fb90c
Updated README
2024-08-14 12:21:58 -05:00
5da734e06d
Fixed typo
2024-08-14 12:21:21 -05:00
925ef4df4b
Updated README
2024-08-14 12:20:30 -05:00
79cd6dab8d
Cosmetic changes
2024-08-14 12:16:41 -05:00
28ee686295
Fixed typo
2024-08-14 12:15:57 -05:00
5e0bbbec4f
Added README
2024-08-14 12:15:19 -05:00
05f3ebc178
Updated TODO
2024-08-14 10:05:11 -05:00
a34f2309a8
Removed C file which was used for testing
2024-08-14 10:03:33 -05:00
66b227fb63
Defined color mappings for Go
2024-08-14 09:42:07 -05:00
373c3c3385
Added Dark Blue as a color
2024-08-14 09:41:55 -05:00
624ea575cc
Changed behavior of program when 'disable color' flag is passed.
...
Instead of printing out the contents early on (which wouldn't allow it to work
with '-n'), I skip the loop that applies colors based on the regular expressions.
2024-08-13 00:55:55 -05:00
ffae02b62b
Fixed bug where line number wasn't updated
2024-08-13 00:51:53 -05:00
81b976bcc7
Added 'line number' flag, and added check for empty file.
...
I added a 'line number' flag ('-n') which will print the line number
with padding before every line. To ensure that a line number isn't printed when
trying to 'ccat' an empty file, I added a check to see if the file is empty.
If it is, the program exits.
2024-08-13 00:49:02 -05:00
0b67cb317e
Added 'disable color' flag ('-d') to disable color printing. Also replaced os.Args with flag.Args, to retrieve command-line arguments after stripping out flags
2024-08-13 00:21:26 -05:00
098f7fe01b
Instead of using command-line flags, I decided to generate the configs if they don't exist
2024-08-13 00:07:46 -05:00
76fc61a19d
Wrote function to copy embedded config files to a config directory
2024-08-13 00:01:00 -05:00
94d1d99af2
Added a flag called 'generate-config' which will generate default config files.
2024-08-12 11:27:07 -05:00
7feac0b5f7
Renamed 'printAndExit' to 'printErrAndExit'
2024-08-10 11:29:18 -05:00
2a007ba56c
Replaced 'panic' with an error return, and a call to 'printAndExit'
2024-08-10 11:28:41 -05:00
71051ce7f0
Wrote function to print an error and exit the program
2024-08-10 11:12:23 -05:00
461824d725
Added gitignore file
2024-08-10 11:04:22 -05:00
c4f8028e8a
Removed binary file
2024-08-10 11:04:09 -05:00
3678dc5161
Added regex match for comparison operators
2024-08-09 19:26:35 -05:00
025ec775ca
First commit
2024-08-09 19:20:42 -05:00