https://github.com/waseemofficial/cli-using-click
CLI using the click library.
https://github.com/waseemofficial/cli-using-click
Last synced: 4 months 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 (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-11T18:01:44.000Z (about 1 year ago)
- Last Synced: 2025-02-06T09:47:30.515Z (5 months 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


### Technologies


# 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`