Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@jnv/lists-manage

0.3.0 • Public • Published

@jnv/lists-manage

oclif Version License

CLI program to manage lists project.

Usage

You must have Node.js 10+ and npm installed.

Then inside the cloned repository of lists project (where the README.md file is located) run:

$ npx @jnv/lists-manage add -w https://github.com/link-to/awesome-list

This will run this package and prompt you about the list you are about to add.

See Commands below for additional options and features.

Commands

lists-manage add [URL]

Add list URL to the Markdown file

USAGE
  $ lists-manage add [URL]

ARGUMENTS
  URL  URL of the list to add (in form of https://github.com/user/repo)

OPTIONS
  -c, --commit       commit changes to git
  -f, --file=file    [default: README.md] markdown file to work with
  -h, --help         show CLI help
  -p, --[no-]prompt  disable interactive prompt; enabled by default, disabled when output is being redirected
  -w, --[no-]write   modify file in place; enabled by default, prints file contents to stdout when disabled

EXAMPLES
  $ lists-manage add
  $ lists-manage add https://github.com/some-user/awesome-list
  $ lists-manage add --no-write https://github.com/some-user/awesome-list

See code: src/commands/add.ts

lists-manage fix

Fix removed and redirected links

USAGE
  $ lists-manage fix

OPTIONS
  -f, --file=file  [default: README.md] Markdown file to work with
  -h, --help       show CLI help
  -w, --write      Edit [file] in place

EXAMPLES
  $ lists-manage fix -w
  $ lists-manage fix -f MY_LISTS_FILE.md

See code: src/commands/fix.ts

lists-manage help [COMMAND]

display help for lists-manage

USAGE
  $ lists-manage help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

lists-manage sort

Just sort the items in file

USAGE
  $ lists-manage sort

OPTIONS
  -f, --file=file  [default: README.md] Markdown file to work with
  -h, --help       show CLI help
  -w, --write      Edit [file] in place

EXAMPLES
  $ lists-manage sort -w
  $ lists-manage sort -f MY_LISTS_FILE.md

See code: src/commands/sort.ts

License

MIT

Keywords

none

Install

npm i @jnv/lists-manage

DownloadsWeekly Downloads

0

Version

0.3.0

License

MIT

Unpacked Size

37.7 kB

Total Files

52

Last publish

Collaborators

  • avatar