spoticli-cli

command module
v0.0.0-...-346a917 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 5 Imported by: 0

README

spoticli-cli

Getting started

Building

To build, just execute

go build

Then run with the following

./spoticli-cli

This will produce the following output

❯ ./spoticli-cli
NAME:
   spoticli-cli - A new cli application

USAGE:
   spoticli-cli [global options] command [command options]

COMMANDS:
   song     song <action>
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h  show help

With more under the song command

❯ ./spoticli-cli song
NAME:
   spoticli-cli song - song <action>

USAGE:
   spoticli-cli song command [command options]

COMMANDS:
   upload    upload <path>
   play      play
   download  download <song-id>
   ls        ls
   help, h   Shows a list of commands or help for one command

OPTIONS:
   --help, -h  show help

There is also the ./spoticli-cli song upload <path> which will upload a directory to s3 and create db entries for each song in the database. For now the path shold be from the user's directory. So if you want to upload ~/assets/a7x. Run the following:

./spoticli-cli song upload assets/a7x

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL