mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
We don't need to be able to auth in cli
This commit is contained in:
parent
fce96ad48f
commit
a34fb7c665
1 changed files with 1 additions and 3 deletions
|
@ -111,7 +111,6 @@ def cli(
|
|||
namespaces,
|
||||
args,
|
||||
output_as=None,
|
||||
password=None,
|
||||
timeout=None,
|
||||
parser_kwargs={},
|
||||
):
|
||||
|
@ -125,7 +124,6 @@ def cli(
|
|||
- args -- A list of argument strings
|
||||
- output_as -- Output result in another format, see
|
||||
moulinette.interfaces.cli.Interface for possible values
|
||||
- password -- The password to use in case of authentication
|
||||
- parser_kwargs -- A dict of arguments to pass to the parser
|
||||
class at construction
|
||||
|
||||
|
@ -137,7 +135,7 @@ def cli(
|
|||
namespaces=namespaces,
|
||||
parser_kwargs=parser_kwargs)
|
||||
interface = Interface(actionsmap=actionsmap)
|
||||
interface.run(args, output_as=output_as, password=password, timeout=timeout)
|
||||
interface.run(args, output_as=output_as, timeout=timeout)
|
||||
except MoulinetteError as e:
|
||||
import logging
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue