feat: unified pellet CLI + YAML cook presets - #14
Merged
Conversation
This was referenced Jul 4, 2026
Adds pellet.py as a thin dispatcher to the existing scripts (poll/history/ trend/plot/export) plus --preset expansion: `pellet watch --preset brisket` fills in --stage/--probe-name from presets/brisket.yaml instead of typing them out every cook. Presets are just the same spec strings plan.py/ probe_names.py already parse (stage_specs/name_specs) -- no separate schema to keep in sync. Ships 4 presets (brisket, pork-butt, ribs, chicken) and a minimal pyproject.toml with a console_scripts entry point for `pip install -e .`. Preset loading is size-capped and rejects path-traversal names, same bar as the existing plan.py/probe_names.py config-file handling.
ctopherwilliams
force-pushed
the
feat/pellet-cli-presets
branch
from
July 5, 2026 01:41
f438dab to
11e42c1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pelletcommand wraps the existing scripts (watch/history/trend/chart/export) behind one entry point.--preset NAMEexpands to--stage/--probe-nameflags frompresets/*.yaml(brisket, pork-butt, ribs, chicken shipped) -- no separate schema, just the same spec strings plan.py/probe_names.py already parse.pyproject.tomladds apelletconsole script forpip install -e .; running the scripts directly still works unchanged.Test plan
pellet presets,pellet watch --preset brisket --speakargv expansion, and each subcommand dispatch