overall changes
This commit is contained in:
@@ -1,15 +1,43 @@
|
||||
# scott
|
||||
# Scott
|
||||
|
||||
A framework to create scoped task-oriented terminal tools.
|
||||
_A small Python framework for building scoped, task-oriented terminal tools._
|
||||
|
||||
## Run these
|
||||
Scott provides the shared command-line plumbing for applications made up of focused commands. Each
|
||||
command can live in its own module, define its own arguments, and be loaded only when the
|
||||
application registers it. The application keeps ownership of its business logic; Scott handles the
|
||||
common CLI mechanics.
|
||||
|
||||
```sh
|
||||
pip install --upgrade build
|
||||
```
|
||||
## What Scott provides
|
||||
|
||||
You can then run
|
||||
- A thin layer over Python's standard-library `argparse` module
|
||||
- Dynamically loaded commands
|
||||
- Command-specific arguments and help text
|
||||
- A small handler contract that keeps commands self-contained
|
||||
- Centralized command registration and dispatch
|
||||
|
||||
```sh
|
||||
python -m build
|
||||
```
|
||||
Scott is designed for small to medium-sized Python tools that need several related commands without
|
||||
introducing a larger CLI framework.
|
||||
|
||||
## How it fits together
|
||||
|
||||
At a high level, a Scott application has an entry point that registers command names. Scott resolves
|
||||
each name to a command handler, lets that handler extend its subparser, and dispatches the parsed
|
||||
arguments to the selected command. The complete application layout and handler contract are
|
||||
documented in [The Anatomy of a Scott application](docs/anatomy.md).
|
||||
|
||||
## Documentation
|
||||
|
||||
- [Install Scott](docs/install.md) — install from a built wheel, Git repository, or local checkout
|
||||
- [The Anatomy of a Scott application](docs/anatomy.md) — application structure and command handlers
|
||||
- [Scott API Reference](docs/api-reference.md) — constructors, registration, dispatch, and behavior
|
||||
- [Build from Source](docs/build-from-source.md) — create distributable package artifacts
|
||||
|
||||
## Development
|
||||
|
||||
The project uses a standard Python package layout and `pyproject.toml` build configuration.
|
||||
For development installation and packaging instructions, see
|
||||
[Build from Source](docs/build-from-source.md).
|
||||
|
||||
## License
|
||||
|
||||
Scott is distributed under the [DuxTechnica Limited Use Source Code License Agreement](LICENSE).
|
||||
|
||||
Reference in New Issue
Block a user