Git Product home page Git Product logo

arcstat's Introduction

๐Ÿค๐Ÿ’ฌ Hello there

I'm Garrett! I like listening to LCD Soundsystem.

  • ๐ŸŠ I program in Rust, Java, Clojure, and Bash
  • ๐Ÿš™ NixOS + Sway
  • ๐Ÿง My favorite birds are the Emperor Penguin and the Shoebill

arcstat's People

Contributors

massivebird avatar

Watchers

 avatar

arcstat's Issues

Handle zero games

arcstat currently throws a fatal error when there are zero games for a system. Fix it >:(

Add option to exclude systems

We have the --systems option, but we could also implement an option called --exclude that analyzes all but the excluded systems. The two options would be made mutually exclusive.

Introducing such an option would probably necessitate renaming --systems to --only in order to establish consistent naming conventions. Just be CAREFUL about it >:|

Yeah, this idea seems a little pointless. I can't think of a realistic use case, but I'll post the issue anyway!

Only display specified systems

Arcstat could totally show the status of select systems! Systems could be specified by label.

For example:

# config.yaml
systems:
  myds: # system "label"
    display_name: "DS"
    color: [135,215,255]
    path: "ds"
    games_are_directories: false
  # more systems...

If I wanted to run arcstat only for info on my DS games, I could hypothetically run something like this:

arcstat --systems="myds"

Refactor column logic to be dynamic

Columns are pretty hard-coded right now. In order to introduce new columns, the entire system will have to be reworked.

I might have to make a collection of Column structs and push additional columns if their associated options were inputted.

Refactor: do not create threads outside of `run` function

This concerns the create_thread function, which returns a new thread. The act of creating a thread for each system should be delegated to the calling function. Additionally, create_thread should be renamed to query_system or something similar.

Add option to sort rows

You could sort by:

  • Display name
  • Number of games
  • Disk size

The argument would probably be something like

--sort <strategy>       One of [name|games|size]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.