Skip to content

Commit

Permalink
chore: spelling + correct interface import
Browse files Browse the repository at this point in the history
  • Loading branch information
tgbv committed Oct 26, 2024
1 parent 8bbe3a7 commit 250e1b6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Options:
-h, --help display help for command

Commands:
list <entity> List entities based on their entity.
list <entity> List current nodes / connections.
create <entity> Guided way to create a new entity.
delete <entity> Guided way to delete an existing entity.
help [command] display help for command
Expand Down
3 changes: 1 addition & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/commands/commanderWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const entityArg = new Argument('<entity>', 'Entity type.')

program
.command('list')
.description('List entities based on their entity.')
.description('List current nodes / connections.')
.addArgument(new Argument('<entity>', 'Entity type.').choices(['connections', 'conns', 'nodes']))
.action((entity: string) => {
switch(entity) {
Expand Down
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { existsSync, mkdirSync, readdirSync, statSync, writeFileSync, } from "fs";
import { resolve, parse } from "path";

import { IConnectionSchema, INodeDescriptor } from '@cognigy/extension-tools/build';
import { INodeFunctionBaseParams } from "@cognigy/extension-tools/build/interfaces/descriptor";
import { IConnectionSchema, INodeDescriptor, INodeFunctionBaseParams } from '@cognigy/extension-tools/build';
import { createNodeDescriptor as cCreateNodeDescriptor } from "@cognigy/extension-tools";

import isTsNode from "detect-ts-node";
Expand Down

0 comments on commit 250e1b6

Please sign in to comment.