fluncle 0.33.0 → 0.34.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 +4 -12
- package/package.json +1 -1
package/bin/fluncle.mjs
CHANGED
|
@@ -3166,12 +3166,6 @@ function buildBody(options) {
|
|
|
3166
3166
|
if (options.recordedAt !== undefined) {
|
|
3167
3167
|
body.recordedAt = options.recordedAt;
|
|
3168
3168
|
}
|
|
3169
|
-
if (options.mixcloudUrl !== undefined) {
|
|
3170
|
-
body.mixcloudUrl = options.mixcloudUrl;
|
|
3171
|
-
}
|
|
3172
|
-
if (options.youtubeUrl !== undefined) {
|
|
3173
|
-
body.youtubeUrl = options.youtubeUrl;
|
|
3174
|
-
}
|
|
3175
3169
|
if (options.soundcloudUrl !== undefined) {
|
|
3176
3170
|
body.soundcloudUrl = options.soundcloudUrl;
|
|
3177
3171
|
}
|
|
@@ -3795,7 +3789,7 @@ function parseVersion(version) {
|
|
|
3795
3789
|
var currentVersion, latestReleaseUrl = "https://api.github.com/repos/mauricekleine/fluncle/releases/latest";
|
|
3796
3790
|
var init_version = __esm(() => {
|
|
3797
3791
|
init_output();
|
|
3798
|
-
currentVersion = "0.
|
|
3792
|
+
currentVersion = "0.34.0".trim() ? "0.34.0".trim() : "0.1.0";
|
|
3799
3793
|
});
|
|
3800
3794
|
|
|
3801
3795
|
// src/commands/track.ts
|
|
@@ -5133,11 +5127,11 @@ function addAdminCommands(program2) {
|
|
|
5133
5127
|
adminMixtapes.action(() => {
|
|
5134
5128
|
adminMixtapes.outputHelp();
|
|
5135
5129
|
});
|
|
5136
|
-
adminMixtapes.command("create").description("Log a new mixtape draft").option("--duration-ms <duration>", "Duration (mm:ss, h:mm:ss, or ms)").option("--json", "Print JSON", false).option("--
|
|
5130
|
+
adminMixtapes.command("create").description("Log a new mixtape draft").option("--duration-ms <duration>", "Duration (mm:ss, h:mm:ss, or ms)").option("--json", "Print JSON", false).option("--note <text>", "Operator note").option("--recorded-at <date>", "Recorded date (ISO)").option("--soundcloud-url <url>", "SoundCloud URL (manual; YouTube + Mixcloud come from distribute)").allowExcessArguments().action(async (options) => {
|
|
5137
5131
|
const { mixtapeCreateCommand: mixtapeCreateCommand2 } = await Promise.resolve().then(() => (init_mixtapes2(), exports_mixtapes));
|
|
5138
5132
|
await runMixtapeCreate(options, mixtapeCreateCommand2);
|
|
5139
5133
|
});
|
|
5140
|
-
adminMixtapes.command("update").description("Update a mixtape's fields").argument("[id]").option("--duration-ms <duration>", "Duration (mm:ss, h:mm:ss, or ms)").option("--json", "Print JSON", false).option("--
|
|
5134
|
+
adminMixtapes.command("update").description("Update a mixtape's fields").argument("[id]").option("--duration-ms <duration>", "Duration (mm:ss, h:mm:ss, or ms)").option("--json", "Print JSON", false).option("--note <text>", "Operator note").option("--recorded-at <date>", "Recorded date (ISO)").option("--soundcloud-url <url>", "SoundCloud URL (manual; YouTube + Mixcloud come from distribute)").allowExcessArguments().action(async (id, options) => {
|
|
5141
5135
|
const { mixtapeUpdateCommand: mixtapeUpdateCommand2 } = await Promise.resolve().then(() => (init_mixtapes2(), exports_mixtapes));
|
|
5142
5136
|
await runMixtapeUpdate(id, options, mixtapeUpdateCommand2);
|
|
5143
5137
|
});
|
|
@@ -5824,7 +5818,6 @@ var stringOptions = new Set([
|
|
|
5824
5818
|
"--key",
|
|
5825
5819
|
"--limit",
|
|
5826
5820
|
"--mime",
|
|
5827
|
-
"--mixcloud-url",
|
|
5828
5821
|
"--note",
|
|
5829
5822
|
"--platform",
|
|
5830
5823
|
"--poster",
|
|
@@ -5836,8 +5829,7 @@ var stringOptions = new Set([
|
|
|
5836
5829
|
"--source",
|
|
5837
5830
|
"--status",
|
|
5838
5831
|
"--url",
|
|
5839
|
-
"--video-url"
|
|
5840
|
-
"--youtube-url"
|
|
5832
|
+
"--video-url"
|
|
5841
5833
|
]);
|
|
5842
5834
|
var rootHelpSections = `
|
|
5843
5835
|
|
package/package.json
CHANGED