Quickstart

smag - Command Line Graphing

javimosch Updated

File contents

smag - Command Line Graphing

Overview

smag is Show Me A Graph - Command Line Graphing. Create graphs from data directly in the terminal.

Quick Start

Create a graph from data

sc smag graph data <data>

Passthrough to smag CLI

sc smag _ <smag-args>

Key Features

  • CLI Graphing: Create graphs from command line
  • Terminal Native: No external GUI required
  • Multiple Graph Types: Support for various graph types
  • Data Input: Accept data from files or stdin
  • ASCII Output: Graphs rendered in terminal

Installation

cargo install smag

Also available via:

  • Binaries

Usage Examples

Graph from file

smag data.txt

Pipe data

cat data.txt | smag

Specify graph type

smag --type line data.txt

Custom labels

smag --xlabel "Time" --ylabel "Value" data.txt

Notes

  • Run smag --help to see all available options

javimosch/supercli/tree/main/plugins/smag/skills/quickstart commit 334f3524a7

Frequently asked questions

npx skillmds@latest add javimosch/quickstart-308