@jnv/lists-manage
TypeScript icon, indicating that this package has built-in type declarations

0.5.3 • 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

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

Optionally run with -c flag to autocommit the addition with proper commit message:

$ npx @jnv/lists-manage add -c

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.5.3
    1
    • latest

Version History

Package Sidebar

Install

npm i @jnv/lists-manage

Weekly Downloads

1

Version

0.5.3

License

MIT

Unpacked Size

39 kB

Total Files

52

Last publish

Collaborators

  • jnv