Create tasks from CLI and post it to task management platforms
# Create task
tasker create task -tool="asana" -proj=1234 -name="This is a test task" -desc="We would need to try building this product properly"
# List projects
tasker list projects -tool="asana"
# List tasks for a project
# Project would usually refer to id
tasker list tasks -tool="asana" -proj=1234
# Create task for multiple platforms at the same time
tasker create -name="This is a test task" -desc="We would need to try building this product properly" -tool="asana,github"
Example of testing with asana apis
curl -X GET -H "Authorization: Bearer <personal_access_token>" -H "Content-Type: application/json" https://app.asana.com/api/1.0/projects
Example of testing with github apis
curl -X GET -H "Accept: application/vnd.github.v3+json" -H "Authorization: token <access token>" https://api.github.com/issues
curl -X GET -H "Accept: application/vnd.github.v3+json" -H "Authorization: token <access token>" https://api.github.com/repos/hairizuanbinnoorazman/tasker/issues
Warning: Project is still not stable - there will be plenty of internal API changes required in order to ensure compatability and smoother experience for users
To try and use the development version
# Go build command would create the binary of the CLI Tool
# It would generate a binary called tasker
go build
# Run the above tasker command if one so wishes (Not all are implemented yet)
./tasker