Coder Social home page Coder Social logo

monomonedula / gopdd Goto Github PK

View Code? Open in Web Editor NEW
12.0 2.0 0.0 19 KB

Command line tool for collecting TODO markers from your code, known as Puzzle Driven Development (PDD)

License: MIT License

Go 99.00% Python 1.00%
go golang pdd management markers puzzle todo

gopdd's Introduction

GoPdd

PDD puzzle collector

A port of the original PDD written in Ruby, but with JSON output and written in Go, so it compiles into a single pretty executable.

Expected formatting and most of the functionality is the same, so feel free to use documentation from the original repo for reference on how to write puzzles.

NAME:
   GoPdd - Todo puzzle collector

USAGE:
   GoPdd [global options] command [command options] [arguments...]

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --source value, -s value                                 Source directory to parse (default: ".")
   --file value, -f value                                   File to save JSON output into
   --verbose, -v                                            Enable verbose mode (a lot of logging) (default: false)
   --skip-gitignore                                         Don't look into .gitignore for excludes (default: false)
   --skip-errors                                            Suppress error as warning and skip badly formatted puzzles (default: false)
   --rule value, -r value [ --rule value, -r value ]        Rule to apply (can be used many times). Possible values: 'max-estimate:<int>', 'min-estimate:<int>', 'min-words:<int>', 'available-roles:<ROLENAME>,<ROLANME>...'
   --include value, -n value [ --include value, -n value ]  Glob pattern to include, e.g. "**/*.jpg"
   --exclude value, -e value [ --exclude value, -e value ]  Glob pattern to exclude, e.g. "**/*.jpg"
   --help, -h                                               show help

Example output:

[
  {
    "id": "209-c992021",
    "ticket": "209",
    "estimate": 30,
    "role": "DEV",
    "lines": "3-5",
    "body": "whatever 1234. Please fix soon 1.",
    "file": "resources/foobar.py",
    "author": "monomonedula",
    "email": "[email protected]",
    "time": "2023-03-26T23:27:31+03:00"
  },
  {
    "id": "321-b7bbd66",
    "ticket": "321",
    "estimate": 60,
    "role": "DEV",
    "lines": "9-11",
    "body": "very important issue. Please fix soon 2.",
    "file": "resources/foobar.py",
    "author": "monomonedula",
    "email": "[email protected]",
    "time": "2023-03-26T23:27:31+03:00"
  }
]

Installation:

go install -v github.com/monomonedula/gopdd/cmd/gopdd@latest

Tested on MacOS and Linux.

gopdd's People

Contributors

monomonedula avatar

Stargazers

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