I have created a small CLI tool to generate .POT files with Golang

[ad_1]

Hello everyone,

I have created a CLI tool to automatically generate .POT files. It is built in Go, making it quite fast and easy to export to all systems. While it has limited use cases due to existing plugins that simplify this task, feel free to use it if you're interested!

Usage

The program can be run with the following command-line arguments:

  • `-i`: Path to the directory to scan. If not specified, the current directory will be used.
  • `-o` : Name of the output POT file. The default is `to-translate.pot`.
  • `-p`: File extensions to search for, separated by slashes. The default value is `php/js`.
  • `-h`: Displays the script help.

You can find it here: GitHub – simple-pot-generator-cli

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer