@koda-sl/baker-cli 0.343.0-dev.69293e822 → 0.343.0-dev.c28f2e0b3
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.js +2 -2
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -17045,7 +17045,7 @@ import { defineCommand as defineCommand31 } from "citty";
|
|
|
17045
17045
|
|
|
17046
17046
|
// src/commands/ads/google/ad-copy-flags.ts
|
|
17047
17047
|
var AD_COPY_LIST_FLAGS = ["headlines", "descriptions", "long-headlines"];
|
|
17048
|
-
var AD_COPY_LIST_USAGE = `repeat the flag once per item
|
|
17048
|
+
var AD_COPY_LIST_USAGE = `repeat the flag once per item, or pass one comma-separated list and wrap an item that contains a comma in double quotes: '"Fast, free quotes",Book today'. A flag given once is read as a list, so a lone item with a comma needs its double quotes too: '"Fast, free quotes"'`;
|
|
17049
17049
|
function skipBlanks(value, at) {
|
|
17050
17050
|
let i = at;
|
|
17051
17051
|
while (value[i] === " " || value[i] === " ") i++;
|
|
@@ -17131,7 +17131,7 @@ function copyListSplitHints(args5) {
|
|
|
17131
17131
|
const fragments = items.filter((item, index) => index > 0 && item.splitAtComma && new RegExp("^\\p{Ll}", "u").test(item.text));
|
|
17132
17132
|
if (fragments.length > 0) {
|
|
17133
17133
|
hints2.push(
|
|
17134
|
-
`--${flag}: ${fragments.map((f) => `"${f.text}"`).join(", ")} starts in lowercase \u2014 it looks like the end of one item cut at a comma. Check the staged copy; if it was one item,
|
|
17134
|
+
`--${flag}: ${fragments.map((f) => `"${f.text}"`).join(", ")} starts in lowercase \u2014 it looks like the end of one item cut at a comma. Check the staged copy; if it was one item, fix this op in place with \`draft amend <ref>\` (the ref this response returned) rather than staging it again, which would leave the cut copy staged too \u2014 ${AD_COPY_LIST_USAGE}.`
|
|
17135
17135
|
);
|
|
17136
17136
|
}
|
|
17137
17137
|
}
|