@superdesign/cli 0.1.9 → 0.1.10
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.cjs +11 -1
- package/dist/index.js +11 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -875,7 +875,17 @@ superdesign --help
|
|
|
875
875
|
};
|
|
876
876
|
}
|
|
877
877
|
function createIterateDesignDraftCommand() {
|
|
878
|
-
const command = new external_commander_namespaceObject.Command('iterate-design-draft').description(
|
|
878
|
+
const command = new external_commander_namespaceObject.Command('iterate-design-draft').description(`Generate design based on existing draft or template, the main design exploration tool
|
|
879
|
+
|
|
880
|
+
Usage Examples:
|
|
881
|
+
# Iterate: replace mode (single variation, updates in place)
|
|
882
|
+
superdesign iterate-design-draft --draft-id <id> -p "..." --mode replace --json
|
|
883
|
+
|
|
884
|
+
# Iterate: Explore multiple versions & variations (each prompt = one variation, prompt should be just directional, do not specify color, style, let superdesign design expert fill in details, you just give direction)
|
|
885
|
+
superdesign iterate-design-draft --draft-id <id> -p "dark theme" -p "minimal" -p "bold" --mode branch --json
|
|
886
|
+
|
|
887
|
+
# Iterate: Auto explore (only give exploration direction, and let Superdesign fill in details, e.g. explore different styles; Default do NOT use auto explore mode)
|
|
888
|
+
superdesign iterate-design-draft --draft-id <id> -p "..." --mode branch --count 3 --json`).requiredOption('--draft-id <id>', 'Draft ID to iterate on').requiredOption('-p, --prompt <prompt...>', 'Iteration prompt(s). Use multiple -p for specific prompts per variation.').requiredOption('--mode <mode>', 'Iteration mode (replace or branch)').option('--count <count>', 'Number of variations (1-4). Only used when single prompt provided.').option('--json', 'Output in JSON format').addOption(new external_commander_namespaceObject.Option('--project-id <id>').hideHelp()).action(async (options)=>{
|
|
879
889
|
if (options.json) setJsonMode(true);
|
|
880
890
|
job_runner_requireAuth(manager_isAuthenticated);
|
|
881
891
|
const { prompts, count, mode } = validateOptions(options);
|
package/dist/index.js
CHANGED
|
@@ -785,7 +785,17 @@ function validateOptions(options) {
|
|
|
785
785
|
};
|
|
786
786
|
}
|
|
787
787
|
function createIterateDesignDraftCommand() {
|
|
788
|
-
const command = new Command('iterate-design-draft').description(
|
|
788
|
+
const command = new Command('iterate-design-draft').description(`Generate design based on existing draft or template, the main design exploration tool
|
|
789
|
+
|
|
790
|
+
Usage Examples:
|
|
791
|
+
# Iterate: replace mode (single variation, updates in place)
|
|
792
|
+
superdesign iterate-design-draft --draft-id <id> -p "..." --mode replace --json
|
|
793
|
+
|
|
794
|
+
# Iterate: Explore multiple versions & variations (each prompt = one variation, prompt should be just directional, do not specify color, style, let superdesign design expert fill in details, you just give direction)
|
|
795
|
+
superdesign iterate-design-draft --draft-id <id> -p "dark theme" -p "minimal" -p "bold" --mode branch --json
|
|
796
|
+
|
|
797
|
+
# Iterate: Auto explore (only give exploration direction, and let Superdesign fill in details, e.g. explore different styles; Default do NOT use auto explore mode)
|
|
798
|
+
superdesign iterate-design-draft --draft-id <id> -p "..." --mode branch --count 3 --json`).requiredOption('--draft-id <id>', 'Draft ID to iterate on').requiredOption('-p, --prompt <prompt...>', 'Iteration prompt(s). Use multiple -p for specific prompts per variation.').requiredOption('--mode <mode>', 'Iteration mode (replace or branch)').option('--count <count>', 'Number of variations (1-4). Only used when single prompt provided.').option('--json', 'Output in JSON format').addOption(new Option('--project-id <id>').hideHelp()).action(async (options)=>{
|
|
789
799
|
if (options.json) setJsonMode(true);
|
|
790
800
|
job_runner_requireAuth(manager_isAuthenticated);
|
|
791
801
|
const { prompts, count, mode } = validateOptions(options);
|