Devtoberfest tracking via CLI
2023-9-30 01:0:37 Author: blogs.sap.com(查看原文) 阅读量:7 收藏

Background

As you are already aware we have our SAP Devtoberfest 2023 going on and every one is busy not only learning but as well as earning some points. I saw this app from Marian and that got me thinking. This is devtoberfest for developers why can’t we track it via CLI so that we don’t have to open the browser. All action points from the terminal.

PS: Source code is provided at the end, we can keep enhancing it to suit our needs.

End Result

Ended up making a CLI app using of course Marian endpoint to fetch and display the data. Now all we need to do is install the npm package and start tracking your progress from the CLI.

Options to run the CLI

  • User id is mandatory

devfest -u nabheetscn

  • Filter by Week

devfest -u nabheetscn -w "Week 0"

  • Filter by Completed

devfest -u nabheetscn -w "Week 0" -d true

  • Filter by Not Completed

devfest -u nabheetscn -w "Week 0" -d false

  • Filter by Type

devfest -u nabheetscn -w "Week 1" -d true -t "Session"

Source Code

Package can be installed from here.

Source code availble at https://github.com/NabheetCloud/devfest


文章来源: https://blogs.sap.com/2023/09/29/devtoberfest-tracking-via-cli/
如有侵权请联系:admin#unsafe.sh