I want to be able to run a script via the command line and pass it a date for a function.
How would I go about doing this? I.e I need to pass it to a function within the file and pass it a typed date in the format. YYYY-MM-DD HH-MM Where the second MM is minutes not Month.
Would I need to use particular flags in the command or is there a simpler way?