RubybeginnercliAI generated

Markdown Table Formatter CLI

Build a command-line tool that reads raw tab- or comma-separated data and outputs a properly aligned Markdown table, useful for quickly generating README content. Learners practice string formatting, array manipulation, and building a small text-processing pipeline in Ruby.

Estimate
~5h
Steps
4
Completed by
0
Proposed by
codeseed.app

Standard Library

Project roadmap

  1. 01

    Parse delimited input

    ~1.5h

    Read input from a file or STDIN and split it into rows and columns based on a chosen delimiter.

  2. 02

    Compute column widths

    ~1h

    Calculate the max width needed for each column so the output table aligns correctly.

  3. 03

    Render the Markdown table

    ~1.5h

    Generate the header separator row and pad each cell to produce valid, aligned Markdown table syntax.

  4. 04

    Add CLI options

    ~1h

    Support flags for delimiter choice and output file, with STDOUT as the default.

Resources

Ready to build this?

Get a GitHub repo and start building. Your AI reviewer checks each step as you go.

~5h · 4 steps

Tech stack

Standard Library