Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/senpy-club/cli
🛴 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
https://github.com/senpy-club/cli
anime anime-girls anime-girls-holding-programming-books cli rust senpy waifu
Last synced: about 16 hours ago
JSON representation
🛴 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
- Host: GitHub
- URL: https://github.com/senpy-club/cli
- Owner: senpy-club
- License: gpl-3.0
- Created: 2022-03-17T09:21:15.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-30T11:02:46.000Z (3 months ago)
- Last Synced: 2024-12-30T18:56:45.010Z (15 days ago)
- Topics: anime, anime-girls, anime-girls-holding-programming-books, cli, rust, senpy, waifu
- Language: Rust
- Homepage: https://crates.io/crates/senpy-cli
- Size: 42 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
:code:`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
^^^^^^^^^^^.. raw:: html
Installation
^^^^^^^^^^^^Install from crates.io
----------------------.. code-block:: shell
$ 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
-------------------------.. code-block:: shell
$ 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
--------.. code-block:: shell
$ 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 environmentsFeel free to explore the rest of the available commands with :code:`senpy help`!
License
^^^^^^^`GNU General Public License v3.0 `_