Skip to content

Commit 2486a4c

Browse files
committed
Updated README with info about snap package
1 parent 3d87080 commit 2486a4c

File tree

2 files changed

+45
-13
lines changed

2 files changed

+45
-13
lines changed

README.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ shell2http
66
[![Coverage Status](https://coveralls.io/repos/github/msoap/shell2http/badge.svg?branch=master)](https://coveralls.io/github/msoap/shell2http?branch=master)
77
[![Docker Pulls](https://img.shields.io/docker/pulls/msoap/shell2http.svg?maxAge=3600)](https://hub.docker.com/r/msoap/shell2http/)
88
[![Homebrew formula exists](https://img.shields.io/badge/homebrew-🍺-d7af72.svg)](https://github.com/msoap/shell2http#install)
9+
[![Snap Status](https://build.snapcraft.io/badge/msoap/shell2http.svg)](https://build.snapcraft.io/user/msoap/shell2http)
910
[![Report Card](https://goreportcard.com/badge/github.com/msoap/shell2http)](https://goreportcard.com/report/github.com/msoap/shell2http)
1011

1112
HTTP-server for executing shell commands. Designed for develop, prototype or remote control.
@@ -61,18 +62,29 @@ MacOS:
6162
# update:
6263
brew upgrade shell2http
6364

64-
Or download binaries from: [releases](https://github.com/msoap/shell2http/releases/latest) (OS X/Linux/Windows/RaspberryPi)
65+
Using snap (Ubuntu or any Linux distribution with snap):
6566

66-
Or build from source:
67+
# install stable version:
68+
sudo snap install shell2http
69+
70+
# install the latest version:
71+
sudo snap install --edge shell2http
72+
73+
# update
74+
sudo snap refresh shell2http
6775

68-
go get -u github.com/msoap/shell2http
69-
# set link to your PATH if needed:
70-
ln -s $(go env GOPATH)/bin/shell2http ~/bin/shell2http
76+
Download binaries from: [releases](https://github.com/msoap/shell2http/releases/latest) (OS X/Linux/Windows/RaspberryPi)
7177

7278
Docker users:
7379

7480
docker pull msoap/shell2http
7581

82+
Build from source:
83+
84+
go get -u github.com/msoap/shell2http
85+
# set link to your PATH if needed:
86+
ln -s $(go env GOPATH)/bin/shell2http ~/bin/shell2http
87+
7688
Examples
7789
--------
7890

shell2http.1

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.\" generated with Ronn/v0.7.3
22
.\" http://github.com/rtomayko/ronn/tree/0.7.3
33
.
4-
.TH "SHELL2HTTP" "" "January 2018" "" ""
4+
.TH "SHELL2HTTP" "" "March 2018" "" ""
55
HTTP\-server for executing shell commands\. Designed for develop, prototype or remote control\. Settings through two command line arguments, path and shell command\. By default bind to :8080\.
66
.
77
.SH "Usage"
@@ -71,24 +71,29 @@ brew upgrade shell2http
7171
.IP "" 0
7272
.
7373
.P
74-
Or download binaries from: releases \fIhttps://github\.com/msoap/shell2http/releases/latest\fR (OS X/Linux/Windows/RaspberryPi)
75-
.
76-
.P
77-
Or build from source:
74+
Using snap (Ubuntu or any Linux distribution with snap):
7875
.
7976
.IP "" 4
8077
.
8178
.nf
8279

83-
go get \-u github\.com/msoap/shell2http
84-
# set link to your PATH if needed:
85-
ln \-s $(go env GOPATH)/bin/shell2http ~/bin/shell2http
80+
# install stable version:
81+
sudo snap install shell2http
82+
83+
# install the latest version:
84+
sudo snap install \-\-edge shell2http
85+
86+
# update
87+
sudo snap refresh shell2http
8688
.
8789
.fi
8890
.
8991
.IP "" 0
9092
.
9193
.P
94+
Download binaries from: releases \fIhttps://github\.com/msoap/shell2http/releases/latest\fR (OS X/Linux/Windows/RaspberryPi)
95+
.
96+
.P
9297
Docker users:
9398
.
9499
.IP "" 4
@@ -101,6 +106,21 @@ docker pull msoap/shell2http
101106
.
102107
.IP "" 0
103108
.
109+
.P
110+
Build from source:
111+
.
112+
.IP "" 4
113+
.
114+
.nf
115+
116+
go get \-u github\.com/msoap/shell2http
117+
# set link to your PATH if needed:
118+
ln \-s $(go env GOPATH)/bin/shell2http ~/bin/shell2http
119+
.
120+
.fi
121+
.
122+
.IP "" 0
123+
.
104124
.SH "Examples"
105125
.
106126
.nf

0 commit comments

Comments
 (0)