fluncle 0.259.0 → 0.260.0
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/bin/fluncle.mjs +9 -9
- package/package.json +1 -1
package/bin/fluncle.mjs
CHANGED
|
@@ -622,7 +622,7 @@ function parseVersion(version) {
|
|
|
622
622
|
var currentVersion;
|
|
623
623
|
var init_version = __esm(() => {
|
|
624
624
|
init_output();
|
|
625
|
-
currentVersion = "0.
|
|
625
|
+
currentVersion = "0.260.0".trim() ? "0.260.0".trim() : "0.1.0";
|
|
626
626
|
});
|
|
627
627
|
|
|
628
628
|
// src/update-notifier.ts
|
|
@@ -2258,7 +2258,7 @@ var init_about = __esm(() => {
|
|
|
2258
2258
|
heading: "For the nerds",
|
|
2259
2259
|
links: [
|
|
2260
2260
|
{ label: "The Galaxy (game)", url: "https://galaxy.fluncle.com" },
|
|
2261
|
-
{ label: "SSH (
|
|
2261
|
+
{ label: "SSH (the rave terminal)", url: "ssh rave.fluncle.com" },
|
|
2262
2262
|
{ label: "Source", url: "https://github.com/mauricekleine/fluncle" }
|
|
2263
2263
|
]
|
|
2264
2264
|
}
|
|
@@ -2335,7 +2335,7 @@ function parseVersion2(version) {
|
|
|
2335
2335
|
var currentVersion2, latestReleaseUrl = "https://api.github.com/repos/mauricekleine/fluncle/releases/latest";
|
|
2336
2336
|
var init_version2 = __esm(() => {
|
|
2337
2337
|
init_output();
|
|
2338
|
-
currentVersion2 = "0.
|
|
2338
|
+
currentVersion2 = "0.260.0".trim() ? "0.260.0".trim() : "0.1.0";
|
|
2339
2339
|
});
|
|
2340
2340
|
|
|
2341
2341
|
// ../../packages/registry/src/index.ts
|
|
@@ -3293,7 +3293,7 @@ var init_src = __esm(() => {
|
|
|
3293
3293
|
},
|
|
3294
3294
|
{
|
|
3295
3295
|
command: "fluncle random",
|
|
3296
|
-
exposedContent: ["the archive throws
|
|
3296
|
+
exposedContent: ["the archive throws a banger back"],
|
|
3297
3297
|
kind: "cli",
|
|
3298
3298
|
name: "cli.random",
|
|
3299
3299
|
weights: { cli: "secondary" }
|
|
@@ -22056,7 +22056,7 @@ function artistRuleLines(rules) {
|
|
|
22056
22056
|
}
|
|
22057
22057
|
function createProgram() {
|
|
22058
22058
|
const program = configureCommand(new Command);
|
|
22059
|
-
program.name("fluncle").description(fluncleTagline
|
|
22059
|
+
program.name("fluncle").description(fluncleTagline).option("--env <local|production>", "Config profile to load (default: production)").showSuggestionAfterError(false).addHelpCommand("help [command]", "Display help for command").hook("preAction", (_thisCommand, actionCommand) => {
|
|
22060
22060
|
const options = actionCommand.optsWithGlobals();
|
|
22061
22061
|
setEnvProfile(options.env);
|
|
22062
22062
|
}).addHelpText("before", `
|
|
@@ -22097,7 +22097,7 @@ async function main(args = process.argv.slice(2)) {
|
|
|
22097
22097
|
await notifyIfUpdateAvailable(args);
|
|
22098
22098
|
}
|
|
22099
22099
|
function configureCommand(command) {
|
|
22100
|
-
return command.exitOverride().addHelpCommand(false).configureOutput({
|
|
22100
|
+
return command.exitOverride().helpOption("-h, --help", "Display help for command").addHelpCommand(false).configureOutput({
|
|
22101
22101
|
writeErr: () => {}
|
|
22102
22102
|
});
|
|
22103
22103
|
}
|
|
@@ -22146,7 +22146,7 @@ function addListenCommands(program) {
|
|
|
22146
22146
|
const openCommands = await Promise.resolve().then(() => (init_open(), exports_open));
|
|
22147
22147
|
await runOpen(target, [], options, openCommands);
|
|
22148
22148
|
});
|
|
22149
|
-
program.command("random").description("The archive throws
|
|
22149
|
+
program.command("random").description("The archive throws a banger back").option("--json", "Print JSON", false).action(async (options) => {
|
|
22150
22150
|
await Promise.resolve().then(() => init_random());
|
|
22151
22151
|
await runRandom(options, randomCommand);
|
|
22152
22152
|
});
|
|
@@ -22208,7 +22208,7 @@ function addAdminCommands(program) {
|
|
|
22208
22208
|
admin.action(() => {
|
|
22209
22209
|
admin.outputHelp();
|
|
22210
22210
|
});
|
|
22211
|
-
admin.command("help", { hidden: true }).description("
|
|
22211
|
+
admin.command("help", { hidden: true }).description("Display help for command").action(() => {
|
|
22212
22212
|
admin.outputHelp();
|
|
22213
22213
|
});
|
|
22214
22214
|
admin.command("queue").description("The attention queue: what's waiting, and the day's dispatch").option("--json", "Print JSON", false).action(async (options) => {
|
|
@@ -26521,7 +26521,7 @@ Listen:
|
|
|
26521
26521
|
fluncle open [--limit 20] [--browser|--app] Pick a track, open it in Spotify
|
|
26522
26522
|
fluncle open playlist [--browser|--app] Open Fluncle's Findings in Spotify
|
|
26523
26523
|
fluncle open telegram [--browser|--app] Open the Telegram feed
|
|
26524
|
-
fluncle random [--json] The archive throws
|
|
26524
|
+
fluncle random [--json] The archive throws a banger back
|
|
26525
26525
|
fluncle subscribe [email] Fresh bangers, every Friday
|
|
26526
26526
|
|
|
26527
26527
|
Browse:
|
package/package.json
CHANGED