Stripemetrics-cli

Get stripe metrics from the command line

Download as .zip Download as .tar.gz View on GitHub

Help

This tool is in active development!

This tool lets you generate metrics and trends reports for your Stripe account from the command line. It requires an account on StripeMetrics.com

[yacin@mac stripemetrics-cli (reports)]$ bundle exec ./bin/stripemetrics-cli
NAME
    stripemetrics-cli - Get stripe metrics from the command line

SYNOPSIS
    stripemetrics-cli [global options] command [command options] [arguments...]

VERSION
    0.0.1

GLOBAL OPTIONS
    --help    - Show this message
    --version -

COMMANDS
    help     - Shows a list of commands or help for one command
    import   - Import customer and subscritpion data
    login    - Login and authorize with StripeMetrics.com
    metric   - Generate Metric Report(s)
    ping     - Test authentication with StripeMetrics.com
    refresh  - Refresh your data
    register - Register a new account with StripeMetrics.com
Example
  
    [yacin@mac stripemetrics-cli (reports)]$ bundle exec ./bin/stripemetrics-cli metric -a
Gathering data from StripeMetrics ....
┏━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━┓
┃ Metric          ┃  This month ┃  Last month ┃    % change ┃ TSM Average ┃        Goal ┃
┣━━━━━━━━━━━━━━━━━╊━━━━━━━━━━━━━╊━━━━━━━━━━━━━╊━━━━━━━━━━━━━╊━━━━━━━━━━━━━╊━━━━━━━━━━━━━┫
┃ Revenue         ┃    $4892.26 ┃    $7941.07 ┃     -62.32% ┃      -6.22% ┃             ┃
┣━━━━━━━━━━━━━━━━━╊━━━━━━━━━━━━━╊━━━━━━━━━━━━━╊━━━━━━━━━━━━━╊━━━━━━━━━━━━━╊━━━━━━━━━━━━━┫
┃ Lost Revenue    ┃     $507.92 ┃    $1182.98 ┃    -132.91% ┃      -7.12% ┃             ┃
┣━━━━━━━━━━━━━━━━━╊━━━━━━━━━━━━━╊━━━━━━━━━━━━━╊━━━━━━━━━━━━━╊━━━━━━━━━━━━━╊━━━━━━━━━━━━━┫
┃ Aquisition      ┃       466.0 ┃       635.0 ┃     -36.27% ┃     -10.70% ┃             ┃
┣━━━━━━━━━━━━━━━━━╊━━━━━━━━━━━━━╊━━━━━━━━━━━━━╊━━━━━━━━━━━━━╊━━━━━━━━━━━━━╊━━━━━━━━━━━━━┫
┃ Churn           ┃        68.0 ┃        91.0 ┃     -33.82% ┃     -13.82% ┃             ┃
┗━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━┛
(*) TSM Average column is the Trailing Six Month Compound Growth Rate

  

Authors and Contributors

stripemetrics-cli was written by Yacin Bahi (@yacc)