Sample CLI
gway clip view-history
Signature
(*, selection: list = None, copy: bool = True, purge: bool = True)
TODOs
# TODO: If copy, concatenate selection, copy to clipboard
# TODO: If purge, remove listed all items by sequence from history.txt
Sample CLI
gway web.app setup
References
abort,
context,
debug,
info,
resource,
to_html,
to_json,
unwrap_one,
verbose,
version,
web,
web.auth,
web.auth.is_authorized,
web.error,
web.error.redirect,
web.error.unauthorized Signature
(*, app=None, project='web.site', path=None, home: str = None, views: str = 'view', apis: str =
'api', static='static', shared='shared', css='global', js='global', auth_required=False,
engine='bottle')
Docstring
Setup Bottle web application with symmetrical static/shared public folders.
Only one project per app. CSS/JS params are used as the only static includes.
Signature
(*, root: str = 'tests', filter=None, project=None)
Docstring
Execute all automatically detected test suites, logging to logs/test.log.
TODOs
# TODO: Implement a 'project' mode. Instead of performing the hard-coded GWAY test
# suite, run an abstract test battery against the project or collection of projects