issue 0.0.4 copy "issue: ^0.0.4" to clipboard
issue: ^0.0.4 copied to clipboard

A CLI tool to help cli package authors make raising issues like bug reports more interactive for their users.

issue #

pub package pub points

A tool to help cli package authors make raising issues like bug reports more interactive for their users.

Features #

  • Interactive file based prompts for great UX.
  • Ability to break the issue body into separate customizable user-prompts.
  • Supports executing cli commands to collect system / project data, like flutter doctor.
  • Customizable Issue Tracker. Supports GitHub out-of-the-box (obviously).

Demo #

https://user-images.githubusercontent.com/44755140/195989524-01e523be-4b6d-4894-aa95-80bd5f162450.mp4

Usage #

Run dart example/issue.dart to experience issue, or checkout the following sample.

import 'package:issue/issue.dart';

void main(List<String> args) async {
  IssueConfig config = IssueConfig(
    template: FlutterBugReportIssueTemplate(
      assignees: ['werainkhatri'],
      labels: ['bug'],
      giveCredits: true,
    ),
    tracker: GitHubIssueTracker(
      organization: 'werainkhatri',
      repository: 'issue',
    ),
  );

  try {
    await buildIssueAndOpen(config);
  } on UserInterruptException catch (e) {
    print(e);
  }
}
2
likes
160
points
57
downloads

Publisher

unverified uploader

Weekly Downloads

A CLI tool to help cli package authors make raising issues like bug reports more interactive for their users.

Repository
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

ansi_styles, equatable, interact, path

More

Packages that depend on issue