lib/neptuno/cli/configure.rb in neptuno-1.0.10 vs lib/neptuno/cli/configure.rb in neptuno-1.2.0
- old
+ new
@@ -2,14 +2,14 @@
module Neptuno
module CLI
# Configure Neptuno defaults
class Configure < Neptuno::CLI::Base
- desc 'Configure which services to start by default'
+ desc "Configure which services to start by default"
def call(**)
- configured_services = config.fetch('configured_services')
- configured_services = prompt.multi_select('Active services: ', config.fetch('services')) do |menu|
+ configured_services = config.fetch("configured_services")
+ configured_services = prompt.multi_select("Active services: ", config.fetch("services")) do |menu|
menu.default(*configured_services)
end
config.set(:configured_services, value: configured_services)
config.write(force: true)
end