@rocksky/cli 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +14 -14
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -682,21 +682,21 @@ const program = new Command();
682
682
  program.name("rocksky").description(
683
683
  "Command-line interface for Rocksky \u2013 scrobble tracks, view stats, and manage your listening history."
684
684
  ).version(version$1.version);
685
- program.command("login").argument("<handle>", "Your BlueSky handle (e.g., <username>.bsky.social)").description("Login with your BlueSky account and get a session token.").action(login);
686
- program.command("whoami").description("Get the current logged-in user.").action(whoami);
685
+ program.command("login").argument("<handle>", "your BlueSky handle (e.g., <username>.bsky.social)").description("login with your BlueSky account and get a session token.").action(login);
686
+ program.command("whoami").description("get the current logged-in user.").action(whoami);
687
687
  program.command("nowplaying").argument(
688
688
  "[did]",
689
- "The DID or handle of the user to get the now playing track for."
690
- ).description("Get the currently playing track.").action(nowplaying);
691
- program.command("scrobbles").option("-s, --skip <number>", "Number of scrobbles to skip").option("-l, --limit <number>", "Number of scrobbles to limit").argument("[did]", "The DID or handle of the user to get the scrobbles for.").description("Display recently played tracks.").action(scrobbles);
692
- program.command("search").option("-a, --albums", "Search for albums").option("-t, --tracks", "Search for tracks").option("-u, --users", "Search for users").option("-l, --limit <number>", "Number of results to limit").argument(
689
+ "the DID or handle of the user to get the now playing track for."
690
+ ).description("get the currently playing track.").action(nowplaying);
691
+ program.command("scrobbles").option("-s, --skip <number>", "number of scrobbles to skip").option("-l, --limit <number>", "number of scrobbles to limit").argument("[did]", "the DID or handle of the user to get the scrobbles for.").description("display recently played tracks.").action(scrobbles);
692
+ program.command("search").option("-a, --albums", "search for albums").option("-t, --tracks", "search for tracks").option("-u, --users", "search for users").option("-l, --limit <number>", "number of results to limit").argument(
693
693
  "<query>",
694
- "The search query, e.g., artist, album, title or account"
695
- ).description("Search for tracks, albums, or accounts.").action(search);
696
- program.command("stats").option("-l, --limit <number>", "Number of results to limit").argument("[did]", "The DID or handle of the user to get stats for.").description("Get the user's listening stats.").action(stats);
697
- program.command("artists").option("-l, --limit <number>", "Number of results to limit").argument("[did]", "The DID or handle of the user to get artists for.").description("Get the user's top artists.").action(artists);
698
- program.command("albums").option("-l, --limit <number>", "Number of results to limit").argument("[did]", "The DID or handle of the user to get albums for.").description("Get the user's top albums.").action(albums);
699
- program.command("tracks").option("-l, --limit <number>", "Number of results to limit").argument("[did]", "The DID or handle of the user to get tracks for.").description("Get the user's top tracks.").action(tracks);
700
- program.command("scrobble").argument("<track>", "The title of the track").argument("<artist>", "The artist of the track").option("-t, --timestamp <timestamp>", "The timestamp of the scrobble").description("Scrobble a track to your profile.").action(scrobble);
701
- program.command("create").command("apikey").argument("<name>", "The name of the API key").option("-d, --description <description>", "The description of the API key").description("Create a new API key.").action(createApiKey);
694
+ "the search query, e.g., artist, album, title or account"
695
+ ).description("search for tracks, albums, or accounts.").action(search);
696
+ program.command("stats").option("-l, --limit <number>", "number of results to limit").argument("[did]", "the DID or handle of the user to get stats for.").description("get the user's listening stats.").action(stats);
697
+ program.command("artists").option("-l, --limit <number>", "number of results to limit").argument("[did]", "the DID or handle of the user to get artists for.").description("get the user's top artists.").action(artists);
698
+ program.command("albums").option("-l, --limit <number>", "number of results to limit").argument("[did]", "the DID or handle of the user to get albums for.").description("get the user's top albums.").action(albums);
699
+ program.command("tracks").option("-l, --limit <number>", "number of results to limit").argument("[did]", "the DID or handle of the user to get tracks for.").description("get the user's top tracks.").action(tracks);
700
+ program.command("scrobble").argument("<track>", "the title of the track").argument("<artist>", "the artist of the track").option("-t, --timestamp <timestamp>", "the timestamp of the scrobble").description("scrobble a track to your profile.").action(scrobble);
701
+ program.command("create").description("create a new API key.").command("apikey").argument("<name>", "the name of the API key").option("-d, --description <description>", "the description of the API key").description("create a new API key.").action(createApiKey);
702
702
  program.parse(process.argv);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rocksky/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Command-line interface for Rocksky – scrobble tracks, view stats, and manage your listening history",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",