2 releases
Uses new Rust 2024
0.1.1-alpha-1 | May 1, 2025 |
---|---|
0.1.0 | May 1, 2025 |
#415 in Configuration
311 downloads per month
64KB
1.5K
SLoC
jump-start-tools
The tools for jump-start: A shortcut to your favorite code.
This repo contains the jump-start
CLI.
To set up your own jump-start instance, navigate to jump-start-template instead!
Installation
Ensure you have Rust and Cargo installed.
Install the jump-start
CLI:
cargo install --path cli
Alternatively, once published to crates.io:
cargo install jump-start
Configuration
Set up your jump-start instances:
jump-start config
Running this prints the path to your config.json
. Edit it to add instances, for example:
{
"instances": [
{
"path": "/home/kevin/dev/jump-start/",
"name": "kevinschaul"
}
]
}
Usage
jump-start config
Print the path to your jump-start config file:
jump-start config
jump-start find
Search installed starters by name or content:
jump-start find [--json] <search-term>
Options: --json Output results as JSON -h, --help Display help
jump-start use
Copy a starter to your project:
jump-start use [--out <dir>] <starter-identifier>
Arguments:
Specify with <group>/<starter>
or <instance>/<group>/<starter>
Options: --out
Output directory (defaults to starter’s default) -h, --help Display helpjump-start storybook dev
Start the Storybook development server for your jump-start instance:
jump-start storybook dev [--port <port>]
Options: -p, --port Port to run Storybook on (default: 6006)
jump-start storybook prod
Build Storybook for production:
jump-start storybook prod [--output <dir>]
Options: -o, --output
Output directory (default: storybook-static)jump-start update-readme
Regenerate the README.md
in your jump-start instance:
jump-start update-readme
Neovim plugin
./nvim provides a Telescope extension to search and use jump-start starters.
To install with lazy.nvim:
{ dir = "~/dev/jump-start-tools/nvim" },
You will have a new Telescope picker. Run it with:
:Telescope jump_start find
But you problably want to set up your own mappings. Here is mine:
["<Leader>fj"] = {
function() require("telescope").extensions.jump_start.find() end,
desc = "Find jump-starter",
},
Development
CLI
Build and test the Rust CLI:
cargo build
cargo test
Install locally:
cargo install --path cli
Dependencies
~17–33MB
~525K SLoC