komanda-cli

command module
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2016 License: BSD-3-Clause Imports: 12 Imported by: 0

README

Build Status

Komanda CLI

This is the sister app of https://github.com/mephux/komanda. I thought it would be fun so I did it. Komanda-cli is built using the awesome gocui package.

Would love some help to get it 1:1 with irssi. Maybe embed lua,mruby or something else for the script lang.

You Look Purdy

komanda Komanda-Channel

Download

Komanda Downloads

Usage

usage: komanda [<flags>]

The Komanda Command-line IRC Client

Flags:
    --help               Show context-sensitive help (also try --help-long and --help-man).
-s, --ssl                enable ssl
-i, --insecure           insecure ssl - skip verify. (self-signed certs)
-h, --host=HOST          hostname
-p, --port=PORT          port
-n, --nick=NICK          nick
-u, --user=USER          server user
-P, --password=PASSWORD  server password
-a, --auto               auto-connect on startup.
-c, --config=CONFIG      configuration file location
    --version            Show application version.

Keyboard

  • esc, right-arrow-key change to next channel
  • esc, left-arrow-key change to previous channel
  • ctrl+n change to next window
  • ctrl+p change to previous window
  • ctrl+alt+p scroll up
  • ctrl+alt+n scroll down
  • /help for everything else

/help output

-> [16:07] * ==================== HELP COMMANDS ====================
-> [16:07] * /exit  - exit komanda-cli
-> [16:07] * /connect  - connect to irc using passed arguments
-> [16:07] * /status  - status command
-> [16:07] * /help  - help command
-> [16:07] * /join <channel> - join irc channel
-> [16:07] * /part [channel] - part irc channel or current if no channel given
-> [16:07] * /clear  - clear current view
-> [16:07] * /logo  - logo command
-> [16:07] * /version  - version command
-> [16:07] * /nick <nick> - nick irc channel
-> [16:07] * /pass <password> - pass irc channel
-> [16:07] * /raw <command> [data] - raw command
-> [16:07] * /topic [channel] [topic] - set topic for given channel or current channel if empty
-> [16:07] * /window <id> - change window example: /window 3
-> [16:07] * /names  - list channel names
-> [16:07] * /query <user> [message] - send private message to user
-> [16:07] * /who <nick> - send who command to server
-> [16:07] * /whois <nick> - send whois command to server
-> [16:07] * /me [message] - send action message to channel
-> [16:07] * /notice <channel/nick> <message> - send notice message to channel or nick
-> [16:07] * ==================== HELP COMMANDS ====================

Features

  • config file support (change colors, time formats etc.)
  • activity monitoring (new messages/highlights)
  • color nick
  • znc support
  • 256 colors
  • tab complete
  • new window per channel
  • history
  • cross-platform desktop notifications

Config File Example

[Komanda]
  Debug = false
  LogFile = "/home/dweb/.komanda/komanda.log"

[Server]
  Host = "irc.freenode.net"
  Port = "6667"
  SSL = false
  Insecure = true
  Nick = "Komanda"
  User = "Komanda"
  Password = ""
  auto_connect = false

# http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html
[Color]
  Notice = 219
  Action = 118
  Black = 0
  White = 15
  Red = 160
  Purple = 92
  Logo = 75
  Yellow = 11
  Green = 119
  Menu = 209
  my_nick = 164
  other_nick_default = 14
  Timestamp = 247
  my_text = 129
  Header = 57
  QueryHeader = 11
  current_input_view = 215

# https://golang.org/pkg/time/#pkg-constants
[Time]
  message_format = "15:04"
  notice_format = "02 Jan 06 15:04 MST"
  menu_format = "03:04:05 PM"

TODO

  • Mad stuff

Self-Promotion

Like komanda-cli? Follow the repository on GitHub and if you would like to stalk me, follow mephux on Twitter and GitHub.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
ui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL