The ITSI Command Line Interface (CLI)
Project description
The ITSI Command Line Interface (CLI)
Setup Virtualenv
python3 -m venv /path/to/new/virtual/environment
source /path/to/new/virtual/environment/bin/activate
Install the Python package
pip install --upgrade itsicli
Using "itsi-content-pack"
The itsi-content-pack
command that is shipped with the Python package assists in creating and managing ITSI Content Packs.
The general end-to-end workflow is as follows:
- Initialize a Content Pack workspace
- Create a Content Pack (or optionally import from an ITSI backup file)
- Continue to add, remove, or edit content from the Content Pack
- Add any supporting Splunk knowledge objects (lookups, transforms, props, etc.)
- Validate the Content Pack through the
validate
command - Submit the Content Pack to either:
- Splunkbase (must first run the
build
command) - The ITSI Content Library via a pull request on Github
- Splunkbase (must first run the
An example of creating a Content Pack
TODO
Build the distribution archive
Install the build dependencies:
pip install --upgrade setuptools wheel
Generate the Python package
Run this command to generate the Python distribution archive:
make
Upload to the Python Package Index
Install the dependencies required for uploading to the index:
pip install --upgrade twine
Upload to PyPI:
make upload
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
itsicli-0.0.11.tar.gz
(13.4 kB
view hashes)
Built Distribution
itsicli-0.0.11-py3-none-any.whl
(25.0 kB
view hashes)