attempt to add the cli #21
Annotations
11 errors
|
lint:
src/cli/index.ts#L1
'@onkernel/sdk' import is restricted from being used by a pattern. Use a relative import, not a package import
|
|
lint:
src/cli/index.ts#L26
Replace `⏎··.name('kernel')⏎··.description('CLI·for·Kernel·deployment·and·invocation')⏎··` with `.name('kernel').description('CLI·for·Kernel·deployment·and·invocation')`
|
|
lint:
src/cli/index.ts#L35
Replace `⏎····'--local',⏎····'Does·not·publish·the·app·to·Kernel,·but·installs·it·on·disk·for·invoking·locally',⏎··` with `'--local',·'Does·not·publish·the·app·to·Kernel,·but·installs·it·on·disk·for·invoking·locally'`
|
|
lint:
src/cli/index.ts#L70
Replace `app.name}"·successfully·deployed·locally·and·ready·to·\`kernel·invoke·--local·${quoteIfNeeded(app.name` with `⏎············app.name⏎··········}"·successfully·deployed·locally·and·ready·to·\`kernel·invoke·--local·${quoteIfNeeded(⏎············app.name,⏎··········`
|
|
lint:
src/cli/index.ts#L112
Replace `⏎······os.homedir(),⏎······'.local',⏎······'state',⏎······'kernel',⏎······'deploy',⏎······'local',⏎······appName,⏎····` with `os.homedir(),·'.local',·'state',·'kernel',·'deploy',·'local',·appName`
|
|
lint:
src/cli/index.ts#L128
Replace `⏎········`Error:·App·"${appName}"·local·deployment·has·been·corrupted,·please·re-deploy.`,⏎······` with ``Error:·App·"${appName}"·local·deployment·has·been·corrupted,·please·re-deploy.``
|
|
lint:
src/cli/index.ts#L179
Replace `⏎··········text.includes('Application·startup·complete.')·||⏎··········text.includes('Kernel·application·running')⏎········` with `text.includes('Application·startup·complete.')·||·text.includes('Kernel·application·running')`
|
|
lint:
src/cli/index.ts#L204
Replace `⏎··kernelLocalDir,⏎··appName,⏎··actionName,⏎··parsedPayload,⏎` with `·kernelLocalDir,·appName,·actionName,·parsedPayload·`
|
|
lint:
src/cli/index.ts#L257
Replace `⏎··kernelLocalDir,⏎··appName,⏎··actionName,⏎··parsedPayload,⏎` with `·kernelLocalDir,·appName,·actionName,·parsedPayload·`
|
|
lint:
src/cli/index.ts#L282
Replace `⏎······'pnpm',⏎······'exec',⏎······'tsx',⏎······'index.ts',⏎······'--port',⏎······port.toString(),⏎······path.join(kernelLocalDir,·'app'),⏎····` with `'pnpm',·'exec',·'tsx',·'index.ts',·'--port',·port.toString(),·path.join(kernelLocalDir,·'app')`
|
|
build
Process completed with exit code 1.
|