thief-cli
Thief CLI =========
Last updated 3 months ago by bagusak95 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install thief-cli 
SYNC missed versions from official npm registry.

Thief CLI

oclif Version Downloads/week License

Introduction

Thief Command Line Interface (Thief CLI) is a tool for scraping website and manage data with command line/shell.

Installation

To install thief-cli in global mode, run this command in your terminal:

$ npm install -g thief-cli

This is the preferred method to install thief-cli, as it will always install the most recent stable release.

Commands

thief version

Get current version

USAGE
  $ thief (-v|--version|version)

OUTPUT
  thief-cli/0.0.1 darwin-x64 node-v8.14.0

thief init [Target Name]

Set up new target

USAGE
  $ thief init my-target-3

OUTPUT
  Description: this is for description

This command will generate a my-target-3.yml

thief list-target

Your target list

USAGE
  $ thief list-target

OUTPUT
  ┌───────────────┬────────────────────────────────────────────────────────────────────────────────────┐
  │ Target Name   │ Description                                                                        │
  ├───────────────┼────────────────────────────────────────────────────────────────────────────────────┤
  │ my-target-1   │ this is for description                                                            │
  ├───────────────┼────────────────────────────────────────────────────────────────────────────────────┤
  │ my-target-2   │ this is for description                                                            │
  ├───────────────┼────────────────────────────────────────────────────────────────────────────────────┤
  │ my-target-3   │ this is for description                                                            │
  └───────────────┴────────────────────────────────────────────────────────────────────────────────────┘

thief select-target

Select your target

USAGE
  $ thief select-target

OPTIONS
  --name=Target Name

OUTPUT
  ? Select a target 
  ❯ my-target-1 
    my-target-2
    my-target-3

thief current-target

Your active target

USAGE
  $ thief current-target

OUTPUT
  Your active target is my-target-1

thief delete-target

Delete your target

USAGE
  $ thief delete-target

OPTIONS
  --name=Target Name

OUTPUT
  ? Select a target 
  ❯ my-target-1 
    my-target-2
    my-target-3

thief test

Test stealing data

USAGE
  $ thief test

OUTPUT
  Try to stealing https://demo.website.com/1... done

  ┌───────────────┬────────────────────────────────────────────────────────────────────────────────────┐
  │ Content       │ Result                                                                             │
  ├───────────────┼────────────────────────────────────────────────────────────────────────────────────┤
  │ my-content-1  │ this is for result                                                                 │
  ├───────────────┼────────────────────────────────────────────────────────────────────────────────────┤
  │ my-content-2  │ this is for result                                                                 │
  ├───────────────┼────────────────────────────────────────────────────────────────────────────────────┤
  │ my-content-3  │ this is for result                                                                 │
  └───────────────┴────────────────────────────────────────────────────────────────────────────────────┘
  ┌───────────────┬────────────────────────────────────────────────────────────────────────────────────┐
  │ Content       │ Result                                                                             │
  ├───────────────┼────────────────────────────────────────────────────────────────────────────────────┤
  │ my-content-1  │ this is for result                                                                 │
  ...

thief start

Start stealing data

USAGE
  $ thief start
  
OUTPUT
  Try to stealing https://demo.website.com/1... done
  Try to stealing https://demo.website.com/2... done
  Try to stealing https://demo.website.com/3... ⣻

Current Tags

  • 1.1.1                                ...           latest (3 months ago)

12 Versions

  • 1.1.1                                ...           3 months ago
  • 1.1.0                                ...           3 months ago
  • 1.0.8                                ...           3 months ago
  • 1.0.7                                ...           3 months ago
  • 1.0.6                                ...           3 months ago
  • 1.0.5                                ...           3 months ago
  • 1.0.4                                ...           3 months ago
  • 1.0.3                                ...           4 months ago
  • 1.0.2                                ...           4 months ago
  • 1.0.0                                ...           4 months ago
  • 0.1.1                                ...           4 months ago
  • 0.0.10                                ...           4 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 12
Last Day 12
Last Week 12
Last Month 0
Dependencies (16)
Dev Dependencies (13)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |