Socket
Book a DemoInstallSign in
Socket

managedtenants-cli

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

managedtenants-cli

A CLI tool commonly used by MT-SRE projects at Red Hat

1.50.0
pipPyPI
Maintainers
1

Managed Tenants CLI

A CLI tool commonly used by MT-SRE projects at Red Hat.

Usage

Available subcommands

SubcommandDescription
loadLoads the addons inventory
runRuns the task
tasks_reference[path:search] "path" for the directory or file and "search" string to filter tasks

Available flags

FlagDescription
-v or --versionCLI version
--environmentTarget environment
--addon-nameLoad only a given addon
--addons-dir[path] "path" for the addons directory
--ocm-apiOverride the environments in OCM API
--ocm-api-insecureAllow Insecure connections to OCM API

Install

From PyPI:

$ pip install managedtenants_cli

From source:

$ python setup.py install

Develop

Install pre-commit hooks:

$ pre-commit install

Install the development requirements:

$ make develop

Run the code checks:

$ make check

Run the tests:

$ make test

Release

Update the VERSION file to reflect the new version. Submit a pull request and merge it to main. Once it is merged, you need to create a new tag and a new release. You can do this by clicking "Draft a new release" on the Releases page and then creating a new tag instead of selecting one from the dropdown. Please also use the option to "Generate release notes". After that, a CI job will be triggered that will publish the package on PyPI.

Alternatively, you can create a new tag by running:

git checkout main && git pull upstream main
git tag X.Y.Z
git push upstream X.Y.Z

and then draft the release in the web UI.

License

The default license of the code in this repository is http://www.apache.org/licenses/LICENSE-2.0. That applies for most of the code here, as they were written from scratch, but exceptions exist. In any case, each module carries the corresponding licensing information.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.