cli_helpers icon indicating copy to clipboard operation
cli_helpers copied to clipboard

Python helpers for common CLI tasks

Results 6 cli_helpers issues
Sort by recently updated
recently updated
newest added

## Description A new argument is needed to implement `\T csv --skip-headers` in mycli, see https://github.com/dbcli/mycli/issues/872 ## Checklist - [x] I've added this contribution to the `CHANGELOG`. - [x] I've...

FYI, I just proposed a new PR in the upstream `python-tabulate` project to add some new unicode-based table rendering. The new renderings can now replace the [formats hard-coded in `cli_helpers`](https://github.com/dbcli/cli_helpers/blob/395ac62d684d8f09f9ca4c1189a2487d13918f23/cli_helpers/tabular_output/tabulate_adapter.py#L22-L53):...

```console > python setup.py test /home/jayvdb/.asdf/installs/python/3.6.7/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) running test running egg_info writing cli_helpers.egg-info/PKG-INFO writing dependency_links to cli_helpers.egg-info/dependency_links.txt writing requirements to cli_helpers.egg-info/requires.txt writing top-level names to...

The current documentation assumes that the output format is a list, but CLI Helpers now returns generators. We should update the quick start and the API documentation.

## Description Add sql-formatter for *clis, which convert output data to sql format like insertion sqls or updating sqls. For example, in pgcli, you can get sql-insert output like this:...

Hi `dbcli/cli_helpers`! This is a one-off automatically generated pull request from LGTM.com :robot:. You might have heard that we’ve integrated LGTM’s underlying CodeQL analysis engine natively into GitHub. The result...