Right now because there is no defined set of commands, I didn't do this right away.
Create variants
type command =
| CreateDir(option<string>)
| CreateCurrentDir
| Help
| Something;
Then while parsing the command
// in command parser
switch command {
| "help" => Help
| "recognisable" => Something
}
// actual actions
switch cmnd {
| Help => printHelp()
| CreateDir(dir) => // create a directory
| Something => // do something
}