Skip to main content

Remove Command

Remove an entrypoint index.ts file on project directory

remove command option

NameShortDefaultTypeRequiredCommand
--config-cstringremove
--project-pstringrequiredremove
--startAt-ause --project valuestringremove
--exportFilename-findex.tsstringremove
--includeBackup-bfalsebooleanremove
--spinnerStreamstdoutenum(stdout, stderr)remove
--progressStreamstdoutenum(stdout, stderr)remove
--reasonerStreamstderrenum(stdout, stderr)remove

remove command option description

NameDescription
--configconfiguration file(.ctirc) path
--projecttsconfig.json path: you must pass path with filename, like this "./tsconfig.json"
--startAtstart working from startAt directory. If you do not pass startAt use project directory.
--includeBackupremove with backup file
--exportFilenameExport filename, if you not pass this field that use "index.ts" or "index.d.ts"
--spinnerStreamStream of cli spinner, you can pass stdout or stderr
--progressStreamStream of cli progress, you can pass stdout or stderr
--reasonerStreamStream of cli reasoner. Reasoner show name conflict error and already exist index.ts file error. You can pass stdout or stderr