Implement one-off commands from shell