This is a simple CLI interface to the Ansible Automation Hub that use the AAH API to perform some actions.
see INSTALL.md file
aah-manage commands follow a simple format:
usage: aah-manage_v4 [-h] [--authToken AUTHTOKEN | --generateAuthToken CREDENTIAL] [--getEEList] [--getEEVersion] [--listAvailables] [--deleteEE EEname SHA] [--getCollectionList] [--removeCollection] [--deleteCollection]
[--namespace NAMESPACE] [--collection COLLECTION] [--repositoryName REPOSITORYNAME] [--sync REPOREMOTENAME] [-k] [-v]
optional arguments:
-h, --help show this help message and exit
--authToken AUTHTOKEN
API token for authentication
--generateAuthToken CREDENTIAL
generate a NEW AuthToken. You must specify the credetial for the login (user:password). WARNING: loading a new token will delete your old token
--getEEList print the list of available EE images
--getEEVersion print the list of available EE images version
--listAvailables list all available repositories and collections
--deleteEE EEname SHA
delete the specified EE image
--getCollectionList print the list of community general, experimental
--removeCollection remove the specified collection from repository
--deleteCollection remove the specified collection from system
--namespace NAMESPACE
Namespace for the collection, required with --getCollectionList, --removeCollection, and --deleteCollection
--collection COLLECTION
Name of the collection,required with --getCollectionList, --removeCollection, and --deleteCollection
--repositoryName REPOSITORYNAME
Name of the repository, required with --getCollectionList, --removeCollection, and --deleteCollection
--sync REPOREMOTENAME
start sync of remote repository (Repo Managment). REPOREMOTENAME: community / rh-certified
-k Allow insecure server connections when using SSL
-v write verbose output
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.