API-CLI

 view release on metacpan or  search on metacpan

LICENSE  view on Meta::CPAN

TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.

                     END OF TERMS AND CONDITIONS

        Appendix: How to Apply These Terms to Your New Programs

  If you develop a new program, and you want it to be of the greatest
possible use to humanity, the best way to achieve this is to make it
free software which everyone can redistribute and change under these
terms.

  To do so, attach the following notices to the program.  It is safest to
attach them to the start of each source file to most effectively convey
the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>
    Copyright (C) 19yy  <name of author>

examples/bash/githubcl.bash  view on Meta::CPAN

                case ${MYWORDS[$INDEX-1]} in
                  --data-file)
                  ;;

                esac
                ;;
            esac
          ;;
          /legacy/repos/search/:keyword)
            FLAGS+=()
            OPTIONS+=('--q-order' 'The sort field. if sort param is provided. Can be either asc or desc.' '--q-language' 'Filter results by language' '--q-start_page' 'The page number to fetch' '--q-sort' 'The sort field. One of stars, forks, or upda...
            __githubcl_handle_options_flags
              case $INDEX in
              2)
                  __comp_current_options || return
              ;;
              *)
                __comp_current_options true || return # after parameters
                case ${MYWORDS[$INDEX-1]} in
                  --data-file)
                  ;;

examples/bash/githubcl.bash  view on Meta::CPAN

                case ${MYWORDS[$INDEX-1]} in
                  --data-file)
                  ;;

                esac
                ;;
            esac
          ;;
          /legacy/user/search/:keyword)
            FLAGS+=()
            OPTIONS+=('--q-order' 'The sort field. if sort param is provided. Can be either asc or desc.' '--q-start_page' 'The page number to fetch' '--q-sort' 'The sort field. One of stars, forks, or updated. Default: results are sorted by best mat...
            __githubcl_handle_options_flags
              case $INDEX in
              2)
                  __comp_current_options || return
              ;;
              *)
                __comp_current_options true || return # after parameters
                case ${MYWORDS[$INDEX-1]} in
                  --data-file)
                  ;;

examples/bash/githubcl.bash  view on Meta::CPAN

'"'"'Languages'"'"' Searches code based on the language it'"'"'s written in.
'"'"'Forks'"'"' Filters repositories based on the number of forks, and/or
whether code from forked repositories should be included in the results
at all.
'"'"'Size'"'"' Finds files that match a certain size (in bytes).
'"'"'Path'"'"' Specifies the path that the resulting file must be at.
'"'"'Extension'"'"' Matches files with a certain extension.
'"'"'Users'"'"' or '"'"'Repositories'"'"' Limits searches to a specific user or repository.
' '--q-sort' 'Can only be '"'"'indexed'"'"', which indicates how recently a file has been indexed
by the GitHub search infrastructure. If not provided, results are sorted
by best match.
')
            __githubcl_handle_options_flags
              case $INDEX in
              *)
                __comp_current_options true || return # after parameters
                case ${MYWORDS[$INDEX-1]} in
                  --data-file)
                  ;;
                  --q-order)
                    _githubcl_compreply "'desc'"$'\n'"'asc'"

examples/bash/githubcl.bash  view on Meta::CPAN

                  --q-sort)
                    _githubcl_compreply "'indexed'"
                  ;;

                esac
                ;;
            esac
          ;;
          /search/issues)
            FLAGS+=()
            OPTIONS+=('--q-order' 'The sort field. if sort param is provided. Can be either asc or desc.' '--q-q' 'The q search term can also contain any combination of the supported issue search qualifiers:' '--q-sort' 'The sort field. Can be commen...
            __githubcl_handle_options_flags
              case $INDEX in
              *)
                __comp_current_options true || return # after parameters
                case ${MYWORDS[$INDEX-1]} in
                  --data-file)
                  ;;
                  --q-order)
                    _githubcl_compreply "'desc'"$'\n'"'asc'"
                  ;;

examples/bash/githubcl.bash  view on Meta::CPAN

can restrict the search to just the repository name, description, readme,
or any combination of these.
'"'"'Size'"'"' Finds repositories that match a certain size (in kilobytes).
'"'"'Forks'"'"' Filters repositories based on the number of forks, and/or whether
forked repositories should be included in the results at all.
'"'"'Created'"'"' and '"'"'Last Updated'"'"' Filters repositories based on times of
creation, or when they were last updated.
'"'"'Users or Repositories'"'"' Limits searches to a specific user or repository.
'"'"'Languages'"'"' Searches repositories based on the language they are written in.
'"'"'Stars'"'"' Searches repositories based on the number of stars.
' '--q-sort' 'If not provided, results are sorted by best match.')
            __githubcl_handle_options_flags
              case $INDEX in
              *)
                __comp_current_options true || return # after parameters
                case ${MYWORDS[$INDEX-1]} in
                  --data-file)
                  ;;
                  --q-order)
                    _githubcl_compreply "'desc'"$'\n'"'asc'"
                  ;;

examples/bash/githubcl.bash  view on Meta::CPAN

'"'"'Search In'"'"' Qualifies which fields are searched. With this qualifier you
can restrict the search to just the username, public email, full name,
location, or any combination of these.
'"'"'Repository count'"'"' Filters users based on the number of repositories they
have.
'"'"'Location'"'"' Filter users by the location indicated in their profile.
'"'"'Language'"'"' Search for users that have repositories that match a certain
language.
'"'"'Created'"'"' Filter users based on when they joined.
'"'"'Followers'"'"' Filter users based on the number of followers they have.
' '--q-sort' 'If not provided, results are sorted by best match.')
            __githubcl_handle_options_flags
              case $INDEX in
              *)
                __comp_current_options true || return # after parameters
                case ${MYWORDS[$INDEX-1]} in
                  --data-file)
                  ;;
                  --q-order)
                    _githubcl_compreply "'desc'"$'\n'"'asc'"
                  ;;

examples/githubcl-appspec.yaml  view on Meta::CPAN

          type: string
        - description: Filter results by language
          in: query
          name: language
          type: string
        - description: The page number to fetch
          in: query
          name: start_page
          type: string
        - description: 'The sort field. One of stars, forks, or updated. Default:
            results are sorted by best match.'
          enum: &7
          - updated
          - stars
          - forks
          in: query
          name: sort
          type: string
        - description: |
            You can check the current version of media type in responses.
          in: header

examples/githubcl-appspec.yaml  view on Meta::CPAN

          - desc
          - asc
          in: query
          name: order
          type: string
        - description: The page number to fetch
          in: query
          name: start_page
          type: string
        - description: 'The sort field. One of stars, forks, or updated. Default:
            results are sorted by best match.'
          enum: &9
          - updated
          - stars
          - forks
          in: query
          name: sort
          type: string
        - description: |
            You can check the current version of media type in responses.
          in: header

examples/githubcl-appspec.yaml  view on Meta::CPAN

            'Path' Specifies the path that the resulting file must be at.
            'Extension' Matches files with a certain extension.
            'Users' or 'Repositories' Limits searches to a specific user or repository.
          in: query
          name: q
          required: true
          type: string
        - description: |
            Can only be 'indexed', which indicates how recently a file has been indexed
            by the GitHub search infrastructure. If not provided, results are sorted
            by best match.
          enum: &27
          - indexed
          in: query
          name: sort
          type: string
        - description: |
            You can check the current version of media type in responses.
          in: header
          name: X-GitHub-Media-Type
          type: string

examples/githubcl-appspec.yaml  view on Meta::CPAN

          in: query
          name: order
          type: string
        - description: 'The q search term can also contain any combination of the
            supported issue search qualifiers:'
          in: query
          name: q
          required: true
          type: string
        - description: 'The sort field. Can be comments, created, or updated. Default:
            results are sorted by best match.'
          enum: &29
          - updated
          - created
          - comments
          in: query
          name: sort
          type: string
        - description: |
            You can check the current version of media type in responses.
          in: header

examples/githubcl-appspec.yaml  view on Meta::CPAN

            forked repositories should be included in the results at all.
            'Created' and 'Last Updated' Filters repositories based on times of
            creation, or when they were last updated.
            'Users or Repositories' Limits searches to a specific user or repository.
            'Languages' Searches repositories based on the language they are written in.
            'Stars' Searches repositories based on the number of stars.
          in: query
          name: q
          required: true
          type: string
        - description: If not provided, results are sorted by best match.
          enum: &31
          - stars
          - forks
          - updated
          in: query
          name: sort
          type: string
        - description: |
            You can check the current version of media type in responses.
          in: header

examples/githubcl-appspec.yaml  view on Meta::CPAN

            have.
            'Location' Filter users by the location indicated in their profile.
            'Language' Search for users that have repositories that match a certain
            language.
            'Created' Filter users based on when they joined.
            'Followers' Filter users based on the number of followers they have.
          in: query
          name: q
          required: true
          type: string
        - description: If not provided, results are sorted by best match.
          enum: &33
          - followers
          - repositories
          - joined
          in: query
          name: sort
          type: string
        - description: |
            You can check the current version of media type in responses.
          in: header

examples/githubcl-appspec.yaml  view on Meta::CPAN

          summary: Filter results by language
          type: string
        - name: q-start_page
          required: ~
          summary: The page number to fetch
          type: string
        - enum: *7
          name: q-sort
          required: ~
          summary: 'The sort field. One of stars, forks, or updated. Default: results
            are sorted by best match.'
          type: string
        parameters:
        - name: keyword
          required: 1
          summary: The search term
          type: string
        summary: Find repositories by keyword. Note, this legacy me...
      /legacy/user/email/:email:
        options: []
        parameters:

examples/githubcl-appspec.yaml  view on Meta::CPAN

            desc.
          type: string
        - name: q-start_page
          required: ~
          summary: The page number to fetch
          type: string
        - enum: *9
          name: q-sort
          required: ~
          summary: 'The sort field. One of stars, forks, or updated. Default: results
            are sorted by best match.'
          type: string
        parameters:
        - name: keyword
          required: 1
          summary: The search term
          type: string
        summary: Find users by keyword.
      /meta:
        options: []
        parameters: []

examples/githubcl-appspec.yaml  view on Meta::CPAN

            'Path' Specifies the path that the resulting file must be at.
            'Extension' Matches files with a certain extension.
            'Users' or 'Repositories' Limits searches to a specific user or repository.
          type: string
        - enum: *27
          name: q-sort
          required: ~
          summary: |
            Can only be 'indexed', which indicates how recently a file has been indexed
            by the GitHub search infrastructure. If not provided, results are sorted
            by best match.
          type: string
        parameters: []
        summary: Search code.
      /search/issues:
        options:
        - enum: *28
          name: q-order
          required: ~
          summary: The sort field. if sort param is provided. Can be either asc or
            desc.
          type: string
        - name: q-q
          required: 1
          summary: 'The q search term can also contain any combination of the supported
            issue search qualifiers:'
          type: string
        - enum: *29
          name: q-sort
          required: ~
          summary: 'The sort field. Can be comments, created, or updated. Default:
            results are sorted by best match.'
          type: string
        parameters: []
        summary: Find issues by state and keyword. (This method ret...
      /search/repositories:
        options:
        - enum: *30
          name: q-order
          required: ~
          summary: The sort field. if sort param is provided. Can be either asc or
            desc.

examples/githubcl-appspec.yaml  view on Meta::CPAN

            forked repositories should be included in the results at all.
            'Created' and 'Last Updated' Filters repositories based on times of
            creation, or when they were last updated.
            'Users or Repositories' Limits searches to a specific user or repository.
            'Languages' Searches repositories based on the language they are written in.
            'Stars' Searches repositories based on the number of stars.
          type: string
        - enum: *31
          name: q-sort
          required: ~
          summary: If not provided, results are sorted by best match.
          type: string
        parameters: []
        summary: Search repositories.
      /search/users:
        options:
        - enum: *32
          name: q-order
          required: ~
          summary: The sort field. if sort param is provided. Can be either asc or
            desc.

examples/githubcl-appspec.yaml  view on Meta::CPAN

            have.
            'Location' Filter users by the location indicated in their profile.
            'Language' Search for users that have repositories that match a certain
            language.
            'Created' Filter users based on when they joined.
            'Followers' Filter users based on the number of followers they have.
          type: string
        - enum: *33
          name: q-sort
          required: ~
          summary: If not provided, results are sorted by best match.
          type: string
        parameters: []
        summary: Search users.
      /teams/:teamId:
        options: []
        parameters:
        - name: teamId
          required: 1
          summary: Id of team.
          type: integer

examples/githubcl-openapi.yaml  view on Meta::CPAN

          name: order
          type: string
        - description: Filter results by language
          in: query
          name: language
          type: string
        - description: The page number to fetch
          in: query
          name: start_page
          type: string
        - description: 'The sort field. One of stars, forks, or updated. Default: results are sorted by best match.'
          enum:
            - updated
            - stars
            - forks
          in: query
          name: sort
          type: string
        - description: |
            You can check the current version of media type in responses.
          in: header

examples/githubcl-openapi.yaml  view on Meta::CPAN

          enum:
            - desc
            - asc
          in: query
          name: order
          type: string
        - description: The page number to fetch
          in: query
          name: start_page
          type: string
        - description: 'The sort field. One of stars, forks, or updated. Default: results are sorted by best match.'
          enum:
            - updated
            - stars
            - forks
          in: query
          name: sort
          type: string
        - description: |
            You can check the current version of media type in responses.
          in: header

examples/githubcl-openapi.yaml  view on Meta::CPAN

            'Path' Specifies the path that the resulting file must be at.
            'Extension' Matches files with a certain extension.
            'Users' or 'Repositories' Limits searches to a specific user or repository.
          in: query
          name: q
          required: true
          type: string
        - description: |
            Can only be 'indexed', which indicates how recently a file has been indexed
            by the GitHub search infrastructure. If not provided, results are sorted
            by best match.
          enum:
            - indexed
          in: query
          name: sort
          type: string
        - description: |
            You can check the current version of media type in responses.
          in: header
          name: X-GitHub-Media-Type
          type: string

examples/githubcl-openapi.yaml  view on Meta::CPAN

            - desc
            - asc
          in: query
          name: order
          type: string
        - description: 'The q search term can also contain any combination of the supported issue search qualifiers:'
          in: query
          name: q
          required: true
          type: string
        - description: 'The sort field. Can be comments, created, or updated. Default: results are sorted by best match.'
          enum:
            - updated
            - created
            - comments
          in: query
          name: sort
          type: string
        - description: |
            You can check the current version of media type in responses.
          in: header

examples/githubcl-openapi.yaml  view on Meta::CPAN

            forked repositories should be included in the results at all.
            'Created' and 'Last Updated' Filters repositories based on times of
            creation, or when they were last updated.
            'Users or Repositories' Limits searches to a specific user or repository.
            'Languages' Searches repositories based on the language they are written in.
            'Stars' Searches repositories based on the number of stars.
          in: query
          name: q
          required: true
          type: string
        - description: 'If not provided, results are sorted by best match.'
          enum:
            - stars
            - forks
            - updated
          in: query
          name: sort
          type: string
        - description: |
            You can check the current version of media type in responses.
          in: header

examples/githubcl-openapi.yaml  view on Meta::CPAN

            have.
            'Location' Filter users by the location indicated in their profile.
            'Language' Search for users that have repositories that match a certain
            language.
            'Created' Filter users based on when they joined.
            'Followers' Filter users based on the number of followers they have.
          in: query
          name: q
          required: true
          type: string
        - description: 'If not provided, results are sorted by best match.'
          enum:
            - followers
            - repositories
            - joined
          in: query
          name: sort
          type: string
        - description: |
            You can check the current version of media type in responses.
          in: header

examples/html/githubcl.html  view on Meta::CPAN


<pre><code>    githubcl GET /legacy/repos/search/:keyword [options] &lt;keyword&gt;</code></pre>

<p>Find repositories by keyword. Note, this legacy me...</p>

<p>Options:</p>

<pre><code>    --q-order         The sort field. if sort param is provided. Can be either asc or desc.                      
    --q-language      Filter results by language                                                                 
    --q-start_page    The page number to fetch                                                                   
    --q-sort          The sort field. One of stars, forks, or updated. Default: results are sorted by best match.</code></pre>

<p>Parameters:</p>

<pre><code>    keyword  *  The search term</code></pre>

<h3 id="GET-legacy-user-email-:email">GET /legacy/user/email/:email</h3>

<pre><code>    githubcl GET /legacy/user/email/:email &lt;email&gt;</code></pre>

<p>This API call is added for compatibility reasons o...</p>

examples/html/githubcl.html  view on Meta::CPAN

<h3 id="GET-legacy-user-search-:keyword">GET /legacy/user/search/:keyword</h3>

<pre><code>    githubcl GET /legacy/user/search/:keyword [options] &lt;keyword&gt;</code></pre>

<p>Find users by keyword.</p>

<p>Options:</p>

<pre><code>    --q-order         The sort field. if sort param is provided. Can be either asc or desc.                      
    --q-start_page    The page number to fetch                                                                   
    --q-sort          The sort field. One of stars, forks, or updated. Default: results are sorted by best match.</code></pre>

<p>Parameters:</p>

<pre><code>    keyword  *  The search term</code></pre>

<h3 id="GET-meta">GET /meta</h3>

<pre><code>    githubcl GET /meta</code></pre>

<p>This gives some information about GitHub.com, the ...</p>

examples/html/githubcl.html  view on Meta::CPAN

                  &#39;Languages&#39; Searches code based on the language it&#39;s written in.           
                  &#39;Forks&#39; Filters repositories based on the number of forks, and/or          
                  whether code from forked repositories should be included in the results    
                  at all.                                                                    
                  &#39;Size&#39; Finds files that match a certain size (in bytes).                   
                  &#39;Path&#39; Specifies the path that the resulting file must be at.              
                  &#39;Extension&#39; Matches files with a certain extension.                        
                  &#39;Users&#39; or &#39;Repositories&#39; Limits searches to a specific user or repository.
    --q-sort      Can only be &#39;indexed&#39;, which indicates how recently a file has been indexed
                  by the GitHub search infrastructure. If not provided, results are sorted   
                  by best match.                                                             </code></pre>

<h3 id="GET-search-issues">GET /search/issues</h3>

<pre><code>    githubcl GET /search/issues [options]</code></pre>

<p>Find issues by state and keyword. (This method ret...</p>

<p>Options:</p>

<pre><code>    --q-order     The sort field. if sort param is provided. Can be either asc or desc.                           
    --q-q      *  The q search term can also contain any combination of the supported issue search qualifiers:    
    --q-sort      The sort field. Can be comments, created, or updated. Default: results are sorted by best match.</code></pre>

<h3 id="GET-search-repositories">GET /search/repositories</h3>

<pre><code>    githubcl GET /search/repositories [options]</code></pre>

<p>Search repositories.</p>

<p>Options:</p>

<pre><code>    --q-order     The sort field. if sort param is provided. Can be either asc or desc.       

examples/html/githubcl.html  view on Meta::CPAN

                  can restrict the search to just the repository name, description, readme,   
                  or any combination of these.                                                
                  &#39;Size&#39; Finds repositories that match a certain size (in kilobytes).         
                  &#39;Forks&#39; Filters repositories based on the number of forks, and/or whether   
                  forked repositories should be included in the results at all.               
                  &#39;Created&#39; and &#39;Last Updated&#39; Filters repositories based on times of         
                  creation, or when they were last updated.                                   
                  &#39;Users or Repositories&#39; Limits searches to a specific user or repository.   
                  &#39;Languages&#39; Searches repositories based on the language they are written in.
                  &#39;Stars&#39; Searches repositories based on the number of stars.                 
    --q-sort      If not provided, results are sorted by best match.                          </code></pre>

<h3 id="GET-search-users">GET /search/users</h3>

<pre><code>    githubcl GET /search/users [options]</code></pre>

<p>Search users.</p>

<p>Options:</p>

<pre><code>    --q-order     The sort field. if sort param is provided. Can be either asc or desc.    

examples/html/githubcl.html  view on Meta::CPAN

                  &#39;Search In&#39; Qualifies which fields are searched. With this qualifier you 
                  can restrict the search to just the username, public email, full name,   
                  location, or any combination of these.                                   
                  &#39;Repository count&#39; Filters users based on the number of repositories they
                  have.                                                                    
                  &#39;Location&#39; Filter users by the location indicated in their profile.      
                  &#39;Language&#39; Search for users that have repositories that match a certain  
                  language.                                                                
                  &#39;Created&#39; Filter users based on when they joined.                        
                  &#39;Followers&#39; Filter users based on the number of followers they have.     
    --q-sort      If not provided, results are sorted by best match.                       </code></pre>

<h3 id="GET-teams-:teamId">GET /teams/:teamId</h3>

<pre><code>    githubcl GET /teams/:teamId &lt;teamId&gt;</code></pre>

<p>Get team.</p>

<p>Parameters:</p>

<pre><code>    teamId  *  Id of team.</code></pre>

examples/pod/githubcl.pod  view on Meta::CPAN


    githubcl GET /legacy/repos/search/:keyword [options] <keyword>

Find repositories by keyword. Note, this legacy me...

Options:

    --q-order         The sort field. if sort param is provided. Can be either asc or desc.                      
    --q-language      Filter results by language                                                                 
    --q-start_page    The page number to fetch                                                                   
    --q-sort          The sort field. One of stars, forks, or updated. Default: results are sorted by best match.

Parameters:

    keyword  *  The search term

=head3 GET /legacy/user/email/:email

    githubcl GET /legacy/user/email/:email <email>

This API call is added for compatibility reasons o...

examples/pod/githubcl.pod  view on Meta::CPAN

=head3 GET /legacy/user/search/:keyword

    githubcl GET /legacy/user/search/:keyword [options] <keyword>

Find users by keyword.

Options:

    --q-order         The sort field. if sort param is provided. Can be either asc or desc.                      
    --q-start_page    The page number to fetch                                                                   
    --q-sort          The sort field. One of stars, forks, or updated. Default: results are sorted by best match.

Parameters:

    keyword  *  The search term

=head3 GET /meta

    githubcl GET /meta

This gives some information about GitHub.com, the ...

examples/pod/githubcl.pod  view on Meta::CPAN

                  'Languages' Searches code based on the language it's written in.           
                  'Forks' Filters repositories based on the number of forks, and/or          
                  whether code from forked repositories should be included in the results    
                  at all.                                                                    
                  'Size' Finds files that match a certain size (in bytes).                   
                  'Path' Specifies the path that the resulting file must be at.              
                  'Extension' Matches files with a certain extension.                        
                  'Users' or 'Repositories' Limits searches to a specific user or repository.
    --q-sort      Can only be 'indexed', which indicates how recently a file has been indexed
                  by the GitHub search infrastructure. If not provided, results are sorted   
                  by best match.                                                             


=head3 GET /search/issues

    githubcl GET /search/issues [options]

Find issues by state and keyword. (This method ret...

Options:

    --q-order     The sort field. if sort param is provided. Can be either asc or desc.                           
    --q-q      *  The q search term can also contain any combination of the supported issue search qualifiers:    
    --q-sort      The sort field. Can be comments, created, or updated. Default: results are sorted by best match.


=head3 GET /search/repositories

    githubcl GET /search/repositories [options]

Search repositories.

Options:

examples/pod/githubcl.pod  view on Meta::CPAN

                  can restrict the search to just the repository name, description, readme,   
                  or any combination of these.                                                
                  'Size' Finds repositories that match a certain size (in kilobytes).         
                  'Forks' Filters repositories based on the number of forks, and/or whether   
                  forked repositories should be included in the results at all.               
                  'Created' and 'Last Updated' Filters repositories based on times of         
                  creation, or when they were last updated.                                   
                  'Users or Repositories' Limits searches to a specific user or repository.   
                  'Languages' Searches repositories based on the language they are written in.
                  'Stars' Searches repositories based on the number of stars.                 
    --q-sort      If not provided, results are sorted by best match.                          


=head3 GET /search/users

    githubcl GET /search/users [options]

Search users.

Options:

examples/pod/githubcl.pod  view on Meta::CPAN

                  'Search In' Qualifies which fields are searched. With this qualifier you 
                  can restrict the search to just the username, public email, full name,   
                  location, or any combination of these.                                   
                  'Repository count' Filters users based on the number of repositories they
                  have.                                                                    
                  'Location' Filter users by the location indicated in their profile.      
                  'Language' Search for users that have repositories that match a certain  
                  language.                                                                
                  'Created' Filter users based on when they joined.                        
                  'Followers' Filter users based on the number of followers they have.     
    --q-sort      If not provided, results are sorted by best match.                       


=head3 GET /teams/:teamId

    githubcl GET /teams/:teamId <teamId>

Get team.

Parameters:

examples/zsh/_githubcl  view on Meta::CPAN

                            '--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
                            '--debug[debug]' \
                            '-d[debug]' \
                            '--verbose[verbose]' \
                            '-v[verbose]' \
                            '--help[Show command help]' \
                            '-h[Show command help]' \
                            '--q-order[The sort field. if sort param is provided. Can be either asc or desc.]:q-order:("desc" "asc")' \
                            '--q-language[Filter results by language]:q-language' \
                            '--q-start_page[The page number to fetch]:q-start_page' \
                            '--q-sort[The sort field. One of stars, forks, or updated. Default: results are sorted by best match.]:q-sort:("updated" "stars" "forks")' \
                            && ret=0

                        case $state in
                        keyword)

                        ;;
                        esac

                    ;;
                    /legacy/user/email/:email)

examples/zsh/_githubcl  view on Meta::CPAN

                            '3: :->keyword' \
                            '--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
                            '--debug[debug]' \
                            '-d[debug]' \
                            '--verbose[verbose]' \
                            '-v[verbose]' \
                            '--help[Show command help]' \
                            '-h[Show command help]' \
                            '--q-order[The sort field. if sort param is provided. Can be either asc or desc.]:q-order:("desc" "asc")' \
                            '--q-start_page[The page number to fetch]:q-start_page' \
                            '--q-sort[The sort field. One of stars, forks, or updated. Default: results are sorted by best match.]:q-sort:("updated" "stars" "forks")' \
                            && ret=0

                        case $state in
                        keyword)

                        ;;
                        esac

                    ;;
                    /meta)

examples/zsh/_githubcl  view on Meta::CPAN

'"'"'Forks'"'"' Filters repositories based on the number of forks, and/or
whether code from forked repositories should be included in the results
at all.
'"'"'Size'"'"' Finds files that match a certain size (in bytes).
'"'"'Path'"'"' Specifies the path that the resulting file must be at.
'"'"'Extension'"'"' Matches files with a certain extension.
'"'"'Users'"'"' or '"'"'Repositories'"'"' Limits searches to a specific user or repository.
]:q-q' \
                            '--q-sort[Can only be '"'"'indexed'"'"', which indicates how recently a file has been indexed
by the GitHub search infrastructure. If not provided, results are sorted
by best match.
]:q-sort:("indexed")' \
                            && ret=0


                    ;;
                    /search/issues)

                        # ---- Command: GET /search/issues
                        _arguments -s -C \
                            '1: :->cmd1' \
                            '2: :->cmd2' \
                            '--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
                            '--debug[debug]' \
                            '-d[debug]' \
                            '--verbose[verbose]' \
                            '-v[verbose]' \
                            '--help[Show command help]' \
                            '-h[Show command help]' \
                            '--q-order[The sort field. if sort param is provided. Can be either asc or desc.]:q-order:("desc" "asc")' \
                            '--q-q[The q search term can also contain any combination of the supported issue search qualifiers:]:q-q' \
                            '--q-sort[The sort field. Can be comments, created, or updated. Default: results are sorted by best match.]:q-sort:("updated" "created" "comments")' \
                            && ret=0


                    ;;
                    /search/repositories)

                        # ---- Command: GET /search/repositories
                        _arguments -s -C \
                            '1: :->cmd1' \
                            '2: :->cmd2' \

examples/zsh/_githubcl  view on Meta::CPAN

or any combination of these.
'"'"'Size'"'"' Finds repositories that match a certain size (in kilobytes).
'"'"'Forks'"'"' Filters repositories based on the number of forks, and/or whether
forked repositories should be included in the results at all.
'"'"'Created'"'"' and '"'"'Last Updated'"'"' Filters repositories based on times of
creation, or when they were last updated.
'"'"'Users or Repositories'"'"' Limits searches to a specific user or repository.
'"'"'Languages'"'"' Searches repositories based on the language they are written in.
'"'"'Stars'"'"' Searches repositories based on the number of stars.
]:q-q' \
                            '--q-sort[If not provided, results are sorted by best match.]:q-sort:("stars" "forks" "updated")' \
                            && ret=0


                    ;;
                    /search/users)

                        # ---- Command: GET /search/users
                        _arguments -s -C \
                            '1: :->cmd1' \
                            '2: :->cmd2' \

examples/zsh/_githubcl  view on Meta::CPAN

can restrict the search to just the username, public email, full name,
location, or any combination of these.
'"'"'Repository count'"'"' Filters users based on the number of repositories they
have.
'"'"'Location'"'"' Filter users by the location indicated in their profile.
'"'"'Language'"'"' Search for users that have repositories that match a certain
language.
'"'"'Created'"'"' Filter users based on when they joined.
'"'"'Followers'"'"' Filter users based on the number of followers they have.
]:q-q' \
                            '--q-sort[If not provided, results are sorted by best match.]:q-sort:("followers" "repositories" "joined")' \
                            && ret=0


                    ;;
                    /teams/:teamId)

                        # ---- Command: GET /teams/:teamId
                        _arguments -s -C \
                            '1: :->cmd1' \
                            '2: :->cmd2' \



( run in 0.609 second using v1.01-cache-2.11-cpan-4e96b696675 )