As the title suggests, we need a type for preconditions, for checking if a command should run.
Something to consider here: how about passing data? Should the precondition have access to the command arguments? I think personally not. If there is an issue with the arguments that should be handled by the command.
As the title suggests, we need a type for preconditions, for checking if a command should run.
Something to consider here: how about passing data? Should the precondition have access to the command arguments? I think personally not. If there is an issue with the arguments that should be handled by the command.