cprint
A small Go CLI that prints file contents to stdout from relative or absolute paths, with Cobra-powered help output and simple argument validation.
- Type
- Single-purpose CLI tool
- Input
- Relative or absolute file path
- Core stack
- Go, Cobra
- Output
- Plain stdout print
How the work is shaped and why it matters
Command shape
cprint keeps the interface deliberately small: one command, one file argument, and a direct output path for quick terminal use.
What it does
The tool reads a provided path with Go file I/O and prints the raw file contents to stdout, which makes it a simple fit for quick checks and shell workflows.
Developer touches
The command includes custom help text, ANSI-coloured usage output, and examples for relative and absolute paths, so even a tiny utility still feels intentional to use.
Keep browsing
More project pages

Featured work
Invoice and Go
A full-stack invoicing app with Google sign-in, billing, SQLite persistence, and exports for real finance work.

Featured work
IDO Elite Protection
A static-generated business site with SEO-first pages, a validated serverless contact flow, and low-overhead hosting.

Featured work
The Watch Maker
A craft-led service site with a custom blog, protected admin publishing, SQLite content storage, and enquiry handling.