Socket
Socket
Sign inDemoInstall

@eckidevs/tool

Package Overview
Dependencies
27
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @eckidevs/tool

Tool CLI for everyday tasks.


Version published
Maintainers
1
Created

Readme

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

Last updated on 24 Jan 2022

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc