From f9cd47c1bf1114c07e516fa13d890c3714825776 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Tue, 12 Nov 2024 10:24:54 +0200 Subject: [PATCH] Improve credits --- nc_password_client/nc_password_client.py | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/nc_password_client/nc_password_client.py b/nc_password_client/nc_password_client.py index 753d83b..21f4a42 100755 --- a/nc_password_client/nc_password_client.py +++ b/nc_password_client/nc_password_client.py @@ -3,7 +3,8 @@ # # This script is licensed under GNU GPL version 2.0 or above # (c) 2024 Antonio J. Delgado -# Based on https://github.com/markuman/markuman.nextcloud/blob/latest/plugins/modules/password.py +# (c) 2021 Markus Bergholz https://github.com/markuman/markuman.nextcloud/commits?author=markuman +# Based on https://github.com/markuman/markuman.nextcloud/blob/latest/plugins/modules/password.py """Nextcloud Password client""" @@ -56,6 +57,20 @@ DIOS_MIO = """ def parameter_spects(spec_arguments): '''Specification of parameters???''' + argument_spec = { + "host": { + "required": False, + "type": 'str' + }, + "api_token": { + "required": False, + "type": "str" + }, + "user": { + "required": False, + } + } + } argument_spec = dict( host=dict(required=False, type='str'), api_token=dict(required=False, type='str', no_log=True, aliases=['access_token']),