Enhanced console output for Jac CLI with Rich formatting
Project description
Jac Super
Enhanced console output plugin for Jac CLI with Rich formatting, plus shadcn-style UI components for Jac projects.
Installation
pip install jac-super
Once installed, the plugin automatically registers and enhances all Jac CLI command output.
Usage
No configuration required. After installation, jac-super automatically enhances output for all Jac commands:
jac create- Enhanced project creation messagesjac start- Server startup and status messagesjac run- Formatted execution outputjac config- Styled configuration display
Environment Variables
| Variable | Effect |
|---|---|
NO_COLOR |
Disables colors (fallback to base console) |
NO_EMOJI |
Disables emojis (uses text labels) |
TERM=dumb |
Disables both colors and emojis |
Shadcn Components
jac-super also brings shadcn/ui-style components to Jac projects. The components, styles, and color themes all ship bundled with the plugin (under jac_super/shadcn/registry/), so create, theme, add, and remove all work fully offline -- no network calls.
Create a themed project
jac create --use jac-shadcn --theme rose --font inter myapp
Scaffolds a themed starter (generated global.css, lib/utils, button/card, and a main.jac demo). All theme flags are optional: --style (nova|vega|maia|lyra|mira), --baseColor, --theme, --font, --radius, --menuAccent. The chosen values are written to [jac-shadcn] in jac.toml.
Re-theme in place
jac retheme --theme emerald --font outfit # switch accent + font
jac retheme --style mira # switch style + restyle installed components
jac retheme # regenerate global.css from jac.toml
jac retheme regenerates global.css from the [jac-shadcn] config (with optional flag overrides) and, when --style changes, re-resolves the components already in components/ui/.
Add / remove components
jac add --shadcn button card dialog # resolve + install (auto-resolves peer deps)
jac remove --shadcn button dialog # delete from components/ui/
Adding components resolves the chosen style's Tailwind classes from the bundled sources, writes .cl.jac files to components/ui/, updates [dependencies.npm] in jac.toml, and creates lib/utils.cl.jac with the cn() helper if missing. The component set under jac_super/shadcn/registry/ is a vendored snapshot of the jac-shadcn repo.
Configure the style
Add a [jac-shadcn] section to your project's jac.toml:
[jac-shadcn]
style = "nova" # nova | vega | maia | lyra | mira
Use components in your code
cl import from "./components/ui/button" { Button }
cl {
def:pub MyPage() -> JsxElement {
return <div>
<Button variant="outline">Click me</Button>
</div>;
}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jac_super-0.1.16-py3-none-any.whl.
File metadata
- Download URL: jac_super-0.1.16-py3-none-any.whl
- Upload date:
- Size: 879.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29ddc567a61766ff22da8096502aae66906f17f5d71de7223d605a972f689de3
|
|
| MD5 |
bd6ab1c48d038128ca250b10ce93f0a9
|
|
| BLAKE2b-256 |
1e983f36d37224269c9f8ca0aa4dbac2027c2d75eec675f1617202972ee76971
|