-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
5 changed files
with
25 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,5 @@ Cargo.lock | |
|
||
# for macOS | ||
.DS_Store | ||
|
||
.idea/ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "spotify-cli" | ||
version = "0.1.3" | ||
version = "1.0.0" | ||
edition = "2021" | ||
default-run = "spotify" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,28 @@ | ||
# RUN.md | ||
# Installing and Running the `spotify-cli` tool | ||
|
||
## Downloading and Installing the `spotify-cli` tool | ||
## macOS | ||
|
||
### Source | ||
For macOS users, the `spotify-cli` tool can be easily installed using [Homebrew](https://brew.sh/) | ||
|
||
1. Install homebrew [here](https://brew.sh/) | ||
2. Add the tap | ||
|
||
```sh | ||
brew tap kidskoding/spotify-cli | ||
``` | ||
|
||
3. Install the `spotify-cli` tool | ||
|
||
```sh | ||
brew install spotify-cli | ||
``` | ||
|
||
## Source | ||
|
||
Those who wish to build the `spotify-cli` tool from source can follow the instructions below | ||
|
||
1. Since this CLI tool was built in Rust, you will need to install Rust [here](https://rustup.rs/) | ||
|
||
2. Clone the latest git repository: | ||
|
||
```sh | ||
|
@@ -20,49 +36,11 @@ Those who wish to build the `spotify-cli` tool from source can follow the instru | |
```sh | ||
cd spotify-cli/ | ||
cargo install --path . | ||
spotify | ||
``` | ||
|
||
Alternatively, build and run without adding to path: | ||
|
||
```sh | ||
cd spotify-cli/ | ||
cargo run | ||
``` | ||
### Run the command by type `spotify` in your terminal | ||
|
||
> [!NOTE] | ||
> This CLI program only works with specific Spotify accounts. You can login | ||
> to a testing account with the following credentials: | ||
> `Email="[email protected]"`, `password="samplepass!"` | ||
### macOS | ||
|
||
For macOS users, the `spotify-cli` tool can be easily installed using [Homebrew](https://brew.sh/) | ||
|
||
1. Install homebrew [here](https://brew.sh/) | ||
2. Add the tap | ||
|
||
```sh | ||
brew tap kidskoding/spotify-cli | ||
``` | ||
|
||
3. Install the `spotify-cli` tool | ||
|
||
```sh | ||
brew install spotify-cli | ||
``` | ||
|
||
### Standalone Binary for Linux | ||
|
||
1. Download and Extract the standalone binary: | ||
|
||
```sh | ||
wget https://github.com/kidskoding/spotify-cli/releases/download/v0.1.3-alpha/spotify-cli.tar | ||
tar -xvf spotify-cli.tar | ||
``` | ||
|
||
2. Move the executable to an executable binary path | ||
|
||
```sh | ||
sudo mv ./spotify /usr/local/bin/spotify | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters