tekton ![Latest Version] ![Workflow] ![Rustc Version 1.66+]


Author(s): Nicholas O'Kelley

Date started: 2022-08-28

Note: The code on the repo represents the work done for v0.2.0 which will be published to crates.io soon.

Motivation

I needed a tool to speed up the time I spent reviewing snippets on the friendly-snippet project.

The goals of such a tool are:


Installation and Usage

For published versions

For source builds

From the project root:

Usage

To convert:

Note:

To sort:

Note:


Demos

json-bay-bee

Conversion

Sorting


Current Limitations

  1. The conversion doesn't process in large batches of files like the sort. This is intentional as conversions between formats should be isolated and limited in scope.
  2. Snippet files with an array in the prefix field (even if it is just one) will convert all the snippets in the file to then have their snippets inserted into an array too.

  3. Currently do not sort Snipmate snippets.


Acknowledgements