clikit icon indicating copy to clipboard operation
clikit copied to clipboard

Does not expose verbosity flags

Open gmichaeljaison opened this issue 4 years ago • 1 comments

As explained in the Cleo documentation, clickit does not expose verbosity flags in the main module. Hence clikit.VERBOSITY_VERBOSE is not available.

Cleo documentation example:

self.line("", verbosity=clikit.VERBOSITY_VERBOSE)

Error throwing example:

python -c "import clikit; print(clikit.VERBOSITY_VERBOSE)"

Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: module 'clikit' has no attribute 'VERBOSITY_VERBOSE'

gmichaeljaison avatar Jan 13 '21 15:01 gmichaeljaison

@gmichaeljaison The flags are at clikit.api.io.flags, but the don't really work... I tried using this piece of code

self.line('Starting Application...', verbosity=clikit.api.io.flags.DEBUG)

with the -vvv flag but I didn't get any output.

kira607 avatar Apr 12 '22 19:04 kira607