* Check repository references * Remove "foundRepoNames" that I used to find all the unique names * A little speed up with Set * Ignore a few files * Remove remaining references * Update README.md
21 lines
422 B
JavaScript
Executable File
21 lines
422 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
const authenticateToAWS = require('../lib/authenticate-to-aws.js')
|
|
|
|
// [start-readme]
|
|
//
|
|
// This script is used by other scripts to update temporary AWS credentials and authenticate to S3.
|
|
//
|
|
// [end-readme]
|
|
|
|
main()
|
|
|
|
async function main () {
|
|
const s3 = await authenticateToAWS()
|
|
if (s3) {
|
|
console.log('You are authenticated to s3!')
|
|
} else {
|
|
console.error('Something went wrong!')
|
|
}
|
|
}
|