D2L Hacker
Manages the cli, login, and saving results for d2l/nightmare projects
Example
var hacker = ;hacker
This will prompt for username, password, and csv from the user. Then log into byui and call the passed function on every row of the csv, passing you the row data and domain as a property. All you have to do is return the nightmare you want run every time. I will catch and save all the errors thrown, and values returned if any. Saving them all to a json file.
These are my default settings, you can change any of these in the passed settings object.
Any passed settings (with the exception of username
and password
) will be double checked in the cli as the default value
username: logInDatausernamepassword: logInDatapasswordcsv: logInDatacsvdomain: 'byui'show: trueopenDevTools: falsewaitTimeout: 30000resultsFile: './results.json'