<commit_before>use std::fs;
use std::env;
use std::ffi::OsStr;

use clap::{App, Arg, ArgMatches};
use console::style;

use prelude::*;
use api::{Api, NewRelease};
use config::Config;
use utils::{ArgExt, SourceMapProcessor, get_codepush_package, get_codepush_release};

pub fn make_app<'a, 'b: 'a>(app: App<'a, 'b>) -> App<'a, 'b> {
    app.about("Upload react-native projects for CodePush.")
        .org_project_args()
        .arg(Arg::with_name("deployment")
            .long("deployment")
            .value_name("DEPLOYMENT")
            .help("The name of the deployment. [Production, Staging]"))
        .arg(Arg::with_name("bundle_id")
            .value_name("BUNDLE_ID")
            .long("bundle-id")
            .help("Explicitly provide the bundle ID instead of \
                   parsing the source projects.  This allows you to push \
                   codepush releases for iOS on platforms without Xcode."))
        .arg(Arg::with_name("print_release_name")
            .long("print-release-name")
            .help("Print the release name instead."))<commit_msg>docs: Improve bundle ID docs for codepush.  Refs #143 (#148)<commit_after>use std::fs;
use std::env;
use std::ffi::OsStr;

use clap::{App, Arg, ArgMatches};
use console::style;

use prelude::*;
use api::{Api, NewRelease};
use config::Config;
use utils::{ArgExt, SourceMapProcessor, get_codepush_package, get_codepush_release};

pub fn make_app<'a, 'b: 'a>(app: App<'a, 'b>) -> App<'a, 'b> {
    app.about("Upload react-native projects for CodePush.")
        .org_project_args()
        .arg(Arg::with_name("deployment")
            .long("deployment")
            .value_name("DEPLOYMENT")
            .help("The name of the deployment. [Production, Staging]"))
        .arg(Arg::with_name("bundle_id")
            .value_name("BUNDLE_ID")
            .long("bundle-id")
            .help("Explicitly provide the bundle ID instead of \
                   parsing the source projects.  This allows you to push \
                   codepush releases for iOS on platforms without Xcode or \
                   codepush releases for Android when you use different \
                   bundle IDs for release and debug etc."))
        .arg(Arg::with_name("print_release_name")
            .long("print-release-name")
            .help("Print the release name instead."))
{'fraction_non_alphanumeric': 0.13702127659574467, 'fraction_numerical': 0.002553191489361702, 'mean_word_length': 2.6734375, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, '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': '655994', 'n_tokens_mistral': 715, 'n_tokens_neox': 719, 'n_words': 190}