myaidev-method 0.1.0 → 0.2.0

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,209 @@
1
+ #!/usr/bin/env node
2
+
3
+ /**
4
+ * Docusaurus Publishing Script
5
+ * Publish markdown content to Docusaurus site
6
+ */
7
+
8
+ import { StaticSiteUtils, detectPlatform } from '../lib/static-site-utils.js';
9
+
10
+ const args = process.argv.slice(2);
11
+
12
+ const options = {
13
+ file: null,
14
+ type: 'docs',
15
+ projectPath: null,
16
+ branch: 'main',
17
+ noPush: false,
18
+ commitMessage: null,
19
+ json: args.includes('--json'),
20
+ verbose: args.includes('--verbose') || args.includes('-v'),
21
+ dryRun: args.includes('--dry-run')
22
+ };
23
+
24
+ // Parse arguments
25
+ for (let i = 0; i < args.length; i++) {
26
+ switch (args[i]) {
27
+ case '--file':
28
+ case '-f':
29
+ options.file = args[++i];
30
+ break;
31
+ case '--type':
32
+ case '-t':
33
+ options.type = args[++i];
34
+ break;
35
+ case '--project':
36
+ case '-p':
37
+ options.projectPath = args[++i];
38
+ break;
39
+ case '--branch':
40
+ case '-b':
41
+ options.branch = args[++i];
42
+ break;
43
+ case '--no-push':
44
+ options.noPush = true;
45
+ break;
46
+ case '--message':
47
+ case '-m':
48
+ options.commitMessage = args[++i];
49
+ break;
50
+ case '--help':
51
+ case '-h':
52
+ printHelp();
53
+ process.exit(0);
54
+ }
55
+ }
56
+
57
+ // If no file specified, check positional argument
58
+ if (!options.file && args.length > 0 && !args[0].startsWith('-')) {
59
+ options.file = args[0];
60
+ }
61
+
62
+ function printHelp() {
63
+ console.log(`
64
+ Docusaurus Publishing Script
65
+
66
+ Usage: docusaurus-publish [file] [options]
67
+
68
+ Arguments:
69
+ file Markdown file to publish (required)
70
+
71
+ Options:
72
+ --type, -t <type> Content type: docs|blog|pages (default: docs)
73
+ --project, -p <path> Docusaurus project path
74
+ --branch, -b <branch> Git branch to push to (default: main)
75
+ --no-push Commit but don't push to remote
76
+ --message, -m <msg> Custom commit message
77
+ --dry-run Validate without committing
78
+ --verbose, -v Show detailed progress
79
+ --json Output in JSON format
80
+ --help, -h Show this help
81
+
82
+ Examples:
83
+ # Publish to docs
84
+ docusaurus-publish article.md
85
+
86
+ # Publish to blog
87
+ docusaurus-publish post.md --type blog
88
+
89
+ # Custom project path and branch
90
+ docusaurus-publish article.md --project ./my-docs --branch develop
91
+
92
+ # Commit only (no push)
93
+ docusaurus-publish article.md --no-push
94
+ `);
95
+ }
96
+
97
+ async function publishContent() {
98
+ try {
99
+ // Validate required options
100
+ if (!options.file) {
101
+ console.error('Error: Markdown file is required');
102
+ console.error('Run with --help for usage information');
103
+ process.exit(1);
104
+ }
105
+
106
+ if (options.verbose) {
107
+ console.error('Initializing Docusaurus publishing...');
108
+ }
109
+
110
+ const site = new StaticSiteUtils({
111
+ platform: 'docusaurus',
112
+ projectPath: options.projectPath
113
+ });
114
+
115
+ if (options.verbose) {
116
+ console.error('✓ Docusaurus project detected');
117
+ console.error(`Publishing to: ${options.type}`);
118
+ }
119
+
120
+ // Validate project
121
+ site.validateProject();
122
+
123
+ if (options.verbose) {
124
+ console.error('✓ Project structure validated');
125
+ }
126
+
127
+ // Dry run - validate only
128
+ if (options.dryRun) {
129
+ if (options.verbose) {
130
+ console.error('✓ Dry run - validation successful');
131
+ }
132
+
133
+ const output = {
134
+ success: true,
135
+ dryRun: true,
136
+ file: options.file,
137
+ platform: 'docusaurus',
138
+ type: options.type
139
+ };
140
+
141
+ if (options.json) {
142
+ console.log(JSON.stringify(output, null, 2));
143
+ } else {
144
+ console.log('Dry run successful - ready to publish');
145
+ }
146
+
147
+ process.exit(0);
148
+ }
149
+
150
+ // Publish content
151
+ const result = await site.publishContent(options.file, {
152
+ type: options.type,
153
+ branch: options.branch,
154
+ noPush: options.noPush,
155
+ commitMessage: options.commitMessage
156
+ });
157
+
158
+ if (options.verbose) {
159
+ console.error(`✓ Content published successfully`);
160
+ }
161
+
162
+ // Prepare output
163
+ const output = {
164
+ success: true,
165
+ file: result.file,
166
+ platform: result.platform,
167
+ git: result.git,
168
+ timestamp: new Date().toISOString()
169
+ };
170
+
171
+ if (options.json) {
172
+ console.log(JSON.stringify(output, null, 2));
173
+ } else {
174
+ console.log('\\n' + '='.repeat(60));
175
+ console.log('Docusaurus Publishing Result');
176
+ console.log('='.repeat(60));
177
+ console.log(`Status: ✓ Success`);
178
+ console.log(`File: ${result.file}`);
179
+ console.log(`Committed: ${result.git.committed ? 'Yes' : 'No'}`);
180
+ console.log(`Pushed: ${result.git.pushed ? 'Yes' : 'No'}`);
181
+ if (result.git.branch) {
182
+ console.log(`Branch: ${result.git.branch}`);
183
+ }
184
+ console.log('='.repeat(60));
185
+ }
186
+
187
+ process.exit(0);
188
+ } catch (error) {
189
+ if (options.json) {
190
+ console.log(JSON.stringify({
191
+ success: false,
192
+ error: error.message,
193
+ timestamp: new Date().toISOString()
194
+ }, null, 2));
195
+ } else {
196
+ console.error(`\\nError: ${error.message}`);
197
+ if (options.verbose) {
198
+ console.error(`Stack: ${error.stack}`);
199
+ }
200
+ }
201
+ process.exit(1);
202
+ }
203
+ }
204
+
205
+ if (import.meta.url === `file://${process.argv[1]}`) {
206
+ publishContent();
207
+ }
208
+
209
+ export { publishContent };
@@ -0,0 +1,91 @@
1
+ #!/usr/bin/env node
2
+
3
+ /**
4
+ * MyAIDev Method - Project Initialization Script
5
+ * Enhanced welcome and quick start guide
6
+ */
7
+
8
+ import chalk from 'chalk';
9
+
10
+ function printWelcome() {
11
+ console.log('');
12
+ console.log(chalk.cyan.bold('🚀 Welcome to MyAIDev Method!'));
13
+ console.log('');
14
+ console.log(chalk.gray('A comprehensive AI-powered content creation and publishing toolkit'));
15
+ console.log(chalk.gray('for Claude Code, optimized for modern development workflows'));
16
+ console.log('');
17
+
18
+ console.log(chalk.yellow.bold('📝 CONTENT CREATION'));
19
+ console.log(chalk.white(' • AI-powered content writing agent'));
20
+ console.log(chalk.white(' • SEO-optimized article generation'));
21
+ console.log(chalk.white(' • Multiple tone and style options'));
22
+ console.log(chalk.cyan(' Command: ') + chalk.green('/myai-content-writer'));
23
+ console.log('');
24
+
25
+ console.log(chalk.yellow.bold('📤 PUBLISHING PLATFORMS'));
26
+ console.log(chalk.white(' • ') + chalk.bold('WordPress') + chalk.gray(' - REST API publishing with Gutenberg blocks'));
27
+ console.log(chalk.white(' • ') + chalk.bold('PayloadCMS') + chalk.gray(' - Headless CMS publishing with Lexical editor'));
28
+ console.log(chalk.white(' • ') + chalk.bold('Docusaurus') + chalk.gray(' - Documentation site publishing'));
29
+ console.log(chalk.white(' • ') + chalk.bold('Mintlify') + chalk.gray(' - API documentation publishing'));
30
+ console.log(chalk.white(' • ') + chalk.bold('Astro') + chalk.gray(' - Static site publishing'));
31
+ console.log('');
32
+ console.log(chalk.cyan(' Configure: ') + chalk.green('/myai-configure'));
33
+ console.log(chalk.cyan(' Publish: ') + chalk.green('/myai-[platform]-publish "content.md"'));
34
+ console.log('');
35
+
36
+ console.log(chalk.yellow.bold('🚀 DEPLOYMENT'));
37
+ console.log(chalk.white(' • ') + chalk.bold('Coolify') + chalk.gray(' - Self-hosted PaaS deployment'));
38
+ console.log(chalk.white(' • Automated app deployment and management'));
39
+ console.log(chalk.white(' • Health monitoring and status checks'));
40
+ console.log(chalk.cyan(' Command: ') + chalk.green('/myai-coolify-deploy'));
41
+ console.log('');
42
+
43
+ console.log(chalk.yellow.bold('⚙️ WORDPRESS ADMIN'));
44
+ console.log(chalk.white(' • Health checks and security scanning'));
45
+ console.log(chalk.white(' • Performance monitoring'));
46
+ console.log(chalk.white(' • Comprehensive reporting'));
47
+ console.log(chalk.cyan(' Scripts: ') + chalk.green('npm run wordpress:health-check'));
48
+ console.log('');
49
+
50
+ console.log(chalk.yellow.bold('📚 QUICK START'));
51
+ console.log(chalk.white(' 1. Configure your platform:'));
52
+ console.log(chalk.gray(' ') + chalk.green('/myai-configure'));
53
+ console.log('');
54
+ console.log(chalk.white(' 2. Create content:'));
55
+ console.log(chalk.gray(' ') + chalk.green('/myai-content-writer "your topic"'));
56
+ console.log('');
57
+ console.log(chalk.white(' 3. Publish to your platform:'));
58
+ console.log(chalk.gray(' ') + chalk.green('/myai-wordpress-publish "content.md"'));
59
+ console.log(chalk.gray(' ') + chalk.green('/myai-payloadcms-publish "content.md" --status published'));
60
+ console.log(chalk.gray(' ') + chalk.green('/myai-docusaurus-publish "content.md" --type blog'));
61
+ console.log('');
62
+ console.log(chalk.white(' 4. Deploy your application:'));
63
+ console.log(chalk.gray(' ') + chalk.green('/myai-coolify-deploy'));
64
+ console.log('');
65
+
66
+ console.log(chalk.yellow.bold('📖 DOCUMENTATION'));
67
+ console.log(chalk.white(' • Publishing Guide: ') + chalk.cyan('PUBLISHING_GUIDE.md'));
68
+ console.log(chalk.white(' • WordPress Admin: ') + chalk.cyan('WORDPRESS_ADMIN_SCRIPTS.md'));
69
+ console.log(chalk.white(' • PayloadCMS: ') + chalk.cyan('PAYLOADCMS_PUBLISHING.md'));
70
+ console.log(chalk.white(' • Static Sites: ') + chalk.cyan('STATIC_SITE_PUBLISHING.md'));
71
+ console.log(chalk.white(' • Coolify Deployment: ') + chalk.cyan('COOLIFY_DEPLOYMENT.md'));
72
+ console.log(chalk.white(' • User Guide: ') + chalk.cyan('USER_GUIDE.md'));
73
+ console.log('');
74
+
75
+ console.log(chalk.yellow.bold('🔗 LINKS'));
76
+ console.log(chalk.white(' • GitHub: ') + chalk.cyan('https://github.com/myaione/myaidev-method'));
77
+ console.log(chalk.white(' • NPM Package: ') + chalk.cyan('https://www.npmjs.com/package/myaidev-method'));
78
+ console.log(chalk.white(' • Issues: ') + chalk.cyan('https://github.com/myaione/myaidev-method/issues'));
79
+ console.log('');
80
+
81
+ console.log(chalk.gray('─'.repeat(70)));
82
+ console.log(chalk.green('✨ Ready to create and publish amazing content!'));
83
+ console.log(chalk.gray('─'.repeat(70)));
84
+ console.log('');
85
+ }
86
+
87
+ if (import.meta.url === `file://${process.argv[1]}`) {
88
+ printWelcome();
89
+ }
90
+
91
+ export { printWelcome };
@@ -0,0 +1,205 @@
1
+ #!/usr/bin/env node
2
+
3
+ /**
4
+ * Mintlify Publishing Script
5
+ * Publish markdown content to Mintlify documentation
6
+ */
7
+
8
+ import { StaticSiteUtils } from '../lib/static-site-utils.js';
9
+
10
+ const args = process.argv.slice(2);
11
+
12
+ const options = {
13
+ file: null,
14
+ projectPath: null,
15
+ navSection: null,
16
+ branch: 'main',
17
+ noPush: false,
18
+ commitMessage: null,
19
+ json: args.includes('--json'),
20
+ verbose: args.includes('--verbose') || args.includes('-v'),
21
+ dryRun: args.includes('--dry-run')
22
+ };
23
+
24
+ // Parse arguments
25
+ for (let i = 0; i < args.length; i++) {
26
+ switch (args[i]) {
27
+ case '--file':
28
+ case '-f':
29
+ options.file = args[++i];
30
+ break;
31
+ case '--nav-section':
32
+ case '-n':
33
+ options.navSection = args[++i];
34
+ break;
35
+ case '--project':
36
+ case '-p':
37
+ options.projectPath = args[++i];
38
+ break;
39
+ case '--branch':
40
+ case '-b':
41
+ options.branch = args[++i];
42
+ break;
43
+ case '--no-push':
44
+ options.noPush = true;
45
+ break;
46
+ case '--message':
47
+ case '-m':
48
+ options.commitMessage = args[++i];
49
+ break;
50
+ case '--help':
51
+ case '-h':
52
+ printHelp();
53
+ process.exit(0);
54
+ }
55
+ }
56
+
57
+ // If no file specified, check positional argument
58
+ if (!options.file && args.length > 0 && !args[0].startsWith('-')) {
59
+ options.file = args[0];
60
+ }
61
+
62
+ function printHelp() {
63
+ console.log(`
64
+ Mintlify Publishing Script
65
+
66
+ Usage: mintlify-publish [file] [options]
67
+
68
+ Arguments:
69
+ file Markdown/MDX file to publish (required)
70
+
71
+ Options:
72
+ --nav-section, -n <name> Add to navigation section in mint.json
73
+ --project, -p <path> Mintlify project path
74
+ --branch, -b <branch> Git branch to push to (default: main)
75
+ --no-push Commit but don't push to remote
76
+ --message, -m <msg> Custom commit message
77
+ --dry-run Validate without committing
78
+ --verbose, -v Show detailed progress
79
+ --json Output in JSON format
80
+ --help, -h Show this help
81
+
82
+ Examples:
83
+ # Publish documentation
84
+ mintlify-publish guide.mdx
85
+
86
+ # Add to specific navigation section
87
+ mintlify-publish api-reference.mdx --nav-section "API Reference"
88
+
89
+ # Custom project path
90
+ mintlify-publish article.mdx --project ./docs --branch develop
91
+ `);
92
+ }
93
+
94
+ async function publishContent() {
95
+ try {
96
+ // Validate required options
97
+ if (!options.file) {
98
+ console.error('Error: Markdown file is required');
99
+ console.error('Run with --help for usage information');
100
+ process.exit(1);
101
+ }
102
+
103
+ if (options.verbose) {
104
+ console.error('Initializing Mintlify publishing...');
105
+ }
106
+
107
+ const site = new StaticSiteUtils({
108
+ platform: 'mintlify',
109
+ projectPath: options.projectPath
110
+ });
111
+
112
+ if (options.verbose) {
113
+ console.error('✓ Mintlify project detected');
114
+ }
115
+
116
+ // Validate project
117
+ site.validateProject();
118
+
119
+ if (options.verbose) {
120
+ console.error('✓ Project structure validated');
121
+ }
122
+
123
+ // Dry run - validate only
124
+ if (options.dryRun) {
125
+ if (options.verbose) {
126
+ console.error('✓ Dry run - validation successful');
127
+ }
128
+
129
+ const output = {
130
+ success: true,
131
+ dryRun: true,
132
+ file: options.file,
133
+ platform: 'mintlify',
134
+ navSection: options.navSection
135
+ };
136
+
137
+ if (options.json) {
138
+ console.log(JSON.stringify(output, null, 2));
139
+ } else {
140
+ console.log('Dry run successful - ready to publish');
141
+ }
142
+
143
+ process.exit(0);
144
+ }
145
+
146
+ // Publish content
147
+ const result = await site.publishContent(options.file, {
148
+ navSection: options.navSection,
149
+ branch: options.branch,
150
+ noPush: options.noPush,
151
+ commitMessage: options.commitMessage
152
+ });
153
+
154
+ if (options.verbose) {
155
+ console.error(`✓ Content published successfully`);
156
+ }
157
+
158
+ // Prepare output
159
+ const output = {
160
+ success: true,
161
+ file: result.file,
162
+ platform: result.platform,
163
+ git: result.git,
164
+ timestamp: new Date().toISOString()
165
+ };
166
+
167
+ if (options.json) {
168
+ console.log(JSON.stringify(output, null, 2));
169
+ } else {
170
+ console.log('\\n' + '='.repeat(60));
171
+ console.log('Mintlify Publishing Result');
172
+ console.log('='.repeat(60));
173
+ console.log(`Status: ✓ Success`);
174
+ console.log(`File: ${result.file}`);
175
+ console.log(`Committed: ${result.git.committed ? 'Yes' : 'No'}`);
176
+ console.log(`Pushed: ${result.git.pushed ? 'Yes' : 'No'}`);
177
+ if (result.git.branch) {
178
+ console.log(`Branch: ${result.git.branch}`);
179
+ }
180
+ console.log('='.repeat(60));
181
+ }
182
+
183
+ process.exit(0);
184
+ } catch (error) {
185
+ if (options.json) {
186
+ console.log(JSON.stringify({
187
+ success: false,
188
+ error: error.message,
189
+ timestamp: new Date().toISOString()
190
+ }, null, 2));
191
+ } else {
192
+ console.error(`\\nError: ${error.message}`);
193
+ if (options.verbose) {
194
+ console.error(`Stack: ${error.stack}`);
195
+ }
196
+ }
197
+ process.exit(1);
198
+ }
199
+ }
200
+
201
+ if (import.meta.url === `file://${process.argv[1]}`) {
202
+ publishContent();
203
+ }
204
+
205
+ export { publishContent };
@@ -0,0 +1,202 @@
1
+ #!/usr/bin/env node
2
+
3
+ /**
4
+ * PayloadCMS Publishing Script
5
+ * Publish markdown content to PayloadCMS
6
+ */
7
+
8
+ import { PayloadCMSUtils } from '../lib/payloadcms-utils.js';
9
+
10
+ const args = process.argv.slice(2);
11
+
12
+ const options = {
13
+ file: null,
14
+ collection: 'posts',
15
+ status: 'draft',
16
+ id: null,
17
+ json: args.includes('--json'),
18
+ verbose: args.includes('--verbose') || args.includes('-v'),
19
+ dryRun: args.includes('--dry-run')
20
+ };
21
+
22
+ // Parse arguments
23
+ for (let i = 0; i < args.length; i++) {
24
+ switch (args[i]) {
25
+ case '--file':
26
+ case '-f':
27
+ options.file = args[++i];
28
+ break;
29
+ case '--collection':
30
+ case '-c':
31
+ options.collection = args[++i];
32
+ break;
33
+ case '--status':
34
+ case '-s':
35
+ options.status = args[++i];
36
+ break;
37
+ case '--id':
38
+ options.id = args[++i];
39
+ break;
40
+ case '--help':
41
+ case '-h':
42
+ printHelp();
43
+ process.exit(0);
44
+ }
45
+ }
46
+
47
+ // If no file specified, check positional argument
48
+ if (!options.file && args.length > 0 && !args[0].startsWith('-')) {
49
+ options.file = args[0];
50
+ }
51
+
52
+ function printHelp() {
53
+ console.log(`
54
+ PayloadCMS Publishing Script
55
+
56
+ Usage: payloadcms-publish [file] [options]
57
+
58
+ Arguments:
59
+ file Markdown file to publish (required)
60
+
61
+ Options:
62
+ --collection, -c <name> Target collection (default: posts)
63
+ --status, -s <status> Publish status: draft|published (default: draft)
64
+ --id <doc-id> Update existing document by ID
65
+ --dry-run Validate without publishing
66
+ --verbose, -v Show detailed progress
67
+ --json Output in JSON format
68
+ --help, -h Show this help
69
+
70
+ Examples:
71
+ # Publish as draft
72
+ payloadcms-publish article.md --collection posts --status draft
73
+
74
+ # Publish to production
75
+ payloadcms-publish article.md --status published
76
+
77
+ # Update existing document
78
+ payloadcms-publish article.md --id 60d5ec49f8d2e
79
+
80
+ # Dry run
81
+ payloadcms-publish article.md --dry-run --verbose
82
+ `);
83
+ }
84
+
85
+ async function publishContent() {
86
+ try {
87
+ // Validate required options
88
+ if (!options.file) {
89
+ console.error('Error: Markdown file is required');
90
+ console.error('Run with --help for usage information');
91
+ process.exit(1);
92
+ }
93
+
94
+ if (options.verbose) {
95
+ console.error('Initializing PayloadCMS connection...');
96
+ }
97
+
98
+ const payload = new PayloadCMSUtils();
99
+
100
+ // Health check
101
+ const healthy = await payload.healthCheck();
102
+ if (!healthy) {
103
+ throw new Error('PayloadCMS is not reachable');
104
+ }
105
+
106
+ if (options.verbose) {
107
+ console.error('✓ PayloadCMS is reachable');
108
+ console.error(`Authenticating...`);
109
+ }
110
+
111
+ // Authenticate
112
+ const authResult = await payload.authenticate();
113
+
114
+ if (options.verbose) {
115
+ console.error(`✓ Authenticated via ${authResult.method}`);
116
+ console.error(`Publishing to collection: ${options.collection}`);
117
+ console.error(`Status: ${options.status}`);
118
+ }
119
+
120
+ // Dry run - validate only
121
+ if (options.dryRun) {
122
+ if (options.verbose) {
123
+ console.error('✓ Dry run - validation successful');
124
+ }
125
+
126
+ const output = {
127
+ success: true,
128
+ dryRun: true,
129
+ file: options.file,
130
+ collection: options.collection,
131
+ status: options.status
132
+ };
133
+
134
+ if (options.json) {
135
+ console.log(JSON.stringify(output, null, 2));
136
+ } else {
137
+ console.log('Dry run successful - ready to publish');
138
+ }
139
+
140
+ process.exit(0);
141
+ }
142
+
143
+ // Publish content
144
+ const result = await payload.publishContent(options.file, options.collection, {
145
+ status: options.status,
146
+ id: options.id
147
+ });
148
+
149
+ if (options.verbose) {
150
+ console.error(`✓ Content ${options.id ? 'updated' : 'created'} successfully`);
151
+ }
152
+
153
+ // Prepare output
154
+ const output = {
155
+ success: true,
156
+ action: options.id ? 'updated' : 'created',
157
+ document: {
158
+ id: result.doc?.id || result.id,
159
+ collection: options.collection,
160
+ status: result.doc?.status || options.status,
161
+ title: result.doc?.title
162
+ },
163
+ timestamp: new Date().toISOString()
164
+ };
165
+
166
+ if (options.json) {
167
+ console.log(JSON.stringify(output, null, 2));
168
+ } else {
169
+ console.log('\\n' + '='.repeat(60));
170
+ console.log('PayloadCMS Publishing Result');
171
+ console.log('='.repeat(60));
172
+ console.log(`Status: ✓ Success`);
173
+ console.log(`Action: ${output.action}`);
174
+ console.log(`Document ID: ${output.document.id}`);
175
+ console.log(`Collection: ${output.document.collection}`);
176
+ console.log(`Status: ${output.document.status}`);
177
+ console.log('='.repeat(60));
178
+ }
179
+
180
+ process.exit(0);
181
+ } catch (error) {
182
+ if (options.json) {
183
+ console.log(JSON.stringify({
184
+ success: false,
185
+ error: error.message,
186
+ timestamp: new Date().toISOString()
187
+ }, null, 2));
188
+ } else {
189
+ console.error(`\\nError: ${error.message}`);
190
+ if (options.verbose) {
191
+ console.error(`Stack: ${error.stack}`);
192
+ }
193
+ }
194
+ process.exit(1);
195
+ }
196
+ }
197
+
198
+ if (import.meta.url === `file://${process.argv[1]}`) {
199
+ publishContent();
200
+ }
201
+
202
+ export { publishContent };