Coder Social home page Coder Social logo

cli's Introduction

issues2markdown

License Coverage Status Coverage Status Go Report Card

Convert a list of issues to markdown.

Installation

Once you have installed Go, run these commands to install issues2markdown tool:

go get github.com/issues2markdown/cli

Documentation

Execute the following command to get the provided command line tool usage information:

$ issues2markdown --help
issues2markdown converts a list of github issues to markdown list format

Usage:
  issues2markdown [flags]

Flags:
      --github-token string   github token
  -h, --help                  help for issues2markdown
  -v, --verbose               enable verbose mode
      --version               version for issues2markdown

Example output

An example of the output could be:

- [ ] org/repo : [Issue Title 1](https://github.com/org/repo/issues/1)
- [x] org/repo : [Issue Title 2](https://github.com/org/repo/issues/2)
- [x] org/repo : [Issue Title 3](https://github.com/org/repo/issues/3)
- [ ] org/repo2 : [Issue Title 1](https://github.com/org/repo2/issues/1)

Which will render as:

License

Copyright (c) 2018 issues2markdown Authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

cli's People

Contributors

repejota avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cli's Issues

Add verbose mode

Description

Add verbose flag to show verbose debug execution information to the CLI tool.

  • By default verbose mode is false or off
  • Support for --verbose long option
  • Support for -v short optiob

Support ordering direction

Description

Add support for flag --order-direction

  • QueryOptions must have support for sorting direction property.
  • Field name could be SortDirection or OrderDirection or Order.
  • Possible values are: "asc", "desc"
  • Default value is "desc"

Implement -version flag

Description

Implement -version flag.
Shoud report the current version number and also the build.

Do not hardcode github key

Description

Currently the token key to use the github api is hardcoded. Provide this information using:

  • A flag
  • An environment variable
  • Configuration file
  • ...

Support ordering

Description

Add support for flag --order-by

  • QueryOptions must have support for sorting property.
  • Field name could be Sort or Order.
  • Possible values are: "", "comments", "created", "updated"
  • Default value is "" which means best match

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.