GithubHelp home page GithubHelp logo

bhupal4all / learn-picocli Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 3.0 1.67 MB

We are going to implement a Todo CLI Application that has to create, edit, delete and list commands. The CLI application would be implemented using https://picocli.info/ library.

Java 99.69% Batchfile 0.31%
java-8 java-cli picocli

learn-picocli's Introduction

Java Command Line Interface - Todo Application

References

Create a Java Maven Project

Add Dependencies

    <dependency>
        <groupId>info.picocli</groupId>
        <artifactId>picocli</artifactId>
        <version>4.6.1</version>
    </dependency>

Annotations

CommandLine.Command

Property Description
name Name of the command (must be unique)
version Version of the command
mixinStandardHelpOptions To default help and version options to command
requiredOptionMarker To show required fields with a character such as *
description Command Description
header Command Header
optionListHeading Options Heading

%n would be used to add a New Line

CommandLine.Option

Name Description
names names of the options (must be unique)
required Required Option
description Description of the Option
paramLabel Option Label

learn-picocli's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.