Metadata-Version: 2.1
Name: BB-PyCodeView
Version: 0.1.0
Summary: View highlighted python code
Author: Erik Beebe
Author-email: beebeapps_debugging@tuta.io
Requires-Python: >=3.11,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: bb-apputils (>=0.5.2,<0.6.0)
Description-Content-Type: text/markdown

# BB-PyCodeView

> View syntax highlighted code from a filename or module name

### Options

```console
$: code-view --help

    code-view - view highlighted python code

    ( -c |    --comments     ):  Show comments - default = False
    ( -f |    --function     ):  Function name - same as adding ':function' after module name
    ( -h |      --help       ):  Print help message
    ( -m |     --module      ):  View code from a module
                                  - will attempt to automagically parse this without the option given
    ( -n | --no-highlighting ):  Disable syntax highlighting in output
                                  - only effects output - string data is still processed
    ( -p |    --filepath     ):  View file contents
                                  - path can also be provided without this option
    ( -s |     --string      ):  Code view from a provided string

```

>   If the options `-p|--filepath`, `-m|--module`, or `-f|--function` are ommitted, it will attempt to automatically assign
> the arguments properly. May not work depending on the module name/path. Pathnames are almost guaranteed to work on their own.

