Implementing subcommands (based on cmd/go)