plastic-update

Solid

Use when updating Plastic. Runs the `update` verb, which reads the installed VERSION, derives its channel, queries npm dist-tags, and advances to the next version on that channel (or switches channel with a flag).

AI & Automation 9 stars 0 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 80/100

Stars 20%
33
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Update Plastic ## When to Use - User says "update plastic", "sync plastic", or "upgrade plastic" - Statusline shows "Plastic update available" - After a version-bump notification ## What it does `update` is a single deterministic command. It reads `~/.plastic/VERSION`, derives the channel from the version string (`-alpha`/`-beta`/none -> stable), queries `npm` dist-tags, and advances to the **next version on the current channel**. "Already up to date" is a clean no-op. You do not compute the target yourself, the script does. ## Channel rule If Plastic is installed, derive `<channel>` from `~/.plastic/VERSION`: a version containing `-alpha` means `@alpha`, `-beta` means `@beta`, otherwise `@latest`. If not installed (first install), default to `@latest`. The user can always override with `--alpha` / `--beta` / `--latest`. ## Flags | Flag | Behaviour | |------|-----------| | (none) | Advance to the next version on the **current** channel | | `--latest` | Switch to / advance the **stable** channel (toward stability, frictionless) | | `--beta` | Switch to / advance the **beta** channel | | `--alpha` | Switch to / advance the **alpha** channel (bleeding edge, confirmed if moving down in stability) | Switching toward a more stable channel is frictionless; switching toward bleeding edge is confirmed. To roll **back** to a previously-installed version, use `plastic-rollback`. ## Prerequisites Plastic must be installed (`~/.plastic/VERSION` present). If not, run `plastic-i...

Details

Author
zalom
Repository
zalom/plastic
Created
2 months ago
Last Updated
1 weeks ago
Language
Ruby
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category