issue 0.0.4 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.
import 'package:issue/issue.dart';
void main(List<String> args) async {
IssueConfig config = IssueConfig(
template: FlutterBugReportIssueTemplate(
assignees: ['werainkhatri'],
labels: ['bug'],
credits: true,
),
tracker: GitHubIssueTracker(
organization: 'werainkhatri',
repository: 'issue',
),
);
try {
await buildIssueAndOpen(config);
} on UserInterruptException catch (e) {
print(e);
}
}