#command-line #command-line-tool #template #projects #skeleton #dont #cli

app skely

A simple command line tool for using and managing skeleton projects

9 releases (2 stable)

2.1.0 Mar 27, 2024
2.0.0 Mar 12, 2024
0.1.7 Apr 5, 2023
0.1.6 Mar 18, 2023

#288 in Command line utilities

Download history 3/week @ 2024-09-19 4/week @ 2024-09-26 11/week @ 2024-10-03

436 downloads per month

MIT license

15KB
267 lines

Skely 💀

A simple command line tool for managing and using skeleton projects

About

Skely is a command line tool for managing and using project templates. Skely is especially useful when working with languages like C that don't have the luxury of a cargo-esque project initializer.

Installation

To install Skely run

cargo install skely

Configuration

Settings

Skely uses the SK_PLACEHOLDER enviroment variable to determine a placeholder string to replace with a project name when using a skeleton. If this variable is unset, it will default to PLACEHOLDER.

Usage

New

To create a new project using skeleton do sk new <PROJECT NAME>. sk new foo will create project at /foo. Additional options can be found using sk new --help.

Add

Skely can add new skeletons by passing Skely a directory or file to copy. sk add foo/ will add foo/ as a skeleton, found at ~/.config/sk/skeletons/foo/.

Remove

To remove a skeleton do sk remove <PROJECT NAME>.

List

To list all configured skeletons do sk list.

Completion

To generate shell completion for Skelly do sk completion <SHELL>. To see supported shells do sk completion --help. Installing completion scripts is dependent on your shell. With zsh and oh-my-zsh it would look something like this:

mkdir ~/.oh-my-zsh/completions
sk completion zsh > ~/.oh-my-zsh/completions/_sk
omz reload

If you've read this far, thank you for taking interest in my software, it is much appreciated :).

Dependencies

~1.4–8.5MB
~77K SLoC