@hasnatools/skills 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +19 -15
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -21949,27 +21949,31 @@ async function marketplaceCommand(options = {}) {
|
|
|
21949
21949
|
}
|
|
21950
21950
|
|
|
21951
21951
|
// src/commands/feedback.ts
|
|
21952
|
-
var FEEDBACK_URL = "https://skills.md/feedback";
|
|
21953
21952
|
var GITHUB_ISSUES_URL = "https://github.com/skillsmd/skills-md/issues";
|
|
21953
|
+
var DISCORD_URL = "https://discord.gg/skillsmd";
|
|
21954
|
+
var EMAIL = "feedback@skills.md";
|
|
21954
21955
|
async function feedbackCommand(options = {}) {
|
|
21955
21956
|
console.log();
|
|
21956
21957
|
console.log(source_default.bold("We'd love to hear from you!"));
|
|
21957
21958
|
console.log();
|
|
21958
|
-
if (options.bug) {
|
|
21959
|
-
console.log(source_default.dim("Opening GitHub Issues
|
|
21959
|
+
if (options.bug || options.github) {
|
|
21960
|
+
console.log(source_default.dim("Opening GitHub Issues..."));
|
|
21960
21961
|
await open_default(GITHUB_ISSUES_URL);
|
|
21961
21962
|
console.log(source_default.green("✓") + " Opened: " + source_default.cyan(GITHUB_ISSUES_URL));
|
|
21962
|
-
} else if (options.feature) {
|
|
21963
|
-
console.log(source_default.dim("Opening feedback page for feature requests..."));
|
|
21964
|
-
await open_default(FEEDBACK_URL);
|
|
21965
|
-
console.log(source_default.green("✓") + " Opened: " + source_default.cyan(FEEDBACK_URL));
|
|
21966
21963
|
} else {
|
|
21967
|
-
console.log(
|
|
21968
|
-
console.log(" " + source_default.cyan("skills feedback --feature") + source_default.dim(" Request a feature"));
|
|
21964
|
+
console.log(source_default.dim("How to reach us:"));
|
|
21969
21965
|
console.log();
|
|
21970
|
-
console.log(source_default.dim("
|
|
21971
|
-
console.log("
|
|
21972
|
-
console.log(
|
|
21966
|
+
console.log(" " + source_default.bold("GitHub Issues") + source_default.dim(" (bugs & features)"));
|
|
21967
|
+
console.log(" " + source_default.cyan(GITHUB_ISSUES_URL));
|
|
21968
|
+
console.log();
|
|
21969
|
+
console.log(" " + source_default.bold("Email"));
|
|
21970
|
+
console.log(" " + source_default.cyan(EMAIL));
|
|
21971
|
+
console.log();
|
|
21972
|
+
console.log(" " + source_default.bold("Discord"));
|
|
21973
|
+
console.log(" " + source_default.cyan(DISCORD_URL));
|
|
21974
|
+
console.log();
|
|
21975
|
+
console.log(source_default.dim("─".repeat(40)));
|
|
21976
|
+
console.log(source_default.dim("Run ") + source_default.cyan("skills feedback --github") + source_default.dim(" to open GitHub Issues"));
|
|
21973
21977
|
}
|
|
21974
21978
|
console.log();
|
|
21975
21979
|
}
|
|
@@ -22049,10 +22053,10 @@ program2.command("logs <skill>").description("View execution logs for a skill").
|
|
|
22049
22053
|
tail: parseInt(options.tail, 10)
|
|
22050
22054
|
});
|
|
22051
22055
|
});
|
|
22052
|
-
program2.command("feedback").description("Send feedback or report issues").option("-
|
|
22056
|
+
program2.command("feedback").description("Send feedback or report issues").option("-g, --github", "Open GitHub Issues in browser").option("-b, --bug", "Open GitHub Issues (alias for --github)").action((options) => {
|
|
22053
22057
|
feedbackCommand({
|
|
22054
|
-
|
|
22055
|
-
|
|
22058
|
+
github: options.github,
|
|
22059
|
+
bug: options.bug
|
|
22056
22060
|
});
|
|
22057
22061
|
});
|
|
22058
22062
|
program2.addHelpText("after", `
|