Skip to content

werainkhatri/issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

demo.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);
  }
}

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages