@picosix/cli
Picosix - modern, fast, powerful big data platform (#cli)
Last updated 8 months ago by picosix .
UNLICENSED · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @picosix/cli 
SYNC missed versions from official npm registry.

@picosix/cli

Picosix - modern, fast, powerful big data platform (#cli)

oclif Version Downloads/week License

Usage

$ npm install -g @picosix/cli
$ picosix COMMAND
running command...
$ picosix (-v|--version|version)
@picosix/cli/1.0.21 darwin-x64 node-v10.16.3
$ picosix --help [COMMAND]
USAGE
  $ picosix COMMAND
...

Commands

picosix copy ENTITY PROCESSNAME

Copy your data from mongodb to elasticsearch

USAGE
  $ picosix copy ENTITY PROCESSNAME

ARGUMENTS
  ENTITY       (post|comment) Your index entity likes: post or comment
  PROCESSNAME  (master|worker) Process you want to run

OPTIONS
  -c, --cron=cron                        Run by cronjob (Please check [cron] for more details)
  -h, --help                             show CLI help
  -i, --fetchOpts.ids=fetchOpts.ids
  -l, --fetchOpts.limit=fetchOpts.limit
  -r, --bulkOpts.refresh

  -s, --settings=settings                /path/to/your/settings/file or json string (Please check [jsonic] for more
                                         details)

  -w, --workingDir=workingDir            (required) [process.env.PWD] Defined working directory

  --maxRound=maxRound                    [default: 99]

See code: dist/commands/copy.ts

picosix help [COMMAND]

display help for picosix

USAGE
  $ picosix help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

picosix import DATA

Import your data

USAGE
  $ picosix import DATA

ARGUMENTS
  DATA  /path/to/your/data or json string (Please check [jsonic] for more details)

OPTIONS
  -h, --help                   show CLI help
  -r, --repository=repository
  -s, --settings=settings      /path/to/your/settings/file or json string (Please check [jsonic] for more details)
  -w, --workingDir=workingDir  (required) [process.env.PWD] Defined working directory

picosix master FLOW

Exec Master Engine of Picosix Platform

USAGE
  $ picosix master FLOW

ARGUMENTS
  FLOW  Your defined flow like: spider.links, link.details, link.comments, ...

OPTIONS
  -c, --cron=cron                                    Run by cronjob (Please check [cron] for more details)
  -h, --help                                         show CLI help
  -l, --spiderOpts.limit=spiderOpts.limit
  -q, --spiderOpts.query=spiderOpts.query

  -s, --settings=settings                            /path/to/your/settings/file or json string (Please check [jsonic]
                                                     for more details)

  -u, --spiderOpts.urls=spiderOpts.urls

  -w, --workingDir=workingDir                        (required) [process.env.PWD] Defined working directory

  --spiderOpts.insertUrlsIfNotFound

  --spiderOpts.skipDuration=spiderOpts.skipDuration  Don't select spider in this duration (unit: minutes)

picosix prepare

Prepare your data for crawler

USAGE
  $ picosix prepare

OPTIONS
  -h, --help                   show CLI help
  -s, --settings=settings      /path/to/your/settings/file or json string (Please check [jsonic] for more details)
  -w, --workingDir=workingDir  (required) [process.env.PWD] Defined working directory

picosix worker FLOW

Exec Worker Engine of Picosix Platform

USAGE
  $ picosix worker FLOW

ARGUMENTS
  FLOW  Your defined flow like: spider.links, link.details, link.comments, ...

OPTIONS
  -h, --help                   show CLI help
  -s, --settings=settings      /path/to/your/settings/file or json string (Please check [jsonic] for more details)
  -w, --workingDir=workingDir  (required) [process.env.PWD] Defined working directory

Current Tags

  • 1.0.21                                ...           latest (8 months ago)

17 Versions

  • 1.0.21                                ...           8 months ago
  • 1.0.20                                ...           9 months ago
  • 1.0.19                                ...           9 months ago
  • 1.0.18                                ...           9 months ago
  • 1.0.17                                ...           9 months ago
  • 1.0.16                                ...           9 months ago
  • 1.0.15                                ...           9 months ago
  • 1.0.12                                ...           9 months ago
  • 1.0.11                                ...           9 months ago
  • 1.0.10                                ...           9 months ago
  • 1.0.9                                ...           9 months ago
  • 1.0.8                                ...           9 months ago
  • 1.0.7                                ...           9 months ago
  • 1.0.5                                ...           9 months ago
  • 1.0.3                                ...           9 months ago
  • 1.0.2                                ...           9 months ago
  • 1.0.1                                ...           9 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (10)
Dev Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |