Problem
npx gtx-cli translate uses a default --src glob that doesn't include root-level files. Files in the project root (e.g. server.js) are not scanned.
The gt-node quickstart example places server.js in the root, so running npx gtx-cli translate without explicit --src flags finds zero strings.
Expected behavior
Either:
- The default glob should include root-level files (
*.{js,jsx,ts,tsx}), or
- The quickstart should document the need for
--src '*.js'
Steps to reproduce
- Follow the gt-node quickstart — create
server.js in project root
- Run
npx gtx-cli translate
- Observe that no strings are found
Problem
npx gtx-cli translateuses a default--srcglob that doesn't include root-level files. Files in the project root (e.g.server.js) are not scanned.The gt-node quickstart example places
server.jsin the root, so runningnpx gtx-cli translatewithout explicit--srcflags finds zero strings.Expected behavior
Either:
*.{js,jsx,ts,tsx}), or--src '*.js'Steps to reproduce
server.jsin project rootnpx gtx-cli translate