code: def cli(env, user, template):
      
      mgr = SoftLayer.UserManager(env.client)
      user_id = helpers.resolve_id(mgr.resolve_ids, user, 'username')
  
      user_template = {}
      if template is not None:
          try:
              template_object = json.loads(template)
              for key in template_object:
                  user_template[key] = template_object[key]
          except ValueError as ex:
              raise exceptions.ArgumentError("Unable to parse --template. %s" % ex)
  
      result = mgr.edit_user(user_id, user_template)
      if result:
          click.secho("%s updated successfully" % (user), fg='green')
      else:
          click.secho("Failed to update %s" % (user), fg='red')
docs: Edit a Users details
  
      JSON strings should be enclosed in '' and each item should be enclosed in ""
  
      :Example: slcli user edit-details testUser -t '{"firstName": "Test", "lastName": "Testerson"}'