this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Log created labels in CLI

futurGH ed5b7ca7 25f2cab5

+7 -4
+7 -4
src/bin.ts
··· 93 93 ); 94 94 const newDefinitions = await promptLabelDefinitions(); 95 95 if (newDefinitions.length) { 96 - await setLabelerLabelDefinitions({ identifier: did, password, pds }, [ 97 - ...labelDefinitions, 98 - ...newDefinitions, 99 - ]); 96 + const definitions = [...labelDefinitions, ...newDefinitions]; 97 + await setLabelerLabelDefinitions({ identifier: did, password, pds }, definitions); 98 + console.log("Declared label(s):", definitions.map((d) => d.identifier).join(", ")); 99 + } else { 100 + console.log( 101 + "No labels were defined. You can use the `label add` command later to define new labels.", 102 + ); 100 103 } 101 104 } else { 102 105 const { identifiers } = await prompt({