dev-to-sync
Sync your DEV account with a local folder
Last updated 5 months ago by beeman .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install dev-to-sync 
SYNC missed versions from official npm registry.

dev-to-sync

Two-way sync of your DEV account with a local folder.

This tool is inspired by (and uses code) from dev-to-git, which implements one-way local -> DEV sync.

oclif Version CircleCI Downloads/week License

Usage

$ npm install -g dev-to-sync
$ dev-to-sync COMMAND
running command...
$ dev-to-sync (-v|--version|version)
dev-to-sync/0.5.0 darwin-x64 node-v12.18.2
$ dev-to-sync --help [COMMAND]
USAGE
  $ dev-to-sync COMMAND
...

Commands

dev-to-sync config:delete

Delete the config file

USAGE
  $ dev-to-sync config:delete

OPTIONS
  -g, --global  (required) Global config
  -h, --help    show CLI help

See code: src/commands/config/delete.ts

dev-to-sync config:edit

Edit the config file

USAGE
  $ dev-to-sync config:edit

OPTIONS
  -g, --global  (required) Global config
  -h, --help    show CLI help

See code: src/commands/config/edit.ts

dev-to-sync config:get KEY

Retrieve value from app config

USAGE
  $ dev-to-sync config:get KEY

OPTIONS
  -g, --global  (required) Global config
  -h, --help    show CLI help

See code: src/commands/config/get.ts

dev-to-sync config:list

List app config

USAGE
  $ dev-to-sync config:list

OPTIONS
  -g, --global  (required) Global config
  -h, --help    show CLI help

See code: src/commands/config/list.ts

dev-to-sync config:set KEY VALUE

Store value in app config

USAGE
  $ dev-to-sync config:set KEY VALUE

OPTIONS
  -g, --global  (required) Global config
  -h, --help    show CLI help

See code: src/commands/config/set.ts

dev-to-sync create TITLE

Create an article on DEV

USAGE
  $ dev-to-sync create TITLE

See code: src/commands/create.ts

dev-to-sync hello [FILE]

describe the command here

USAGE
  $ dev-to-sync hello [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name to print

EXAMPLE
  $ dev-to-sync hello
  hello world from ./src/hello.ts!

See code: src/commands/hello.ts

dev-to-sync help [COMMAND]

display help for dev-to-sync

USAGE
  $ dev-to-sync help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

dev-to-sync list [INDEX]

List articles in a DEV account

USAGE
  $ dev-to-sync list [INDEX]

See code: src/commands/list.ts

dev-to-sync pull [INDEX]

Pull articles from the DEV api and save them in a local path.

USAGE
  $ dev-to-sync pull [INDEX]

OPTIONS
  --dir=dir  [default: posts] Name of the directory the articles will be stored in

See code: src/commands/pull.ts

dev-to-sync push [INDEX]

Read articles from a local path and push to DEV.

USAGE
  $ dev-to-sync push [INDEX]

OPTIONS
  -t, --timeout=timeout  [default: 500] Timeout in milliseconds between calls to DEV api

See code: src/commands/push.ts

Current Tags

  • 0.5.0                                ...           latest (5 months ago)

4 Versions

  • 0.5.0                                ...           5 months ago
  • 0.4.2                                ...           6 months ago
  • 0.3.0                                ...           6 months ago
  • 0.2.0                                ...           6 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |