Skip to content

Commit 1c332ee

Browse files
committed
Add a snap
1 parent e10f341 commit 1c332ee

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

snap/snapcraft.yaml

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: underscore
2+
base: core18
3+
version: git
4+
summary: Command-line utility-belt for hacking JSON and Javascript
5+
description: |
6+
JSON is an excellent data interchange format and rapidly becoming the
7+
preferred format for Web APIs. Thusfar, most of the tools to process it
8+
are very limited. Yet, when working in JavaScript, JSON is fluid and
9+
natural.
10+
11+
Why can't command-line JavaScript be easy?
12+
13+
Underscore-CLI can be a simple pretty printer:
14+
15+
cat data.json | underscore print --color
16+
17+
Or it can form the backbone of a rich, full-powered JavaScript command-line,
18+
inspired by "perl -pe", and doing for structured data what sed, awk, and
19+
grep do for text.
20+
21+
cat example-data/earthporn.json | underscore extract 'data.children' \
22+
| underscore pluck data | underscore pluck title
23+
24+
25+
grade: stable
26+
confinement: strict
27+
28+
parts:
29+
underscore:
30+
plugin: nodejs
31+
source: .
32+
build-packages:
33+
- python
34+
- make
35+
- gcc
36+
- g++
37+
38+
apps:
39+
underscore:
40+
command: underscore
41+
plugs: [home, network]

0 commit comments

Comments
 (0)