@net-protocol/cli 0.1.27 → 0.1.29
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/cli/index.mjs
CHANGED
|
@@ -3243,7 +3243,7 @@ ${available}`
|
|
|
3243
3243
|
const buffer = fs6.readFileSync(filePath);
|
|
3244
3244
|
if (buffer.length > MAX_CSS_SIZE) {
|
|
3245
3245
|
exitWithError(
|
|
3246
|
-
`File too large: ${buffer.length} bytes exceeds maximum of ${MAX_CSS_SIZE} bytes (
|
|
3246
|
+
`File too large: ${buffer.length} bytes exceeds maximum of ${MAX_CSS_SIZE} bytes (15KB).`
|
|
3247
3247
|
);
|
|
3248
3248
|
}
|
|
3249
3249
|
cssContent = buffer.toString("utf-8");
|
|
@@ -3252,7 +3252,7 @@ ${available}`
|
|
|
3252
3252
|
const contentSize = Buffer.byteLength(cssContent, "utf-8");
|
|
3253
3253
|
if (contentSize > MAX_CSS_SIZE) {
|
|
3254
3254
|
exitWithError(
|
|
3255
|
-
`Content too large: ${contentSize} bytes exceeds maximum of ${MAX_CSS_SIZE} bytes (
|
|
3255
|
+
`Content too large: ${contentSize} bytes exceeds maximum of ${MAX_CSS_SIZE} bytes (15KB).`
|
|
3256
3256
|
);
|
|
3257
3257
|
}
|
|
3258
3258
|
}
|
|
@@ -3590,7 +3590,7 @@ function registerProfileCommand(program2) {
|
|
|
3590
3590
|
json: options.json
|
|
3591
3591
|
});
|
|
3592
3592
|
});
|
|
3593
|
-
const setCSSCommand = new Command("set-css").description("Set your profile custom CSS theme").option("--file <path>", "Path to CSS file").option("--content <css>", "CSS content (inline)").option("--theme <name>", "Use a built-in demo theme (
|
|
3593
|
+
const setCSSCommand = new Command("set-css").description("Set your profile custom CSS theme").option("--file <path>", "Path to CSS file").option("--content <css>", "CSS content (inline)").option("--theme <name>", "Use a built-in demo theme (run css-prompt --list-themes to see available)").option(
|
|
3594
3594
|
"--private-key <key>",
|
|
3595
3595
|
"Private key (0x-prefixed hex, 66 characters). Can also be set via NET_PRIVATE_KEY env var"
|
|
3596
3596
|
).option(
|