csv2gsheets
Version:
CLI tool to convert local CSV files into Google Sheets files in a designated Google Drive folder.
12 lines • 349 B
JavaScript
// logout command
import fs from 'fs';
import { TOKEN_PATH } from '../auth.js';
import { MESSAGES } from '../messages.js';
/**
* Logs out of the Google services by deleting the token file.
*/
export default function logout() {
fs.unlinkSync(TOKEN_PATH);
console.info(MESSAGES.log.youHaveBeenLoggedOut);
}
//# sourceMappingURL=logout.js.map