@net-protocol/cli 0.1.14 → 0.1.16

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.
@@ -0,0 +1 @@
1
+ #!/usr/bin/env node
@@ -0,0 +1,58 @@
1
+ import { Command } from 'commander';
2
+
3
+ /**
4
+ * Register the feed list subcommand
5
+ */
6
+ declare function registerFeedListCommand(parent: Command, commandName?: string): void;
7
+
8
+ /**
9
+ * Register the feed read subcommand
10
+ */
11
+ declare function registerFeedReadCommand(parent: Command): void;
12
+
13
+ /**
14
+ * Register the feed post subcommand
15
+ */
16
+ declare function registerFeedPostCommand(parent: Command): void;
17
+
18
+ /**
19
+ * Register the feed comment-write subcommand
20
+ */
21
+ declare function registerFeedCommentWriteCommand(parent: Command): void;
22
+
23
+ /**
24
+ * Register the feed comments subcommand
25
+ */
26
+ declare function registerFeedCommentReadCommand(parent: Command): void;
27
+
28
+ /**
29
+ * Register the feed register subcommand
30
+ */
31
+ declare function registerFeedRegisterCommand(parent: Command): void;
32
+
33
+ /**
34
+ * Register the feed replies subcommand
35
+ */
36
+ declare function registerFeedRepliesCommand(parent: Command): void;
37
+
38
+ /**
39
+ * Register the feed posts subcommand
40
+ */
41
+ declare function registerFeedPostsCommand(parent: Command): void;
42
+
43
+ /**
44
+ * Register the feed config subcommand
45
+ */
46
+ declare function registerFeedConfigCommand(parent: Command): void;
47
+
48
+ /**
49
+ * Register the feed history subcommand
50
+ */
51
+ declare function registerFeedHistoryCommand(parent: Command): void;
52
+
53
+ /**
54
+ * Register the feed command group with the commander program
55
+ */
56
+ declare function registerFeedCommand(program: Command): void;
57
+
58
+ export { registerFeedCommand, registerFeedCommentReadCommand, registerFeedCommentWriteCommand, registerFeedConfigCommand, registerFeedHistoryCommand, registerFeedListCommand, registerFeedPostCommand, registerFeedPostsCommand, registerFeedReadCommand, registerFeedRegisterCommand, registerFeedRepliesCommand };
@@ -0,0 +1,8 @@
1
+ import { Command } from 'commander';
2
+
3
+ /**
4
+ * Register the profile command with the commander program
5
+ */
6
+ declare function registerProfileCommand(program: Command): void;
7
+
8
+ export { registerProfileCommand };
package/package.json CHANGED
@@ -1,15 +1,24 @@
1
1
  {
2
2
  "name": "@net-protocol/cli",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "description": "CLI tool for Net Protocol",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "netp": "./dist/cli/index.mjs"
8
8
  },
9
9
  "exports": {
10
- ".": "./dist/cli/index.mjs",
11
- "./feed": "./dist/feed/index.mjs",
12
- "./profile": "./dist/profile/index.mjs"
10
+ ".": {
11
+ "types": "./dist/cli/index.d.ts",
12
+ "import": "./dist/cli/index.mjs"
13
+ },
14
+ "./feed": {
15
+ "types": "./dist/feed/index.d.ts",
16
+ "import": "./dist/feed/index.mjs"
17
+ },
18
+ "./profile": {
19
+ "types": "./dist/profile/index.d.ts",
20
+ "import": "./dist/profile/index.mjs"
21
+ }
13
22
  },
14
23
  "files": [
15
24
  "dist",