Mon, 08 Jan 2018 14:59:21 +0100
Refactor argument parsing + New commands
* Restructured argument parsing to use subcommands.
* Move some common options to requests session (auth + verify)
* Allow for a common location for settings file (~/.scc_access.yaml)
* Update Readme
* Add option to list available files
* Add option to download existing files
# This file contains the user-specific settings for the scc_access script. # # You should rename the file settings_sample.yaml to and move it outside the module repository. Take care to set the # minimum required permissions, as this file contains SCC access codes. For website login, it is recommended to # use credential for a user without station-management privileges. basic_credentials: ['username', 'password'] # The HTTP user name and password that is needed to access the SCC site. website_credentials: ['username', 'password'] # The user-name and password that is needed to log in to the SCC site. output_dir: /path/to/files/scc_output/ # The directory to download the files base_url: https://scc.imaa.cnr.it/ # SCC base URL. Normally you shouldn't need to change that.