@surph_ai/cli 0.0.24 → 0.0.25
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.
- package/package.json +1 -1
- package/scaffold/index.js +6 -5
package/package.json
CHANGED
package/scaffold/index.js
CHANGED
|
@@ -93,9 +93,9 @@ module.exports = async (name, type = 'app') => {
|
|
|
93
93
|
shell.cp('-R', path.join(__dirname, `tool/examples/weather/index.ts`), 'examples/weather/index.ts')
|
|
94
94
|
shell.cp('-R', path.join(__dirname, `tool/examples/weather/manifest.json`), 'examples/weather/manifest.json')
|
|
95
95
|
|
|
96
|
-
shell.mkdir('-p', 'examples/dealfinder')
|
|
97
|
-
shell.cp('-R', path.join(__dirname, `tool/examples/dealfinder/index.ts`), 'examples/dealfinder/index.ts')
|
|
98
|
-
shell.cp('-R', path.join(__dirname, `tool/examples/dealfinder/manifest.json`), 'examples/dealfinder/manifest.json')
|
|
96
|
+
// shell.mkdir('-p', 'examples/dealfinder')
|
|
97
|
+
// shell.cp('-R', path.join(__dirname, `tool/examples/dealfinder/index.ts`), 'examples/dealfinder/index.ts')
|
|
98
|
+
// shell.cp('-R', path.join(__dirname, `tool/examples/dealfinder/manifest.json`), 'examples/dealfinder/manifest.json')
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
utils.write('manifest-example.json', JSON.stringify({
|
|
@@ -164,12 +164,13 @@ module.exports = async (name, type = 'app') => {
|
|
|
164
164
|
shell.exec('npm run dev')
|
|
165
165
|
openBrowser('http://localhost:6767')
|
|
166
166
|
|
|
167
|
-
|
|
167
|
+
console.log('\n- - - - - Next Steps - - - - - ')
|
|
168
|
+
console.log('Open codebase in a code editor and navigate to /tools/index.ts - this is where your tool code goes.')
|
|
169
|
+
console.log('\nFor full documentation, visit https://docs.surph.ai\n')
|
|
168
170
|
// console.log('1. $ cd ' + name)
|
|
169
171
|
// console.log('2. $ npm install or $ yarn install')
|
|
170
172
|
// console.log('3. $ npm run dev')
|
|
171
173
|
// console.log('4. Open http://localhost:6767 in a browser')
|
|
172
|
-
console.log('\nFor full documentation, visit https://docs.surph.ai\n')
|
|
173
174
|
|
|
174
175
|
}
|
|
175
176
|
}
|