Before install tcctl
install BASH Cli (BCL)
curl -L -s https://git.io/JGaJV | bash
Install tcctl
Create file bcl.json
in a project folder
{
"package": {
"tenantcloud/tcctl": "master"
}
}
Install packages
bcl package install
tcctl
tcctl laravel
tcctl run {command_name}
...
To create single command:
bcl create change-hostname
To create multiple sub-command:
bcl create vault get
bcl create vault put
...
Get latest version on tcctl run command
docker pull tenantcloud/tcctl
You can create alias in your .zshrc
or .bashrc
and run from a Docker container
alias tcctl="docker run --rm -it -v $HOME:/root -v $PWD:/app -w /app tenantcloud/tcctl"