Commit 09975824 authored by rajesh's avatar rajesh

Add condition non settings variable

parent 8591fc4d
Pipeline #1579 passed with stages
in 38 seconds
......@@ -224,6 +224,8 @@ def settings(*names):
names = dir(settings)
for name in names:
if name.startswith('_'):
return "Not a part of Settings"
if 'value' in clitoo.context.args:
print(f'{getattr(settings, name)}')
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment