mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-27 17:23:08 +00:00
14 lines
346 B
JavaScript
14 lines
346 B
JavaScript
#!/usr/bin/env node
|
|
|
|
import { authorizeSpotify } from './utils.js';
|
|
|
|
console.log('Starting Spotify authentication flow...');
|
|
authorizeSpotify()
|
|
.then(() => {
|
|
console.log('Authentication completed successfully!');
|
|
process.exit(0);
|
|
})
|
|
.catch((error) => {
|
|
console.error('Authentication failed:', error);
|
|
process.exit(1);
|
|
});
|