Skip to content

Commit

Permalink
add-cli-demo-to-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Abel Tavares committed Mar 1, 2024
1 parent 77b3699 commit 7bf2d69
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 113 deletions.
50 changes: 48 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,48 @@
# PostQL

<style>
.container {
display: flex;
align-items: center;
justify-content: center;
}
.badge {
margin-right: 20px;
}
.image {
max-width: 50%;
height: auto;
}
.container-image {
display: flex;
justify-content: center;
}
</style>

<div class="container container-image">
<img class="image" src="assets/postql.png" alt="postql">
</div>

<div class="container">
<div class="badge">
<a href="https://github.com/abeltavares/postql">
<img src="https://img.shields.io/badge/GitHub-Repository-blue?logo=github" alt="GitHub Repository">
</a>
</div>
<div class="badge">
<a href="https://pypi.org/project/PostQL/">
<img src="https://img.shields.io/pypi/v/PostQL" alt="PyPI">
</a>
</div>
<div class="badge">
<a href="https://opensource.org/licenses/MIT">
<img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License">
</a>
</div>
</div>

<br>

PostQL is a Python library and command-line interface (CLI) tool for managing PostgreSQL databases, executing queries, exporting data and interacting with PostgreSQL databases from the command line.

## Features
Expand Down Expand Up @@ -34,6 +77,9 @@ my_database> Select * from my_table
exit

```

![demo](assets/postql.gif)

### Python Library

```python
Expand Down Expand Up @@ -93,8 +139,8 @@ db.disconnect()

## Documentation

- [Methods Documentation](https://abeltavares.github.io/PostQL/methods.html)
- [CLI Documentation](https://abeltavares.github.io/PostQL/cli.html)
- [Methods Documentation](docs/methods.md)
- [CLI Documentation](docs/cli.md)

## Contributing

Expand Down
Binary file added assets/postql.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/postql.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
111 changes: 0 additions & 111 deletions docs/index.md

This file was deleted.

0 comments on commit 7bf2d69

Please sign in to comment.