.withRequiredArg().ofType(String.class) .describedAs("name_prefix"); accepts("s", "With -g, specify key strength.") .withRequiredArg() .ofType(Integer.class) .ofType(String.class) .describedAs("file.yml"); accepts("wait", "with --register, wait for network consensus up to specified number of milliseconds.") .withOptionalArg().ofType(Integer.class).defaultsTo(5000) .describedAs("milliseconds"); acceptsAll(asList("u-rate"), "Get how many U are given for 1 UTN at this time."); acceptsAll(asList("no-cache"), "Do not use session cache"); accepts("register", "register a specified contract, must be a sealed binary file. Use with either --wallet or --u with --keys to specify payment options. If none are specified default wallet will be used. If no default wallet exist command fails. Amount to pay is specified with --amount") .withOptionalArg() .withValuesSeparatedBy(",") .ofType(String.class). describedAs("contract.unicon"); accepts("register-parcel", "register a specified parcel") .withOptionalArg() .withValuesSeparatedBy(",") .ofType(String.class). describedAs("parcel.uniparcel"); accepts("create-parcel", "prepare parcel for registering given contract. use with either --wallet or --u with --keys to specify payment options. If none are specified default wallet will be used. If no default wallet exist command fails. Amount to pay is specified with --amount") .withOptionalArg() .withValuesSeparatedBy(",") accepts("put-into-wallet", "Adds specified U/UTN contracts and keys to UUTN wallet (creates one if not exists). "+