Git Product home page Git Product logo

senpy-club / cli Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 28 KB

๐Ÿ›ด Command-line interface to The Senpy Club API โ€” Access The Senpy Club API from your terminal! (and export it to files too!) for https://github.com/cat-milk/Anime-Girls-Holding-Programming-Books

Home Page: https://crates.io/crates/senpy-cli

License: GNU General Public License v3.0

Rust 100.00%
senpy anime rust cli anime-girls anime-girls-holding-programming-books waifu

cli's Introduction

senpy-cli

The Senpy Club CLI is a tool that provides quick access to The Senpy Club API from the command-line!

Get data fast from The Senpy Club API either as stdout or to a supported file format.

Quick links

Discord Say Thanks License Crate Build Status

Installation

Install from crates.io

$ cargo +nightly install senpy-cli --force

Download from releases

Alternatively, prebuilt binaries for x86_64-based Linux systems are available in the releases. If you are using a different operating system or architecture such as macOS or Windows; you'll have to build and install The Senpy Club CLI yourself!

Install from self-compile

$ cargo +nightly install --git https://github.com/senpy-club/cli --branch main

If you are building and installing yourself; you must have Rust installed!

Usage

The Senpy Club CLI allows you to export to stdout in the form of ten-space-seperated columns or to a file in the JSON, YAML, or Dhall formats.

Examples

$ senpy languages    # Prints all available languages in a single column
$ senpy languages -t # Prints all available languages in one column and the fetch time in another
$ senpy languages -f languages.json  # Exports all available languages to a JSON file
$ senpy languages -f languages.yaml  # Exports all available languages to a YAML file
$ senpy languages -f languages.dhall # Exports all available languages to a Dhall file
$ senpy random | awk '{ print $1 }'  # Prints the first column (language) from stdout on *nix-based environments

Feel free to explore the rest of the available commands with senpy help!

License

GNU General Public License v3.0

cli's People

Contributors

fuwn avatar

Stargazers

Luke Simmons avatar

Watchers

 avatar

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.