match command.split(): case [action]: ... # interpret single-verb action case [action, obj]: ... # interpret action, obj