Add automatic argument parsing

Signed-off-by: Daniel Francis <francis@sugarlabs.org>