Skip to content

Repository files navigation

taytay

Setup

Install dependencies before running the development TUI:

pnpm install

Development

Type-check the source:

pnpm exec tsc --noEmit

Run the TUI directly from TypeScript source:

pnpm dev

Development smoke test:

  • Type hello and press Enter. Expected: hello echoes as you typed: hello.
  • Type /connect and press Enter. Expected: the Settings screen replaces the prompt, with the Integration tab active showing LastFm and Spotify rows.
  • Press Space on a row. Expected: a spinner while connecting, then a green Connected.
  • Press Esc. Expected: the screen closes and the prompt returns.
  • Type exit and press Enter. Expected: the process exits cleanly.
  • Run pnpm dev again and press Ctrl+C. Expected: the process exits cleanly.

Production Build

Compile the TypeScript source into dist/:

pnpm build

Expected: the command exits 0 and creates executable dist/cli.js.

Run the built output:

pnpm start

Production smoke test:

  • Type hello and press Enter. Expected: hello echoes as you typed: hello.
  • Type /connect and press Enter. Expected: the Settings screen replaces the prompt, with the Integration tab active showing LastFm and Spotify rows.
  • Press Space on a row. Expected: a spinner while connecting, then a green Connected.
  • Press Esc. Expected: the screen closes and the prompt returns.
  • Type exit and press Enter. Expected: the process exits cleanly.
  • Run pnpm start again and press Ctrl+C. Expected: the process exits cleanly.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages