This is a collection of scripts to facilitate quickly switching between multiple XSOAR development environments. It supports XSOAR 6 and XSOAR 8.
- Linux / MacOS
- Python 3
- Pip
-
Save the scripts to your
~/.xsoar_dev
foldergit clone https://github.com/rfortress-pan/demisto-src.git ~/.xsoar_dev
-
Add
bashrc_include.sh
to~/.bashrc
(Linux). Change to~/.zshrc
for MacOS.echo "source ~/.xsoar_dev/bashrc_include.sh" >> ~/.bashrc
-
Load the commands (only required the first time you install).
# For linux source ~/.bashrc # For MacOS source ~/.zshrc
-
Add a new XSOAR development environment
demisto-src add
-
Remove the sample development environment (
rem
,remove
,del
, ordelete
)demist-src rem
-
Select your development environment
demisto-src
-
Get the details of the currently selected development environment (
info
,det
ordetails
)demisto-src info