Code Monkey home page Code Monkey logo

taskmapper-cli's Introduction

tm - Command line interface for TaskMapper

This application provides an easy to use interface to interact with any TaskMapper provider in an standard way.

Install:

gem install tm

Also it will be include with TaskMapper so no need to install it alone.

Use

Authentication

tm --provider kanbanpad --authentication 'token:kdkdjdkd,username:username'

Refer to particular providers documentation to know which fields they need for authentication. After using this mechanism for authentication is better to pass the ‘initconfig` command to not be writing the credentials for each command. This will use the specified provider name as default.

Project command

List projects

Available options

  • –format=pretty|csv|table (Default: pretty)

  • –no-color

This is the default operation on projects. It will list all the projects for a given user. (Default: –list=all)

tm project --list=all --format=table

tm project --list=single --search-attribute='name:Project'

Task command

List tasks

Available options

  • –format=pretty|csv|table (Default: pretty)

  • –no-color

This is the default operation on tasks. It will list all the tasks for a given project.

Note: For the –project-attribute option you should send an attribute for the project to search, ex. ‘name:test-project’ (Default –list=all)

tm task --project-attribute='name:test-project'

tm task --list=first --project-attribute='name:test-project'

tm task --list=last --project-attribute='name:test-project'

tm task --list=single --project-attribute='name:test-project' --task-attribute='title:test-task'

Create task

This particular needs needs –project-attribute and –task-attribute to work on an existing project and task respectevily.

tm task --project-attribute='name:test-project' --task-attribute='title:testing' --create-task

Comment command

List comments

Available options

  • –format=pretty|csv|table (Default: pretty)

  • –no-color

This is the default operation on comments. It will list all the comments for a given task.

Note: This command is dependant of two other options, –project-attribute and –task-attribute. The –project-attribute is the same as the task command, it’s needed to figure out which project the command will execute upon, the –task-attribute is needed to figure out on which particular task the user will retrieve the comments. (ex. ‘title:test-task’)

tm comment --project-attribute='name:test-project' --task-attribute='title:test-task'

Create comments

This command needs three mandatory options –project-attribute, –task-attribute and –comment-attribute.

tm comment --project-attribute='name:test-project --task-attribute='title:test-task' --command-attribute='body:testing' --create-comment

For more help

tm help
tm help <command>

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.