0.0
No release in over 3 years
Low commit activity in last 3 years
A nice command-line tool named ‘status-page-vi’ that pulls status information from different services, displays the results and saves it into a data store.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.17
~> 10.0
= 3.3

Runtime

= 1.8.5
= 0.20.3
 Project Readme

StatusPageVi

This is an implemetation of the code challange. Nice command-line tool named ‘status_page_vi’ that pulls status information from different services, displays the results and saves it into a data store.

Installation

  • Install Nokogiri dependencies, instructions

  • Install it from your terminal:

    $ gem install 'status_page_vi'
    

Usage

Commands:
  status_page_vi backup PATH RESOURCE_NAME  # takes a path variable, and creates a backup of historic and currently saved data, ALL resources by default
  status_page_vi help [COMMAND]             # Describe available commands or one specific command
  status_page_vi history RESOURCE_NAME      # display all the data which was gathered by the tool, ALL resources by default
  status_page_vi live RESOURCE_NAME         # constantly queries URL and outputs the status periodically on the console and save it to the data store, ALL resources by default
  status_page_vi pull RESOURCE_NAME         # make the application pull data from RESOURCE and save into the data store, ALL resources by default
  status_page_vi resources                  # outputs avaliable resources with urls
  status_page_vi restore PATH_TO_BACKUP     # takes a path variable which is a backup created by the application and restores that data

Testing

$ rspec