🌳
pt0/deployF/ptDeployActions/ptDeployActionsAI.mts
9export const howimports: PtAction = async () => {
11 printEpScopeHint({defaultEpScope: epScopes.deployjs})
13howimports.cliSchema = scopeCli
14howimports.cliAcceptsPositional = true
15howimports.cliDescript = {
16 cliDefaultOpt: epScopes.deployjs,
17 cliOptA: getEpScopeOptA,
18 cliSupportsEpScopes: true,
19 cliExplain: 'explains how entrypoints import <path>'
24export const ptcheck: PtAction = async () => {
25 const {pathsA} = await getEpsPaths({inclDeploy: true, inclDocker: true})
26 const checkablePathsA = pathsA.filter(isPtCodeFileExt)
27 const result = await refactorPtcheck(checkablePathsA)
28 console.log(formatPtcheckResult(result))
29 if (!result.ok) process.exitCode = 1
31ptcheck.cliDescript = {
32 cliExplain: 'run syntax/type/boundary checks on files in this ep\'s import tree',