Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shappy0/saasc
A terminal based tool to manage Azure App Services.
https://github.com/shappy0/saasc
appservicecli appserviceplan appservices azure azurecli tview
Last synced: 25 days ago
JSON representation
A terminal based tool to manage Azure App Services.
- Host: GitHub
- URL: https://github.com/shappy0/saasc
- Owner: SHAPPY0
- Created: 2024-09-24T03:03:14.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-10-17T05:58:53.000Z (3 months ago)
- Last Synced: 2024-10-23T01:25:57.647Z (2 months ago)
- Topics: appservicecli, appserviceplan, appservices, azure, azurecli, tview
- Language: Go
- Homepage:
- Size: 56.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# saasc - An Azure App Service CLI tool to manage your app services.
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`.
## Screens:
Coming Soon...## Installations:
`saasc` can be installed through shell script or `make` through source code.#### Install By Make:
1. Clone this git repository.
2. Run `make install`
3. Run `make build`.
4. Make sure to set all the configurations inside `config.toml`
5. Run `saasc` to start the ntui.#### Install By shell script:
1. Clone this git repository.
2. Run setup script using `bash ./setup.sh`. It will setup a home directory(`.saasc`) with configs. Make sure to set all the configurations inside `config.toml`.
3. Run build script using `bash ./build.sh`. It will build the code in local system.
4. Run it using `./bin/saasc`. More options can be viewed using `./bin/saasc --help`## How To Use It:
`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 -
```toml
#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 = ""
```### Commands:
```shell
# Run ntui
ntui# View Help options
ntui help# View current ntui version
ntui version# View config values.
ntui config
```
### Flags: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.
#### Keys:
##### Global Keys
`<1>`: To view Nomad Nodes`<2>`: To view/change regions and namespaces
``: To go back to previous screen
``: To select the row
##### Jobs Screen
``: To stop job``: To start job
``: View job's definition
``: Run new job
##### TaskGroups Screen
``: To view job versions##### Versions Screen
``: To revert the selected job versions##### Allocations Screen
``: To restart selected task.``: View logs of selected alloc.
##### Tasks Screen
``: To restart selected task.``: To view logs of selected task.
##### Logs Screen
``: To view stderr logs.``: To view stdout logs.