Git Product home page Git Product logo

cliez's Introduction

Cliez

A framework to make CLI-App easier.

Build status coverage MIT License Support Python implementations.

Why cliez

python argparser is powerful, but we still need to write some code by ourselves, especially for new python guy. you may make your code style looks ugly.

that's why we create cliez. make cli app easier and more elegant.

Installation

Automatic installation:

pip install cliez

cliez is listed in PyPI and can be installed with pip.

Manual installation: Download the latest source from Github.

git clone https://github.com/wangwenpei/cliez.git cd cliez python setup.py build sudo python setup.py install

The cliez source code is hosted on GitHub.

Prerequisites: cliez depends on Git and Mercurial.

Important Note: cliez 2.0 is not compatible forward and only works on python3+.

Quick Start

cliez check # check cliez depends

cd /tmp # change to tmp directory cliez create wangwenpei/cliez-kickstart cli-app # clone project from github

cd cli-app # change into cli-app directory cliez init # replace template variables

More tips

Although cliez is designed to create a cli app. but you can use it to create any project from github or bitbucket more easier.

you can create your own kickstart project to clone it and replace it.

  • create a project from bitbucket

cliez create <bitbucket-team>/<project> local-project-name --bitbucket

  • create a project from local repository,support Git and Mercurial

cliez create <local-path> local-project-name

  • init code with custom variable,the template variable name must be prefix 3 underline ___ and suffix ___, like this: ___NAME___

cliez init -s NAME:Jack -s SEX:male

cliez init -s NAME:Jack -s SEX:male --skip-builtin --yes # skip set builtin template variable.

Discussion and support

You can discuss and report bugs on the GitHub issue tracker.

This web site and all documentation is licensed under Creative Commons 3.0.

cliez's People

Contributors

9nix00 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cliez's Issues

文档改进

parser 内置的formatter 对 docstring的处理不是特别友好,需要改进

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.