🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More →
Socket
Book a DemoSign in
Socket

flock-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flock-cli

Command line utility for flock

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

flock-cli

Command line interface for flock messaging

Quick start

# Install flock-cli app from flock app store
# Note down the auth token recieved in mail
> export FLOCK_TOKEN <auth_token>

> npm install -g flock-cli

> flock

Menu Menu

# One command usage

> flock -u "first_name last_name" -m "Hello"

> flock -g "group_name" -f file.txt

> flock -g "group_name" --image img.png

> flock -g "group_name" --flockml "<flockml><b>Hello</b></flockml>"

# Help

> flock --help
USAGE: node flock [OPTION1] [OPTION2]... arg1 arg2...
The following options are supported:
  -t, --token <ARG1> 	Specify the Flock API token.
  -m, --text <ARG1>  	Specify the text message you want to send
  -u, --to <ARG1>    	Specify the user you want to send the message to in format "first_name<space>last_name"
  -g, --group <ARG1> 	Specify the group you want to send the message to
  -f, --file <ARG1>  	Specify file path to upload
  --flockml <ARG1>   	Specify Flock Markup language
  --image <ARG1>     	Specify URL of the image

PS: In case you can't recall what a particular unix command does, this app also contains a bot (flock-cli Bot), which responds to unix commands with their man pages.

FAQs

Package last updated on 24 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts