Confirms command is valid.
Returns:
65 66 67 68
# File 'lib/gitlab/cli_helpers.rb', line 65 def valid_command?(cmd) command = cmd.is_a?(Symbol) ? cmd : cmd.to_sym Gitlab.actions.include?(command) end