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.2.tar.gz
(6.6 kB
view details)
Built Distribution
File details
Details for the file ingeniictl-0.2.2.tar.gz
.
File metadata
- Download URL: ingeniictl-0.2.2.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.11.0-1028-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5fb1fd68107b28ad7ce30a40322e0db4643bcbd9da8d5b41da0538325904e57 |
|
MD5 | 68343ead1b8cbd4f1eba72d47432da2d |
|
BLAKE2b-256 | effbfa20f2b86cd558290177b6186cc149c4a85793772f869708881378625884 |
File details
Details for the file ingeniictl-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: ingeniictl-0.2.2-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.11.0-1028-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86df95db82062d167e6b7bc76692a32e928f6dc5e217c1949f13be66824ae34e |
|
MD5 | ac7aefc6545fd0aee12b12cbdce4da26 |
|
BLAKE2b-256 | 0bebdd1e243532e1e3db8b8693f212d1644ad2c1bc796b1de4c17dfb69798977 |