Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

Forward argv to app #76

@liangchunn

Description

@liangchunn

When starting a CLI app with typescript-node-scripts start --cli=true, the --cli=true argument isn't being passed to the app.

We should probably have some kind of separator for TNS's own CLI args and also app specific args. Something like

typescript-node-scripts start --no-collapse -- --cli=true

should be used instead, where anything before -- is used as argv for TNS and anything after is forwarded to the application itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions