def profile_new_command(profile_command)
      profile_command.desc _('cli.profile.new.desc')
      profile_command.arg_name "[name]"
      profile_command.command :new do |profile_new_command|
        profile_new_command.flag :p, :arg_name => 'path', :desc => _('cli.profile.new.path_flag_desc')
        profile_new_command.action do |global_options,options,args|
          path = options[:p] || ''
          help_now!(error(_('cli.profile.new.name_arg_missing'))) if args.count == 0
          Bebox::ProfileWizard.new.create_new_profile(project_root, args.first, path)
        end
      end
    end
def profile_new_command(profile_command)
      profile_command.desc _('cli.profile.new.desc')
      profile_command.arg_name "[name]"
      profile_command.command :new do |profile_new_command|
        profile_new_command.flag :p, :arg_name => 'path', :desc => _('cli.profile.new.path_flag_desc')
        profile_new_command.action do |global_options,options,args|
          path = options[:p] || ''
          help_now!(error(_('cli.profile.new.name_arg_missing'))) if args.count == 0
          Bebox::ProfileWizard.new.create_new_profile(project_root, args.first, path)
        end
      end
    end
Profile new command