README
changeset 28 1a90a706e10d
parent 27 3908a489c02e
child 33 e82b3f5c36d9
equal deleted inserted replaced
27:3908a489c02e 28:1a90a706e10d
   101 application. There are two global options added, which are used by this object:
   101 application. There are two global options added, which are used by this object:
   102 ``-v/--verbose`` and ``-q/--quiet``. And then you are encouraged to use ``UI``
   102 ``-v/--verbose`` and ``-q/--quiet``. And then you are encouraged to use ``UI``
   103 instance to output instead of directly printing messages, which is possible by
   103 instance to output instead of directly printing messages, which is possible by
   104 using one of following methods:
   104 using one of following methods:
   105 
   105 
   106   - ``UI.status`` prints by default, but hides output with quiet option
   106   - ``UI.info`` prints by default, but hides output with quiet option
   107   - ``UI.note`` prints only if verbose option supplied
   107   - ``UI.note`` prints only if verbose option supplied
   108   - ``UI.write`` prints in any case
   108   - ``UI.write`` prints in any case
   109   - ``UI.warn`` prints to stderr (in any case)
   109   - ``UI.warn`` prints to stderr (in any case)
   110 
   110 
   111 
   111