This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Transifex.
Summary
This command initializes the current repository with a default configuration file, and
optionally the user configuration file with either a Username + Password combination or
an API token.
Syntax
public static void TransifexInit(this ICakeContext context, TransifexInitSettings settings)
Examples
Task("Transifex-Init")
.Does(() =>
{
var settings = new TransifexInitSettings
{
Username = "MY-AWESOME-USERNAME",
Password = "MY-SUPER-SECRET-PASSWORD"
};
TransifexInit(settings);
};
Task("Transifex-Init")
.Does(() =>
{
var settings = new TransifexInitSettings
{
Token = "API-TOKEN-HERE"
};
TransifexInit(settings);
};
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The cake context. |
settings |
TransifexInitSettings |
The settings to use when initializing repository. |
Return Value