Skip to content

gtl export

Export a pull request or issue URL to markdown, or export recent PRs and issues for the current repository when no URL is provided.

Aliases

ex

Usage

bash
gtl export [url] [flags]

Examples

bash
gtl export
gtl export --limit 5
gtl export --all
gtl export https://github.com/owner/repo/issues/123
gtl export https://github.com/owner/repo/pull/456

Full Help

text
Export a pull request or issue URL to markdown, or export recent PRs and issues for the current repository when no URL is provided.

Usage:
  gtl export [url] [flags]

Aliases:
  export, ex

Examples:
gtl export
gtl export --limit 5
gtl export --all
gtl export https://github.com/owner/repo/issues/123
gtl export https://github.com/owner/repo/pull/456

Flags:
      --all             Export all pull requests and issues when no URL is provided
  -h, --help            help for export
  -n, --limit int       Number of recent pull requests and issues to export when no URL is provided (default 10)
  -o, --output string   Output path (overrides default .gtl workspace path)

Released under the MIT License.