added token generator

pull/12/head
tycrek 4 years ago
parent 707986ccc8
commit 702149024c
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -0,0 +1,5 @@
const uuid = require('uuid').v4;
module.exports = () => uuid().replace(/-/g, '');
// If directly called on the command line, generate a new token
require.main === module && console.log(`Here is your new token:\n\n ${module.exports()}\n\nThis token has been automatically applied and is ready for use. You do not need to restart 'ass'.`);
Loading…
Cancel
Save