Metadata-Version: 2.1
Name: friendly-arguments
Version: 0.1.0
Summary: Easy way to use named arguments by means of python dictionaries
Home-page: https://github.com/Horlando-Leao/FriendlyArguments
Author: Horlando Leão
Author-email: horlandojcleao.developer@gmail.com
License: MIT
Keywords: dev,scripts,args,tools
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
License-File: LICENSE.md

# FriendlyArguments

This python package makes it easy to use command line argument

## Example

**CODE** file: test_args.py 
````python
# import friendly_arguments
from friendly_arguments.named import get_params_sys_args

# Make a function call, passing as an argument a list of strings, 
# with the prefix '-' or '--' and the suffix '='. example '--arg1=' or '-arg1='
my_args: dict = get_params_sys_args(['--text='])

# validate your arguments as you wish
try:
    text1 = my_args['--text=']
except KeyError:
    raise ValueError('argumets --text= empty')

print(text1)
````

**RUN** on terminal
```shell
python test_args.py --text=hello_world
# or 
python test_args.py --text="hello world"
```






