Closed victormachadoperez closed 7 months ago
the folders argument returns a list of folders from the command line but it is only available in the index, archive, restore and mount sub command argparse https://github.com/dirkpetersen/froster/blob/main/froster.py#L5541C1-L5544C1
Inside the AWSBoto class, there are two functions:
check_bucket_access
: This function checks whether the current AWS credentials have access to a given bucket_name.check_bucket_access_folders
: This function takes a folder as a parameter, searches for the folder in the "froster-archives.json" file, retrieves the bucket containing that folder, and checks whether the current AWS credentials have access to this bucket.The issue I'm facing is related to the
check_bucket_access_folder
function's folder parameter. It appears that there should be a "folders" argument to be parsed by argparse, but I can't find it anywhere. Something likefroster credentials folder ~/Desktop/froster
. It is not documented in the parse_arguments() functionCould you clarify this for me?
Thanks.