This is a command line interface (CLI) to easily create CST projects.
Download the deb (Debian/Ubuntu) or rpm package from the latest release, install it on your machine and add the executable to your PATH
variable
echo 'export PATH="$PATH:/opt/cst-cli/bin"'
source ~/.bashrc
DEB package
sudo apt install ./cst_cli_x.x.deb
OR
sudo dpkg -i ./cst_cli_x.x.deb
RPM package
sudo rpm -r ./cst_cli_v_x.x.rpm
To compile and package the CLI locally is necessary to have Docker install on your machine.
- Clone this repository into a local folder
git clone https://github.com/brgsil/CST-CLI.git
- Go into the repository directory and run the package script
cd CST-CLI ./package.sh
- Install deb or rpm package from
build/cst_cli
folder - Update
PATH
variable to include executableecho 'export PATH="$PATH:/opt/cst-cli/bin"' >> ~/.bashrc source ~/.bashrc
To create a new example CST project run the command:
mkdir TestProject
cd TestProject
cst init -f ../test.yaml