Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

Pipe create example (#1504)

Matthew Diakonovf21dabf451a2
diff --git a/screenpipe-js/cli/src/commands/pipe/create.ts b/screenpipe-js/cli/src/commands/pipe/create.ts
index 5f18d8a3c..360afa95f 100755
--- a/screenpipe-js/cli/src/commands/pipe/create.ts
+++ b/screenpipe-js/cli/src/commands/pipe/create.ts
@@ -52,7 +52,7 @@ export const createPipeCommand = new Command()
.description("create a new pipe")
.action(async () => {
console.log(chalk.bold("\nwelcome to screenpipe!\n"));
- logger.log("let's create a new screenpipe pipe.\n");
+ logger.log("let's create a new screenpipe pipe based on a template with ready-to-use components.\n");
logger.log(
"pipes are plugins that interact with captured screen and audio data."
);
@@ -95,7 +95,7 @@ export const createPipeCommand = new Command()
const absoluteDirectory = path.resolve(process.cwd(), directory);
// Download and extract the appropriate template
- await downloadAndExtractSubdir("pipes/obsidian", absoluteDirectory);
+ await downloadAndExtractSubdir("pipes/example-pipe", absoluteDirectory);
// Update package.json with the pipe name
const pkgPath = path.join(absoluteDirectory, "package.json");