lib/uffizzi/cli/config.rb in uffizzi-cli-0.9.0 vs lib/uffizzi/cli/config.rb in uffizzi-cli-0.10.0
- old
+ new
@@ -56,10 +56,10 @@
def handle_setup_command
Uffizzi.ui.say("Configure the default properties that will be used to authenticate with your \
\nUffizzi API service and manage previews.\n")
server = Uffizzi.ui.ask('Server: ', default: Uffizzi.configuration.default_server.to_s)
username = Uffizzi.ui.ask('Username: ')
- project = Uffizzi.ui.ask('Project: ')
+ project = Uffizzi.ui.ask('Project: ', default: 'default')
ConfigFile.delete
ConfigFile.write_option(:server, server)
ConfigFile.write_option(:username, username)
ConfigFile.write_option(:project, project)
Uffizzi.ui.say('To login, run: uffizzi login')