npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@cli-gama/command

v2.1.1

Published

> TODO: description

Downloads

5

Readme

CLI-Gama README

简介

CLI-Gama 是一个强大的脚手架工具,旨在帮助开发者快速创建、安装和管理前端项目。它提供了丰富的命令和选项,支持项目初始化、安装、代码检查和自动化提交等功能。

安装

请确保您的系统中已安装 Node.js 和 npm。然后通过以下命令全局安装 CLI-Gama:

bash
复制代码
npm install -g cli-gama

使用说明

CLI-Gama 提供以下命令和选项:

bash
复制代码
info version 2.0.0
Usage: cli-gama <command> [options]

Options:
  -V, --version          输出版本号
  -d, --debug            是否开启调试模式 (默认: false)
  -c, --clear-cache      清理Git缓存
  -h, --help             显示命令帮助信息

Commands:
  init [options] [name]  创建项目
  install                安装项目
  lint                   检查项目
  commit [options]       提交项目
  help [command]         显示指定命令的帮助信息

创建项目

使用 init 命令可以从模板库中下载对应的模板并安装到本地环境:

bash
复制代码
cli-gama init my-project

安装项目

使用 install 命令可以从 GitHub 和 Gitee 中搜索对应的库并下载下来进行安装:

bash
复制代码
cli-gama install

代码检查

使用 lint 命令可以调用 Jest 与 Mocha 进行测试:

bash
复制代码
cli-gama lint

提交项目

使用 commit 命令可以进行自动化提交到 Git 和云发布,同时可以打标签:

bash
复制代码
cli-gama commit -m "Initial commit"

英文版本

Introduction

CLI-Gama is a powerful scaffolding tool designed to help developers quickly create, install, and manage front-end projects. It offers a variety of commands and options, supporting project initialization, installation, code linting, and automated commits.

Installation

Make sure you have Node.js and npm installed on your system. Then, install CLI-Gama globally using the following command:

bash
复制代码
npm install -g cli-gama

Usage

CLI-Gama provides the following commands and options:

bash
复制代码
info version 2.0.0
Usage: cli-gama <command> [options]

Options:
  -V, --version          output the version number
  -d, --debug            enable debug mode (default: false)
  -c, --clear-cache      clear Git cache
  -h, --help             display help for command

Commands:
  init [options] [name]  create project
  install                install project
  lint                   lint project
  commit [options]       commit project
  help [command]         display help for command

Create Project

Use the init command to download the corresponding template from the template library and install it to the local environment:

bash
复制代码
cli-gama init my-project

Install Project

Use the install command to search and download the corresponding repository from GitHub and Gitee for installation:

bash
复制代码
cli-gama install

Lint Project

Use the lint command to invoke Jest and Mocha for testing:

bash
复制代码
cli-gama lint

Commit Project

Use the commit command to automate the submission to Git and cloud release, while also tagging:

bash
复制代码
cli-gama commit -m "Initial commit"

License

MIT License. See LICENSE for more information.