social-snippet/social-snippet

View on GitHub
lib/social_snippet/command_line/sspm/sub_commands/info_command.rb

Summary

Maintainability
A
0 mins
Test Coverage
module SocialSnippet::CommandLine
    
  class SSpm::SubCommands::InfoCommand < Command

    def usage
      <<EOF
Usage: sspm info [options] [--] <repo>
EOF
    end

    def desc
      "Show information of a repository"
    end

    def define_options
    end

    def run
      if has_next_token?
        core.api.show_info next_token
      else
        help
      end
    end

  end

end