You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@eckidevs/tool

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eckidevs/tool

Tool CLI for everyday tasks.

0.1.5
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

Tool

General purpose CLI tool for everyday things 🛠️

Installation

npm install -g @eckidevs/tool

or

yarn global add @eckidevs/tool

Usage

Tool is very bare bones for now. 🖖

Get command

tool get <options> <target>

Options

  • -f or --file: A file path (absolute/relative).
  • -u or --url: A http(s) url to fetch text content from.

Target

If -f is passed, a PathLike string should be passed directly after the flag. If -u is passed, a valid url to fetch content in utf-8.

CLI help output

main help

tool <command> <option>

Commands:
  tool get  Gets file or web address text content.

Options:
      --version  Show version number                                   [boolean]
  -h, --help     Show help                                             [boolean]

Kaizen Media CC

get help

tool get <option> [url | path]

Options:
      --version  Show version number                                   [boolean]
  -f, --file     File path to read. Can be absolute or relative.        [string]
  -u, --url      The url to request text content from                   [string]
  -h, --help     Show help                                             [boolean]

Examples:
  tool get -f example.txt         Gets the file contents as a string
  tool get -u https://google.com  Retrieves a web response as text.

Contribute something that you want to use errr day ✌️

FAQs

Package last updated on 24 Jan 2022

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