<commit_before>package bisq.cli;

import static java.lang.System.out;

/**
 Smoke tests for getoffers method.  Useful for examining the format of the console output.

 Prerequisites:

 - Run `./bisq-daemon --apiPassword=<PASSWORD> --appDataDir=$TESTDIR`

 This can be run on mainnet.
 */
public class GetOffersSmokeTest {

    public static void main(String[] args) {

        out.println(">>> getoffers buy usd");
        CliMain.main(new String[]{"--password=<PASSWORD>", "getoffers", "buy", "usd"});
        out.println(">>> getoffers sell usd");
        CliMain.main(new String[]{"--password=<PASSWORD>", "getoffers", "sell", "usd"});

        out.println(">>> getoffers buy eur");
        CliMain.main(new String[]{"--password=<PASSWORD>", "getoffers", "buy", "eur"});
        out.println(">>> getoffers sell eur");
        CliMain.main(new String[]{"--password=<PASSWORD>", "getoffers", "sell", "eur"});

        out.println(">>> getoffers buy gbp");
        CliMain.main(new String[]{"--password=<PASSWORD>", "getoffers", "buy", "gbp"});
        out.println(">>> getoffers sell gbp");
        CliMain.main(new String[]{"--password=<PASSWORD>", "getoffers", "sell", "gbp"});

        out.println(">>> getoffers buy brl");
        CliMain.main(new String[]{"--password=<PASSWORD>", "getoffers", "buy", "brl"});
        out.println(">>> getoffers sell brl");
        CliMain.main(new String[]{"--password=<PASSWORD>", "getoffers", "sell", "brl"});
    }

}<commit_msg>Update cli getoffers smoke test to posix style opts<commit_after>package bisq.cli;

import static java.lang.System.out;

/**
 Smoke tests for getoffers method.  Useful for examining the format of the console output.

 Prerequisites:

 - Run `./bisq-daemon --apiPassword=<PASSWORD> --appDataDir=$TESTDIR`

 This can be run on mainnet.
 */
public class GetOffersSmokeTest {

    public static void main(String[] args) {

        out.println(">>> getoffers buy usd");
        CliMain.main(new String[]{"--password=<PASSWORD>", "getoffers", "--direction=buy", "--currency-code=usd"});
        out.println(">>> getoffers sell usd");
        CliMain.main(new String[]{"--password=<PASSWORD>", "getoffers", "--direction=sell", "--currency-code=usd"});

        out.println(">>> getoffers buy eur");
        CliMain.main(new String[]{"--password=<PASSWORD>", "getoffers", "--direction=buy", "--currency-code=eur"});
        out.println(">>> getoffers sell eur");
        CliMain.main(new String[]{"--password=<PASSWORD>", "getoffers", "--direction=sell", "--currency-code=eur"});

        out.println(">>> getoffers buy gbp");
        CliMain.main(new String[]{"--password=<PASSWORD>", "getoffers", "--direction=buy", "--currency-code=gbp"});
        out.println(">>> getoffers sell gbp");
        CliMain.main(new String[]{"--password=<PASSWORD>", "getoffers", "--direction=sell", "--currency-code=gbp"});

        out.println(">>> getoffers buy brl");
        CliMain.main(new String[]{"--password=<PASSWORD>", "getoffers", "--direction=buy", "--currency-code=brl"});
        out.println(">>> getoffers sell brl");
        CliMain.main(new String[]{"--password=<PASSWORD>", "getoffers", "--direction=sell", "--currency-code=brl"});
    }

}
{'fraction_non_alphanumeric': 0.20773549594510293, 'fraction_numerical': 0.0, 'mean_word_length': 3.681751824817518, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 69, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '4497843', 'n_tokens_mistral': 1071, 'n_tokens_neox': 1001, 'n_words': 228}