Metadata-Version: 2.1
Name: CustomShell
Version: 0.0.1
Summary: This script implement a Custom Shell.
Home-page: https://github.com/mauricelambert/CustomShell
Author: Maurice Lambert
Author-email: mauricelambert434@gmail.com
License: UNKNOWN
Description: # CustomShell
        
        ## Description
        This script implement a Custom Shell.
        
        ## Requirements
        This package require :
         - python3
         - python3 Standard Library
        
        ## Installation
        ```bash
        pip install CustomShell
        ```
        
        ## Launcher
        
         - Command line:
         ```bash
         CustomShell
         ```
        
         - Python:
         ```python
         import CustomShell
         shell()
         ```
        
         ![Demo](./demo.JPG)
        
        ## Configuration
        
        ### Default
        
         - `Shell.ini` for **Linux** (default configuration):
         ```ini
         [DISPLAY]
         prompt = {U}@{N}:{P}$
         start_intro = echo '{color}{bgwhite}{color}{bold}{blue}'
         end_intro = echo '{color}{reset}'
         intro = {n}*** {T} - Welcome on CustomShell {U} ! ***{n}
         start_quit = echo '{color}{bgwhite}{color}{underline}{red}'
         end_quit = echo '{color}{reset}'
         quit = {n}*** Bye {U} ! - {T} ***{n}
        
         [ALIAS]
         pyc  = python3 -c 
         pym  = python3 -m 
        
        
         ```
         - `Shell.ini` for **Windows** (not default configuration):
         ```ini
         [DISPLAY]
         prompt = {U}@{N}:{P}$
         start_intro = color a
         end_intro = ""
         intro = {n}*** {T} - Welcome on CustomShell {U} ! ***{n}
         start_quit = color 4
         end_quit = ""
         quit = {n}*** Bye {U} ! - {T} ***{n}
        
         [ALIAS]
         pyc  = python -c 
         pym  = python -m 
        
        
         ```
        
         You can add/change alias, with this configuration you can write write `pyc print('CustomShell')` to execute `python -c "print('CustomShell')"`.
        
        ### Variables for configuration
        
        ```
        {U} = username,
        {N} = hostname,
        {P} = current path,
        {T} = time,
        {p} = system (Windows, Linux...)
        {s} = os name (nt, posix...)
        {n} = new line (\n)
        ```
        
        ### Unix Color
        
        ```
        {black} {red} {green} {other} {blue} {purple} {cyan} {white} {bgblack} {bgred} {bggreen} {bgother} {bgblue} {bgpurple} {bgcyan} {bgwhite} {texte} {bold} {underline} {reset} {color}
        ```
        
         - To make a white background you can use: `{color}{bgwhite}`.
         - To make a blue bold text you can use: `{color}{bold}{blue}`.
         - To make a red undernline text you can use: `{color}{underline}{red}`.
        
        ## Links
        [Github Page](https://github.com/mauricelambert/CustomShell)
        [Documentation](https://mauricelambert.github.io/info/python/code/CustomShell.html)
        
        ## Licence
        Licensed under the [GPL, version 3](https://www.gnu.org/licenses/).
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.6
Description-Content-Type: text/markdown
