lyrics

command module
Version: v0.0.0-...-797d8ef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2020 License: MIT Imports: 1 Imported by: 0

README

Lyrics

wercker status

Lyrics is a CLI interface (cobra app) written in golang, to dig into api.lyrics.ovh

What do I get

Songs lyrics in your terminal, no ads, no trackers, no bullshit.

Install it

Get it:

go get gitlab.com/hyperd/lyrics

Or install a pre-compiled version, based on your os and architecture:

curl -o /usr/local/bin https://gitlab.com/hyperd/lyrics/-/raw/master/bin/lyrics-{your_os_architecture}   # check the available architectures
chmod +x /usr/local/bin

Build it yourself

Targetted build, based on your system/architecture
# change according to your system/architecture
CGO_ENABLED=0 GOARCH=[amd64|386] GOOS=[linux|darwin] go build -ldflags="-w -s" -a -installsuffix 'static' -o lyrics /main.go
Cross-platform build, leveraging the build.bash script
chmod +x build.bash && ./build.bash

Currently, the builds in the bin folder are available for the following platforms and architectures:

  • darwin-amd64;
  • darwin-386;
  • linux-amd64;
  • linux-386.

Usage

lyrics get --artist <artist_name> --title <title>
# e.g.:
lyrics get --artist "Andy Stott" --title "Violence"

Documentation

Overview

Copyright © 2020 hyperd

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Source Files

Directories

Path Synopsis
cmd module
service module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL