This is an unofficial open source terminal CLI tool to manage your azure app services.
saasc is free to use and currently at its BETA stage. We are continuously working on adding more features to saasc, so stay tune and keep using saasc.
Coming Soon...
saasc can be installed through shell script or make through source code.
- Clone this git repository.
- Run
make install - Run
make build. - Make sure to set all the configurations inside
config.toml - Run
saascto start the ntui.
- Clone this git repository.
- Run setup script using
bash ./setup.sh. It will setup a home directory(.saasc) with configs. Make sure to set all the configurations insideconfig.toml. - Run build script using
bash ./build.sh. It will build the code in local system. - Run it using
./bin/saasc. More options can be viewed using./bin/saasc --help
saasc requires some configurations to be set, the default config file should be at user's root home diretory.
Default config file looks like below -
#Home Directory of saasc
Home_Dir = ""
#Set the config path from where all configs should be read
#App_Dir = ""
#Set log levels, default: info (info|error|warn)
#Log_Level = "info"
#Set custom log directory for storing ntui app logs
#Log_Dir = ""
#Set Config file path
Config_Path = ""
#Set Log filepath
#Log_File_Path = ""
#Set ntui screen table data refresh rate, default: 5
#Refresh_Rate = 3
#Set Azure Subscription Id
#Azure_Subscription_Id = ""
#Set Azure Client Id, which should have access to read your app service
#Azure_Client_Id = ""
#Set Azure Client Secret of your azure client id
#Azure_Client_Secret = ""
#Set Azure Tenant Id, which has your subscription
#Azure_Tenant_Id = ""# Run ntui
ntui
# View Help options
ntui help
# View current ntui version
ntui version
# View config values.
ntui config Below are the falgs which can be passed while running ntui -
-c or --config-path to set ntui config path.
--home-dir to set home directory of ntui app.
--host to set nomad host.
-l or --log-level to set the ntui log level.
--region to set the nomad region.
-n or --namespace to set the nomad namespace.
-r or --refresh to set refresh rate to refresh the screen data.
--skip-verify to set if skip cetificate verification.
-t or --token to set nomad token to perform actions, which requires it.
<1>: To view Nomad Nodes
<2>: To view/change regions and namespaces
<esc>: To go back to previous screen
<enter>: To select the row
<ctrl+q>: To stop job
<ctrl+s>: To start job
<d>: View job's definition
<ctrl+d>: Run new job
<v>: To view job versions
<ctrl+v>: To revert the selected job versions
<ctrl+t>: To restart selected task.
<l>: View logs of selected alloc.
<ctrl+t>: To restart selected task.
<l>: To view logs of selected task.
<e>: To view stderr logs.
<o>: To view stdout logs.