scratch

command module
v0.0.0-...-d1d30cc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2026 License: MIT Imports: 12 Imported by: 0

README

scratch

scratch creates and tracks local temporary development environments.

Install

go install github.com/chargeflux/scratch@latest

Usage

scratch uses pebble to track environments in $HOME/.config/scratch/data on Linux/macOS and %AppData% on Windows.

Environments are created in $HOME/.local/share/scratch on Linux/macOS and %LocalAppData% on Windows.

scratch respects XDG_CONFIG_HOME and XDG_DATA_HOME.

Newly created environments automatically open in VS Code but this behavior can be overridden.

Commands

Create and open a new environment

scratch new <name> [--no-open]

List environments

scratch list

Delete environment by id, name and type or delete all environments

scratch delete [flags]

See scratch -h for more information about available commands and flags

Environments

Python: uv is used to initialize a new python project and virtual environment

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL