def api_token
      api_token = @options[:api_token] || Git.get_config(KEY_API_TOKEN, :inherited)

      if api_token.blank?
        api_token = ask('Pivotal API Token (found at https://www.pivotaltracker.com/profile): ').strip
        Git.set_config(KEY_API_TOKEN, api_token, :local) unless api_token.blank?
        puts
      end

      api_token
    end
def api_token
      api_token = @options[:api_token] || Git.get_config(KEY_API_TOKEN, :inherited)

      if api_token.blank?
        api_token = ask('Pivotal API Token (found at https://www.pivotaltracker.com/profile): ').strip
        Git.set_config(KEY_API_TOKEN, api_token, :local) unless api_token.blank?
        puts
      end

      api_token
    end
Returns the user's Pivotal Tracker API token.  If this token has not been
 configured, prompts the user for the value.  The value is checked for in
 the _inherited_ Git configuration, but is stored in the _global_ Git
 configuration so that it can be used across multiple repositories.

 @return [String] The user's Pivotal Tracker API token