To use this script:
- Git pull the repository
- Create a
.env
file in your local environment that looks like the following:
DDS_DOMAIN_NAME=<domain-name>
DDS_USERNAME=<user-with-admin-privilege>
DDS_API_KEY=<user-api-key>
- Run the script using
python list_apps.py
. This will print the table of apps and their information, as well as output a the same table to an output file. You can disable this behaviour using thedisable_stdout
anddisable_file
flags.
The output table will dispaly the following headers:
Name | Owner | Running | Created | Last GIT Push | URL