Giter Club home page Giter Club logo

tiny-cli's Introduction

Tiny CLI

Tiny CLI is a powerful front-end engineering command line tool.

Tiny CLI Website

Installation

Open git bash, zsh, and other command-line tools, type the following command, and press Enter:

npm i @opentiny/cli npminstall -g

Wait for a while. After the installation is complete, run $tiny -v on the terminal. If the version information is displayed, the installation is successful.

Note: Tiny-cli depends on the nodejs (12.x or later) and npm environments. Before installing Tiny CLI, ensure that nodejs and npm have been installed on the local host.

Docs

Usage

You can enter $tiny -h on the terminal to view the Tiny Help.

 tiny help info:  $ tiny [command] [options]

    $  tiny                     The help information is displayed. If a toolkit is used in the directory, the help information of the toolkit is also displayed.
    $  tiny init [toolkitName]  Initialization Kit
    $  tiny update [name]       Update module
    $  tiny list [type]         Plug-in list
    $  tiny i                   Installing the NPM Module
    $  tiny clear               Clear the local cache of Tiny.
    $  tiny help                Displays suite help information.
    $  tiny [name]              Other Invoking Plug-in Commands

   Options:

     -h, --help                Displays help information.
     -v, --version             Show Tiny Version


  Hint:
		Toolkits - To view help information about toolkits used in your project, execute this command in the project root directory.
		Plugins - To view the help information about the plugin, run the tiny [name] help command, for example, tiny git help.

Quick start

The @opentiny/tiny-toolkit-dev toolkit is used as an example to describe the development process.

  1. Initializing a project

    # Create and enter the project folder
    $ mkdir my-project && cd $_
    
    # Initializing the Dev Development Environment
    $ tiny init dev
  2. Enable the local environment.

    # Enabling the Dev Development Environment
    $ tiny start
  3. Compile and package the project.

    $ tiny build

ChangeLog

CHANGELOG.md

Support

If problems occur during development and use, create issues in the code repository.

Development Document

Prerequisites

  • Ensure that lerna has been installed: npm install --global lerna
  • Ensure that the node version is v12.x or later.

Local Development and Debugging Commands

Initialize:npm run init Development:npm run dev Build:npm run build Verify: npm run link

Build Process

Run the npm run build command in the root directory. The lib and dist directories are packed.

Participating in contributions

If you are interested in our open source project, please join us!

Please read [Contribution Guide] (CONTRIBUTING.md) before participating in a contribution.

  • Add the official assistant WeChat opentiny-official and join the technical exchange group.
  • Join the mailing list [email protected]

Open source protocol

MIT

tiny-cli's People

Contributors

fengyon avatar h-ivy avatar kagol avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.