Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/waseemofficial/cli-using-click
CLI using the click library.
https://github.com/waseemofficial/cli-using-click
Last synced: 22 days ago
JSON representation
CLI using the click library.
- Host: GitHub
- URL: https://github.com/waseemofficial/cli-using-click
- Owner: waseemofficial
- Created: 2024-07-10T14:46:06.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-11T18:01:44.000Z (4 months ago)
- Last Synced: 2024-10-11T03:04:49.956Z (about 1 month ago)
- Language: Python
- Size: 1.51 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Languages
![Python](https://img.shields.io/badge/-Python-000?&logo=Python)
![Bash](https://img.shields.io/badge/-Bash-000?&logo=gnu-bash&logoColor=white)
![Bash](https://img.shields.io/badge/-markdown-000?&logo=markdown)### Technologies
![Linux](https://img.shields.io/badge/-Linux-000?&logo=Linux)
![GitHub](https://img.shields.io/badge/-GitHub-000?&logo=GitHub)
# CLI Using Click>
> Use cli_commands.sh to check cli functionality
>### Setup
```py
from setuptools import setup, find_packages
setup(
name="my_first_cli",
version="0.0.1",
py_modules=["main"],
include_requires=["click"],
entry_points={"console_scripts": ["cli=CLI.main:main_cli"]},
)```
#### Using VHS for gif Recording
### installation
> `scoop install vhs`
### for recording
> `vhs new .tape`
using setup tools we can create a cli tool.
`pip install --editable .`## Print Hello
`cli hello`## Logging
`cli logging`## Table
`cli table`
## CSV file viewer
`cli viewers csv ./data/population.csv --has-header -n 10 --format github`## convert CSV to JSON
`cli converters csv -i ./data/population.csv -o ./data/test.json --has-headers --columns country -c code -c Y2020 -c Y2021`## View JSON file
`cli viewers json ./data/test.json -n 25`