tokenize
Shows what your code looks like after secrets are replaced with tokens. Useful for previewing before you copy-paste to AI manually.Usage
Example
Input file (config.ts):
Options
| Option | Description |
|---|---|
--output, -o <file> | Write to file instead of stdout |
--quiet, -q | Only output the code, no summary |
Save to file
Pipe to clipboard
When to use this
- Manual AI workflow: Copy tokenized code, paste into ChatGPT/Claude web UI, copy response back
- Debugging: See exactly what tokens are generated
- Sharing: Send code to someone without exposing secrets
shield instead.