sparke

command module
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2026 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

sparke

sparke is a personal CLI tool to improve productivity when starting new projects.

It scaffolds simple project structures for:

  • Rust
  • Python
  • Go

Requirements

This tool runs external commands, so you need these installed:

  • Go (to build and run sparke)
  • git (to initialize generated repositories)
  • faz (to initialize task tracking in generated projects)
  • Cargo (for Rust project creation)
  • uv (for Python project creation)
  • just (optional, to use the generated justfile recipes)

Quick start

# Install directly from GitHub:
go install github.com/rpcarvs/sparke@latest

# Or clone the repo and install locally:
go install .
# If `sparke` is not found, add GOPATH/bin to PATH (Bash example):
grep -q '$(go env GOPATH)/bin' ~/.bashrc || echo 'export PATH="$PATH:$(go env GOPATH)/bin"' >> ~/.bashrc
source ~/.bashrc

Usage

Run sparke with no subcommand to enter the interactive flow.

sparke

The interactive flow will:

  • let you choose Go, Rust, or Python
  • ask for Rust and Python project types when applicable
  • ask for the target directory, where an empty value means the current directory
  • ask separately for the Go module name when Go is selected

You can still use the explicit CLI commands when you want a non-interactive flow.

Useful built-in CLI helpers:

sparke --version
sparke completion zsh
Go project

To scaffold a Go project with a minimalist dir structure:

sparke go my-go-app
Rust project

To scaffold a Rust project (binary or library) following cargo init standards:

sparke rust my-rust-app
sparke rust my-rust-lib --lib
Python project

To scaffold a Python project (app, library or package) following uv init standards:

sparke python my-python-app
sparke python my-python-lib --lib
sparke python my-python-package --package

Documentation

Overview

Copyright © 2026 Rodrigo Carvalho rpcarvs@pm.me

Directories

Path Synopsis
cmd
Package cmd holds the CLI base command
Package cmd holds the CLI base command
assets command

Jump to

Keyboard shortcuts

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