github.com/liquid-dev/text@v0.3.3-liquid/cmd/gotext/doc.go (about)

     1  // Code generated by go generate. DO NOT EDIT.
     2  
     3  // gotext is a tool for managing text in Go source code.
     4  //
     5  // Usage:
     6  //
     7  // 	gotext command [arguments]
     8  //
     9  // The commands are:
    10  //
    11  // 	update      merge translations and generate catalog
    12  // 	extract     extracts strings to be translated from code
    13  // 	rewrite     rewrites fmt functions to use a message Printer
    14  // 	generate    generates code to insert translated messages
    15  //
    16  // Use "gotext help [command]" for more information about a command.
    17  //
    18  // Additional help topics:
    19  //
    20  //
    21  // Use "gotext help [topic]" for more information about that topic.
    22  //
    23  //
    24  // Merge translations and generate catalog
    25  //
    26  // Usage:
    27  //
    28  // 	gotext update <package>* [-out <gofile>]
    29  //
    30  //
    31  //
    32  //
    33  // Extracts strings to be translated from code
    34  //
    35  // Usage:
    36  //
    37  // 	gotext extract <package>*
    38  //
    39  //
    40  //
    41  //
    42  // Rewrites fmt functions to use a message Printer
    43  //
    44  // Usage:
    45  //
    46  // 	gotext rewrite <package>
    47  //
    48  // rewrite is typically done once for a project. It rewrites all usages of
    49  // fmt to use x/text's message package whenever a message.Printer is in scope.
    50  // It rewrites Print and Println calls with constant strings to the equivalent
    51  // using Printf to allow translators to reorder arguments.
    52  //
    53  //
    54  // Generates code to insert translated messages
    55  //
    56  // Usage:
    57  //
    58  // 	gotext generate <package>
    59  //
    60  //
    61  //
    62  //
    63  package main