Skip to content

feat(cfl): port space list pagination cursor #41

Description

@rianjs

Port pagination cursor support from confluence-cli PR #105.

Files to modify:

  • tools/cfl/internal/cmd/space/list.go - Add --cursor flag
  • tools/cfl/internal/cmd/space/list_test.go - Add tests

Features:

  • Add --cursor flag for cursor-based pagination
  • Display cursor value for next page when more results available
  • Extract cursor from _links.next URL

Usage:

cfl space list                              # First page
cfl space list --cursor "eyJpZCI6MTIzfQ=="  # Next page
cfl space list --limit 100                  # Larger page

Source: open-cli-collective/confluence-cli#105

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions