Skip to content

--dry-run doesn't work as advertised #61

@enegron-sl

Description

@enegron-sl

built-in help mentions a general --dry-run option:

Options: -h --help Show this help. -c --config <file> Config file in YAML format. By default CLI will look for file named "smartling.yml" in current directory and in all intermediate parents, emulating git behavior. -p --project <project> Project ID to operate on. This option overrides config value "project_id". -a --account <account> Account ID to operate on. This option overrides config value "account_id". --user <user> User ID which will be used for authentication. This option overrides config value "user_id". --secret <secret> Token Secret which will be used for authentication. This option overrides config value "secret". -s --short Use short list output, usually outputs only first column, e.g. file URI in case of files list. -l --locale <locale> Sets locale to filter by or operate upon. Depends on command. -d --directory <dir> Sets directory to operate on, usually, to store or to read files. Depends on command. [default: .] -z --authorize Authorize all locales while pushing file. Incompatible with -l option. -b --branch <branch> Prepend specified value to the file URI. -t --type <type> Specify file type. Depends on command. -r --directive <dir> Directives to add to push request in form of <name>=<value>. --dry-run Do not actually perform action, just log it. --threads <number> If command can be executed concurrently, it will be executed for at most <number> of threads. [default: 4] -k --insecure Skip HTTPS certificate validation. --proxy <url> Use specified URL as proxy server. --smartling-url <url> Specify base Smartling URL, merely for testing purposes. -v --verbose Sets verbosity level for logging messages. Specify flag several time to increase verbosity. Useful when debugging and investigating unexpected behavior.

But when I try to use it with files push program echos back usage to me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions