Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
enegron-sl opened this issue Jun 25, 2018 · 0 comments
Open

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

enegron-sl opened this issue Jun 25, 2018 · 0 comments

Comments

@enegron-sl
Copy link

enegron-sl commented Jun 25, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant