Ingenii's Swiss Army Knife
Project description
ingeniictl - Ingenii's Swiss Army Knife
Overview
We have been using Makefiles to help us augument Pulumi with pre/post deployment automation. The goal of this CLI is not to fully replace the Makefiles and the countless targets in there, but to greatly reduce their size.
Development
- Launch the Visual Studio Code
- Open the project in Dev Container
- Congratulations. You have all necessary tools to extend this CLI.
Makefiles
There are some handy shortcuts in the makefile.
make install
- Installs all dependenciesmake build
- Builds the ingeniictl and outputs thewhl
andzip
files in thedist
dir.make publish TOKEN=<pypi token>
- Builds and publishes the ingeniictl to pypi.make publish-test TOKEN=<pypi token>
- Builds and publishes the ingeniictl to the test pypi.make test
- Runs tests.
Releasing New Version
- Make your changes
- Test locally
- Bump the package version:
poetry version <patch | minor | major | prepatch | preminor | premajor | rerelease>
- Open a Pull Request (Merge to Releases)
- Get someone to review and merge
- The CI will automatically publish the new version
Install
pip install ingeniictl
Environment Variables
II_LOG_ENABLE_COLORS
- Set to 0
to disable colors in the output messages.
II_LOG_ENABLE_DATETIME_PREFIX
- Set to 0
to disable the date/time prefix in the output messages.
Executable
ingeniictl
Commands
infra - Infrastructure Toolkit
Options
--install-completion [bash|zsh|fish|powershell|pwsh]
Install completion for the specified shell.
--show-completion [bash|zsh|fish|powershell|pwsh]
Show completion for the specified shell, to
copy it or customize the installation.
--help
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ingeniictl-0.2.1.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for ingeniictl-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9762b614aed76ec4686a7fd5bd78c8f31c2a1dc0d950656fcc86540d8a4b4162 |
|
MD5 | d9c5feda5ebf7b1aa1ab72b84a27d575 |
|
BLAKE2b-256 | ab12e735c1b065e7602f0f19dc9af0922fbd762e11e41843b876a06b3ba22a7e |