<commit_before>/*******************************************************************************
 * Copyright (c) 2013 GigaSpaces Technologies Ltd. All rights reserved
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 ******************************************************************************/

package org.cloudifysource.cosmo.manager.cli;

import com.beust.jcommander.Parameter;
import com.beust.jcommander.Parameters;
import com.beust.jcommander.validators.PositiveInteger;
import org.cloudifysource.cosmo.manager.cli.validator.FileExistValidator;

/**
 * Command line arguments passed to the ManagerBoot.
 *
 * @see {@link org.cloudifysource.cosmo.manager.ManagerBoot}
 *
 * @author <NAME>
 * @since 0.1
 */
@Parameters(separators = "=")
public class Args {

    @Parameter(names = "-dsl",
               description = "Path to a TOSCA yaml describing the deployment.",
               validateWith = FileExistValidator.class, required = true)
    private String dslPath;

    @Parameter(names = "-timeout",
               description = "timeout for the deployment in seconds.",
               validateWith = PositiveInteger.class)
    private int timeout = 5 * 60; // defaults to 5 minutes.

    @Parameter(names = "--help", help = true, hidden = true)
    private boolean help;

    public boolean isHelp() {
        return help;
    }

    public String getDslPath() {
        return dslPath;
    }<commit_msg>CLOUDIFY-1927 rename argument prefix to '--'<commit_after>/*******************************************************************************
 * Copyright (c) 2013 GigaSpaces Technologies Ltd. All rights reserved
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 ******************************************************************************/

package org.cloudifysource.cosmo.manager.cli;

import com.beust.jcommander.Parameter;
import com.beust.jcommander.Parameters;
import com.beust.jcommander.validators.PositiveInteger;
import org.cloudifysource.cosmo.manager.cli.validator.FileExistValidator;

/**
 * Command line arguments passed to the ManagerBoot.
 *
 * @see {@link org.cloudifysource.cosmo.manager.ManagerBoot}
 *
 * @author <NAME>
 * @since 0.1
 */
@Parameters(separators = "=")
public class Args {

    @Parameter(names = "--dsl",
               description = "Path to a TOSCA yaml describing the deployment.",
               validateWith = FileExistValidator.class, required = true)
    private String dslPath;

    @Parameter(names = "--timeout",
               description = "timeout for the deployment in seconds.",
               validateWith = PositiveInteger.class)
    private int timeout = 5 * 60; // defaults to 5 minutes.

    @Parameter(names = "--help", help = true, hidden = true)
    private boolean help;

    public boolean isHelp() {
        return help;
    }

    public String getDslPath() {
        return dslPath;
    }
{'fraction_non_alphanumeric': 0.16722322116619573, 'fraction_numerical': 0.008219881839198561, 'mean_word_length': 3.5865724381625443, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6204614', 'n_tokens_mistral': 1022, 'n_tokens_neox': 968, 'n_words': 351}