@semo/cli
A command line tools dispatcher
Last updated 7 days ago by vipzhicheng .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @semo/cli 
SYNC missed versions from official npm registry.

What's Semo?

Semo is a command-line tool framework, based on Yargs. It can be used to make your commands and scripts interact with your project in same way.

Features

  • Less concepts(command, plugin, hook, config), but more powerful.
  • All of plugins, commands, configs can be overridden in conventional order.
  • Easily register a command to Semo, so you can combine your team toolbox or workflow to Semo
  • A plugable REPL, it's not just like native node REPL, you can hook anything into REPL, which is also support await promise or generator functions.
  • Ability to extend command's subcommands in other plugins.
  • Provide a simple code generator mechanism.
  • Support npm organization plugins.

Principles

  • Consistency
  • Flexibility
  • Efficiency

Installation & Usage

$ npm i -g @semo/cli
$ semo help

semo [命令]

命令:
  semo application                 Application command namespace.                                       [aliases: app]
  semo hook                        Show hook info
  semo init                        Init basic config file and directories                                 [aliases: i]
  semo make <component>            Generate component sample code                               [aliases: generate, g]
  semo new <name> [repo] [branch]  Create a new project from specific repo                                [aliases: n]
  semo repl                        Play with REPL                                                         [aliases: r]
  semo script [file]               Execute a script                                                     [aliases: scr]
  semo shell                       Quick shell                                                           [aliases: sh]
  semo status                      Show environment status info                                          [aliases: st]
  semo completion                  Generate completion script

选项:
  --version   显示版本号                                                                                          [布尔]
  -h, --help  显示帮助信息                                                                                        [布尔]

Please refer to the documentation to learn how to use Semo, because you need to do the integration by yourself to make Semo work with your project.

Requirements

  • Node > v8.0

License

MIT

Current Tags

  • 0.0.43                                ...           latest (7 days ago)

30 Versions

  • 0.0.43                                ...           7 days ago
  • 0.0.42                                ...           7 days ago
  • 0.0.41                                ...           11 days ago
  • 0.0.40                                ...           14 days ago
  • 0.0.39                                ...           14 days ago
  • 0.0.38                                ...           14 days ago
  • 0.0.37                                ...           15 days ago
  • 0.0.36                                ...           15 days ago
  • 0.0.35                                ...           15 days ago
  • 0.0.34                                ...           15 days ago
  • 0.0.33                                ...           15 days ago
  • 0.0.28                                ...           17 days ago
  • 0.0.27                                ...           17 days ago
  • 0.0.26                                ...           17 days ago
  • 0.0.25                                ...           17 days ago
  • 0.0.24                                ...           17 days ago
  • 0.0.23                                ...           17 days ago
  • 0.0.22                                ...           17 days ago
  • 0.0.20                                ...           23 days ago
  • 0.0.19                                ...           a month ago
  • 0.0.17                                ...           a month ago
  • 0.0.16                                ...           a month ago
  • 0.0.15                                ...           a month ago
  • 0.0.14                                ...           a month ago
  • 0.0.13                                ...           a month ago
  • 0.0.12                                ...           a month ago
  • 0.0.11                                ...           a month ago
  • 0.0.10                                ...           a month ago
  • 0.0.9                                ...           a month ago
  • 0.0.8                                ...           a month ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 230
Last Day 0
Last Week 42
Last Month 120
Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |