Method: CF::App::Create#get_inputs
- Defined in:
- lib/cf/cli/app/push/create.rb
#get_inputs ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/cf/cli/app/push/create.rb', line 6 def get_inputs inputs = {} inputs[:name] = input[:name] inputs[:total_instances] = input[:instances] inputs[:space] = client.current_space if client.current_space inputs[:buildpack] = input[:buildpack] inputs[:command] = input[:command] if input.has?(:command) || !has_procfile? inputs[:memory] = megabytes(input[:memory, human_mb(256)]) inputs[:stack] = input[:stack] inputs end |