Support to pass command with arguments to --cmd option

When we are using --cmd option usually we need pass some command line arguments.