File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,21 @@ const banner = `
3434βββββββββββββββββ ββββββββ βββ
3535`
3636
37+ const examples = `
38+ Invite peers in you LAN.
39+
40+ ziina -l 192.168.1.2:2222
41+
42+ Invite peers using **ssh.example.com** as entrypoint for your peers:
43+
44+ ziina -s ssh.example.com
45+
46+ Show connection info:
47+
48+ echo $ZIINA_CONNECTION_INFO
49+ echo $ZIINA_CONNECTION_INFO_RO
50+ `
51+
3752var (
3853 // sessionName contains the name of the Zellij session.
3954 // An empty string denotes that the host has not yet initiaed a session.
@@ -61,8 +76,9 @@ func randomString(length int) (string, error) {
6176
6277// App serves as entry-point for github.com/urfave/cli
6378var App = & cli.App {
64- Name : "ziina" ,
65- Usage : "π» π€ π₯ Instant terminal sharing; using Zellij." + "\n " + gorainbow .Rainbow (banner ),
79+ Name : "ziina" ,
80+ Usage : "π» π€ π₯ Instant terminal sharing; using Zellij." + "\n " + gorainbow .Rainbow (banner ),
81+ Description : examples ,
6682 Flags : []cli.Flag {
6783 & cli.StringFlag {
6884 Name : "listen" ,
You canβt perform that action at this time.
0 commit comments