circleci-envs-cli


Namecircleci-envs-cli JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/phsmith/circleci-envs-cli
SummaryCLI tool for manage CircleCI contexts and environment vars
upload_time2023-02-05 16:48:21
maintainer
docs_urlNone
authorPhillipe Smith
requires_python>=3.7
licenseMIT
keywords circleci cli api
VCS
bugtrack_url
requirements click requests pycircleci
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # circleci-envs-cli
CLI tool for manage CircleCI contexts and environment vars

## Installation
### Install locally
```
pip install -r requirements.txt
./circleci_envs_cli.py [OPTIONS]
```

### Install via Pip
```
pip install circleci-envs-cli
```

### Install via Docker
```
docker run --rm phsmith/circleci-envs-cli:latest [OPTIONS]
```

## Usage

A [CircleCI personal API token](https://circleci.com/docs/managing-api-tokens/#creating-a-personal-api-token) must be create before use this tool.

> All options can be specified as environment variables in the format: `CIRCLE_<OPTION>`.
>
> Example: `CIRCLE_TOKEN=********`

```
Usage: circleci_envs_cli [OPTIONS]

  CLI tool for manage CircleCI contexts and environment vars

Options:
  -u, --api-url <circleci_api_url>
                                  [default: https://circleci.com/api]
  -t, --token <circleci_token>    [default: (CIRCLE_TOKEN)]
  -c, --context <context_name>    It will ask for create if does not exists
  -p, --project <project_slug>    Example: github/org-name/project-name
                                  [required]
  -e, --env <environment_var>
  -ef, --env-file <environment_vars_file>
  -d, --delete                    Context only, will delete the context
                                  Context + vars, will delete the context vars
                                  Vars only, will delete the environment vars
  -ot, --owner-type <owner_type>  [default: organization]
  --debug
  --help                          Show this message and exit.
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/phsmith/circleci-envs-cli",
    "name": "circleci-envs-cli",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "circleci cli api",
    "author": "Phillipe Smith",
    "author_email": "phsmithcc@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/92/42/40d7762633a58c04f60c4498eb8d72d30645cc99f748741543220a5b8ac9/circleci-envs-cli-0.1.0.tar.gz",
    "platform": null,
    "description": "# circleci-envs-cli\nCLI tool for manage CircleCI contexts and environment vars\n\n## Installation\n### Install locally\n```\npip install -r requirements.txt\n./circleci_envs_cli.py [OPTIONS]\n```\n\n### Install via Pip\n```\npip install circleci-envs-cli\n```\n\n### Install via Docker\n```\ndocker run --rm phsmith/circleci-envs-cli:latest [OPTIONS]\n```\n\n## Usage\n\nA [CircleCI personal API token](https://circleci.com/docs/managing-api-tokens/#creating-a-personal-api-token) must be create before use this tool.\n\n> All options can be specified as environment variables in the format: `CIRCLE_<OPTION>`.\n>\n> Example: `CIRCLE_TOKEN=********`\n\n```\nUsage: circleci_envs_cli [OPTIONS]\n\n  CLI tool for manage CircleCI contexts and environment vars\n\nOptions:\n  -u, --api-url <circleci_api_url>\n                                  [default: https://circleci.com/api]\n  -t, --token <circleci_token>    [default: (CIRCLE_TOKEN)]\n  -c, --context <context_name>    It will ask for create if does not exists\n  -p, --project <project_slug>    Example: github/org-name/project-name\n                                  [required]\n  -e, --env <environment_var>\n  -ef, --env-file <environment_vars_file>\n  -d, --delete                    Context only, will delete the context\n                                  Context + vars, will delete the context vars\n                                  Vars only, will delete the environment vars\n  -ot, --owner-type <owner_type>  [default: organization]\n  --debug\n  --help                          Show this message and exit.\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "CLI tool for manage CircleCI contexts and environment vars",
    "version": "0.1.0",
    "split_keywords": [
        "circleci",
        "cli",
        "api"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "be9b317dd117d482c2047e46a2e331cff54f66c7c9f07462a37e237231bbb56d",
                "md5": "914b1b40fc89278930a31289947c8978",
                "sha256": "f19b2289a0ce095cd13f841771582ebdaeff8e5646bf67f0f177a3700d1a9527"
            },
            "downloads": -1,
            "filename": "circleci_envs_cli-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "914b1b40fc89278930a31289947c8978",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 5515,
            "upload_time": "2023-02-05T16:48:19",
            "upload_time_iso_8601": "2023-02-05T16:48:19.676762Z",
            "url": "https://files.pythonhosted.org/packages/be/9b/317dd117d482c2047e46a2e331cff54f66c7c9f07462a37e237231bbb56d/circleci_envs_cli-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "924240d7762633a58c04f60c4498eb8d72d30645cc99f748741543220a5b8ac9",
                "md5": "50bfaccc111d41c4e18360225f9f982a",
                "sha256": "26b3cab3c0d756e536d30f623ccd47ef7253f4ad822f5eef2528a69d65fc5c6a"
            },
            "downloads": -1,
            "filename": "circleci-envs-cli-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "50bfaccc111d41c4e18360225f9f982a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 4888,
            "upload_time": "2023-02-05T16:48:21",
            "upload_time_iso_8601": "2023-02-05T16:48:21.558118Z",
            "url": "https://files.pythonhosted.org/packages/92/42/40d7762633a58c04f60c4498eb8d72d30645cc99f748741543220a5b8ac9/circleci-envs-cli-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-02-05 16:48:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "phsmith",
    "github_project": "circleci-envs-cli",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "click",
            "specs": [
                [
                    "==",
                    "8.1.3"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    "==",
                    "2.28.2"
                ]
            ]
        },
        {
            "name": "pycircleci",
            "specs": [
                [
                    "==",
                    "0.6.0"
                ]
            ]
        }
    ],
    "lcname": "circleci-envs-cli"
}
        
Elapsed time: 0.57894s