I just want to be able to run a specific function inside of a JS File ES6 Modules with Node.JS from the command line...
For example, I have a file called schedules.js which has the following function
export function name(params) {
console.log('Hello World');
}
I want to be able to run that function by typing the following command in the command line:
node schedules.js name
The way I am trying to run that now, I just get nothing from as output