app: add a null_args() helper
commit3d91c04380895654848226094bda3d0e6c94914a
authorDavid Aguilar <davvid@gmail.com>
Thu, 29 Sep 2022 03:32:11 +0000 (28 20:32 -0700)
committerDavid Aguilar <davvid@gmail.com>
Thu, 29 Sep 2022 03:32:16 +0000 (28 20:32 -0700)
tree36cdb11fc3a63ad3c2ab2165eea85826a971af5d
parentdfbfe419d117a6b0edc26a3015e9ea126fe29a7b
app: add a null_args() helper

This is used for interactive exploration of the APIs.
NullArgs is not used anywhere, but it can be useful when
running cola functions from an interactive python shell.

For example:

        from cola import app

        args = app.null_args()
        ctx = app.new_context(args)

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/app.py