Skip to content

Include Flag to Paginate SQL Query Output #122

@ricardobaeta

Description

@ricardobaeta

I would be pretty happy if there was a way to "paginate" query results. The results could be divided in ~50 lines blocks, and I would have the chance to "navigate" up and down (with index 1 of 5...). It could be as of a flag that would be included on the cli output when running srcd sql --help. It would look something like:

Run a SQL query over the analyzed repositories.

Usage:
  srcd sql [flags]

Flags:
  -h, --help   help for sql
  -p, --p paginate query results

Global Flags:
      --config string   config file (default is $HOME/.srcd.yaml)
  -v, --verbose         if true, log all of the things

We have pagination on the web sql and I believe that being on the cli shouldn't degrade this specific usability detail

Metadata

Metadata

Assignees

No one assigned

    Labels

    empathy-sessionsIssue filed as as part of empathy sessions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions