Git Product home page Git Product logo

cmkish-cli's Introduction

agsf

Description

This command line tool is used to find for information on song and programs used in anime, games, and special effects(SFX).

Usage

Find song and program information

Find the song title (of anime, game and SFX) according to conditions.

COMMANDS:

agsf s,song [-n <SONG-NAME>][-x <PROGRAM-NAME>][-s <SINGER-NAME>]

Find the song title (of anime, game and SFX) according to conditions. This command allows you to search by song title for information on the programs in which the song is used.

OPTION DESCRIPTION
-n, --name Find information about songs by part of its name. (default)
-x, --xlookup-by-program Find information about theme song by part of the program name.
-s, --singer Find songs by singer name.

agsf p,program [-n <PROGRAM-NAME>][-x <SONG-NAME>][-s <SINGER-NAME>]

Find the program title (of anime, game and SFX) according to conditions. This command allows you to search for information on a program's theme song by its name.

OPTION DESCRIPTION
-n, --name Find information about programs by part of those name. (default)
-x, --xlookup-by-theme-song Find information about the programs whose song name is the theme song.
-s, --singer-of-theme-song Find programs by artist name.

Common Options

OPTION DESCRIPTION
-v, --verbose Find information about the programs with details.
-w, --word-regexp Find information about programs only if they exactly match the search word.
-o, --output-with-format <FORMAT> Specify output format. -o CSV -o JSON
-c, --category <CATEGORY> Specify the category to find. -c anime -c game -c sf
-from <YYYY-MM-DD>
-to <YYYY-MM-DD>
Specify the period of program started to search. -from 2024-07-01 -to 2024-09-30

Manipulate local database

Create and Update local database.

COMMANDS:

agsf updatedb

Update local db to latest.

How to develop

Build app

make build

cmkish-cli's People

Contributors

zetton110 avatar

Watchers

 avatar  avatar

cmkish-cli's Issues

Rename find song command options

Please change according to the specifications below.

agsf s,song [-n <SONG-NAME>][-x <PROGRAM-NAME>][-s <SINGER-NAME>]

Find the song title (of anime, game and SFX) according to conditions.
This command allows you to search by song title for information on the programs in which the song is used.

OPTION DESCRIPTION
-n, --name Find information about songs by part of its title. (default)
-x, --xlookup-by-program-name Find information about theme song by part of the program title.
-s, --singer-name Find songs by artist name.

Add cmd `agsf s,song [-p PROGRAM-TITLE]`

agsf s,song [-p PROGRAM-TITLE]

Find the song title (of anime, game and SFX) according to conditions.
This command allows you to search by song title for information on the programs in which the song is used.

OPTION DESCRIPTION
-p, --program-title Find information about theme song by part of the program title.

Add cmd `agsf s,song [-a ARTIST-NAME]`

agsf p,program [-a ARTIST-NAME]

Find the program title (of anime, game and SFX) according to conditions.
This command allows you to search for information on a program's theme song by its name.

OPTION DESCRIPTION
-a, --artist Find programs by artist name.

Add README.md

Add README.md to repo.
Its contents is below:

  • About
  • Usage

Add cmd `cmkish makedb`

Add cmd cmkish makedb.

  • Scrape the zip download page
  • Download file and unzip it
  • Get data from the file
  • Convert data to struct
  • Create SQLite db
  • Create tables
  • Convert data to record
  • Insert data to db
  • Refactor codes

Find songs by multiple conditions

When searching by specifying multiple conditions, combine the conditions with AND to narrow down the search results.

❯ agsf s -p これは                                                                                                                                                                                  
+------------------------------------------+------------+--------------------------------+------+
|                   曲名                   |    歌手    |             作品名             | 備考 |
+------------------------------------------+------------+--------------------------------+------+
| 魔・カ・セ・テTonight                    | 野水いおり | これはゾンビですか?            | OP   |
| 気づいてゾンビさま、私はクラスメイトです | 山口理恵   | これはゾンビですか?            | ED   |
| ***パショナート                          | 野水いおり | これはゾンビですか? OF THE     | OP   |
|                                          |            | DEAD                           |      |
| 恋のビギナーなんです(T_T)                | 山口理恵   | これはゾンビですか? OF THE     | ED   |
|                                          |            | DEAD                           |      |
| to hope to despair                       | Ayumi.     | あくまで、これは~の物語        | OP 1 |
| another story                            | 柊木環希   | あくまで、これは~の物語        | OP 2 |
| to start from now                        | Prico      | あくまで、これは~の物語        | ED   |
+------------------------------------------+------------+--------------------------------+------+
7 hits.

❯ agsf s -p これは -a 野水
+-----------------------+------------+--------------------------------+------+
|         曲名          |    歌手    |             作品名             | 備考 |
+-----------------------+------------+--------------------------------+------+
| 魔・カ・セ・テTonight | 野水いおり | これはゾンビですか?            | OP   |
| ***パショナート       | 野水いおり | これはゾンビですか? OF THE     | OP   |
|                       |            | DEAD                           |      |
+-----------------------+------------+--------------------------------+------+
2 hits.

❯ agsf s -p これは -a 野水 -t Tonight                                                                                                                                                               
+-----------------------+------------+---------------------+------+
|         曲名          |    歌手    |       作品名        | 備考 |
+-----------------------+------------+---------------------+------+
| 魔・カ・セ・テTonight | 野水いおり | これはゾンビですか? | OP   |
+-----------------------+------------+---------------------+------+
1 hits.

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.