<commit_before>Introduction
============

The {{{cli_product}}} command line interface (CLI) provides a mechanism for creating and managing organizations, users, and services in the {{{discovery_product}}}.<commit_msg>Resurrect intro and update per current understanding<commit_after>Introduction
============

The {{{cli_product}}} command line interface (CLI) provides a mechanism for creating and managing organizations, users, and services in the {{{discovery_product}}}. This allows {{{product}}} to handle load balancing and service discovery via the {{{cloud_product}}}.

For this purpose, an organization is a group of one or more users who work together to develop one or more microservices using {{{product}}}. Organizations are created with a single member who can then invite additional members to participate in the group. Once these new users accept the invitation they, too, can invite other people into the organization. At the current time, users may only belong to a single organization.

.. 
   JMK: Future functionality:
   Similarly, any member can remove another member from the organization (including the    original member). Users can belong to more than one organization but all of their actions within {{{cloud_product}}} are tied to a specific organization; each organization-user combination is effectively a different role with different permissions within the system.

Any user in an organization can create services for that organization by default. These services are registered and assigned a handle (by the user creating them) which is used by the {{{discovery_product}}} to manage instances of the service. Service tokens can be generated via the {{{cli_product}}} CLI that tell the {{{discovery_product}}} that a particular request is allowed to interact with the service and its discovery information. These tokens expire after 14 days; at that point new tokens can be requested and distributed as needed.

.. 
   JMK: Are we going to have some type of automatic refresh mechanism?

{'fraction_non_alphanumeric': 0.06782178217821783, 'fraction_numerical': 0.0009900990099009901, 'mean_word_length': 5.29595015576324, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7013519', 'n_tokens_mistral': 431, 'n_tokens_neox': 416, 'n_words': 278}