Metadata-Version: 2.4
Name: PyShellX
Version: 1.0.7
Summary: A SCons-like build tool for executing Python command files
Author-email: pophu <pophu@126.com>
License: MIT
Keywords: build,scons,command,automation
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Operating System :: OS Independent
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# README

PyShellX is a lightweight Python-based command execution tool that replaces traditional shell scripts with Python files. It provides a clean, cross-platform way to execute shell commands with proper error handling, argument parsing, and workflow management.

## Introduction

1. PyCMD is designed to be simple to use, with a focus on ease of integration into existing projects.
2. It allows you to write shell commands in Python, making your scripts more readable and maintainable.
3. PyCMD provides built-in error handling, argument parsing, and workflow management, reducing the need for custom scripting.



## Usage

```bash
pycmd -f Command.py
```

You Just Write a Python File, named Command.py or Command, and PyShellX Will Do the Rest!
next ,  run **pycmd** or **pycmd -f Command**.

Command.py exmaple

```python
import sys
import os

sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src"))
from pycmd.environ import Environment

env = Environment()
output = env.Execute("echo Testing without install")
print(output)
```
