message: Added --transfer flag to cleos create_account_subcommand
diff: @@ -413,12 +413,13 @@ chain::action create_buyrambytes(const name& creator, const name& newaccount, ui
  config::system_account_name, N(buyrambytes), act_payload);
  }
  -chain::action create_delegate(const name& from, const name& receiver, const asset& net, const asset& cpu) {
  +chain::action create_delegate(const name& from, const name& receiver, const asset& net, const asset& cpu, bool transfer) {
  fc::variant act_payload = fc::mutable_variant_object()
  ("from", from.to_string())
  ("receiver", receiver.to_string())
  ("stake_net_quantity", net.to_string())
  - ("stake_cpu_quantity", cpu.to_string());
  + ("stake_cpu_quantity", cpu.to_string())
  + ("transfer", transfer);
  return create_action(tx_permission.empty() ? vector<chain::permission_level>{{from,config::active_name}} : get_account_permissions(tx_permission),
  config::system_account_name, N(delegatebw), act_payload);
  }
  @@ -754,6 +755,7 @@ struct create_account_subcommand {
  string stake_cpu;
  uint32_t buy_ram_bytes_in_kbytes = 8;
  string buy_ram_eos;
  + bool transfer;
  bool simple;
  create_account_subcommand(CLI::App* actionRoot, bool s) : simple(s) {
  @@ -772,6 +774,8 @@ struct create_account_subcommand {
  (localized("The amount of RAM bytes to purchase for the new account in kilobytes KiB, default is 8 KiB")));
  createAccount->add_option("--buy-ram-EOS", buy_ram_eos,
  (localized("The amount of RAM bytes to purchase for the new account in EOS")));
  + createAccount->add_flag("--transfer", transfer,
  + (localized("Transfer?")));
  }
  add_standard_transaction_options(createAccount);
  @@ -788,7 +792,7 @@ struct create_account_subcommand {
  if (!simple) {
  action buyram = !buy_ram_eos.empty() ? create_buyram(creator, account_name, to_asset(buy_ram_eos))
  : create_buyrambytes(creator, account_name, buy_ram_bytes_in_kbytes * 1024);
  - action delegate = create_delegate( creator, account_name, to_asset(stake_net), to_asset(stake_cpu) );
  + action delegate = create_delegate( creator, account_name, to_asset(stake_net), to_asset(stake_cpu), transfer);
  send_actions( { create, buyram, delegate } );
  } else {
  send_actions( { create } );
  