Skip to content
Langnostic
Esc
↑↓navigate↵open⌘Jpreview
On this page

CLI

Commands available on Langnostic

There are the following commands on Langnostic:

init

# Initialize configuration
npx langnostic init

Initializes a configuration file in your current directory. You should customize it according to your files structure and use the necessary plugins.

translate

Translates the files that match the config file.

# Run translations
npx langnostic translate

--dry-run

Preview changes without translating. Prints out the strings that will be translated.

npx langnostic translate --dry-run

--debug

Debug mode to see the prompts and responses of each call to the AI model. Logs are written into .langnostic directory.

npx langnostic translate --debug

Was this page helpful?