All Projects â†’ cortinico â†’ Kscript Template

cortinico / Kscript Template

Licence: mit
📜 Get started with kscript in a few seconds... with colored logs, github actions and more!

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Kscript Template

Hackathon Starter
A boilerplate for Node.js web applications
Stars: ✭ 32,485 (+111917.24%)
Mutual labels:  hacktoberfest
Shared Memory Dict
A very simple shared memory dict implementation
Stars: ✭ 28 (-3.45%)
Mutual labels:  hacktoberfest
Ds Algo Point
This repository contains codes for various data structures and algorithms in C, C++, Java, Python, C#, Go, JavaScript, PHP, Kotlin and Scala
Stars: ✭ 949 (+3172.41%)
Mutual labels:  hacktoberfest
Julia
The Julia Programming Language
Stars: ✭ 37,497 (+129200%)
Mutual labels:  hacktoberfest
Opencast Docker
Dockerfiles for Opencast
Stars: ✭ 27 (-6.9%)
Mutual labels:  hacktoberfest
Cape
Cape Core
Stars: ✭ 28 (-3.45%)
Mutual labels:  hacktoberfest
Tldr
📚 Collaborative cheatsheets for console commands
Stars: ✭ 36,408 (+125444.83%)
Mutual labels:  hacktoberfest
Usefonts
A tool to help designers and developers select their perfect fonts. It uses Google Fonts API to fetch the fonts.
Stars: ✭ 29 (+0%)
Mutual labels:  hacktoberfest
Markdown
A super fast, highly extensible markdown parser for PHP
Stars: ✭ 945 (+3158.62%)
Mutual labels:  hacktoberfest
Godot Python
Python support for Godot 🐍🐍🐍
Stars: ✭ 944 (+3155.17%)
Mutual labels:  hacktoberfest
Uwp bridge java
Skeleton for packing Java applications for publishing them on Windows Store
Stars: ✭ 27 (-6.9%)
Mutual labels:  hacktoberfest
Mvvm C Templates
Templates for MVVM-C architecture
Stars: ✭ 27 (-6.9%)
Mutual labels:  hacktoberfest
Cineaste Ios
An iOS application to manage movies you would like to see and movies you have seen.
Stars: ✭ 28 (-3.45%)
Mutual labels:  hacktoberfest
Definitelytyped
The repository for high quality TypeScript type definitions.
Stars: ✭ 37,066 (+127713.79%)
Mutual labels:  hacktoberfest
Openlauncher
Customizable and Open Source Launcher for Android
Stars: ✭ 945 (+3158.62%)
Mutual labels:  hacktoberfest
Fastlane
🚀 The easiest way to automate building and releasing your iOS and Android apps
Stars: ✭ 33,382 (+115010.34%)
Mutual labels:  hacktoberfest
Stdrename
'stdrename' is a small command line utility to rename all files in a folder according to a specified naming convention (camelCase, snake_case, kebab-case, etc.).
Stars: ✭ 28 (-3.45%)
Mutual labels:  hacktoberfest
Ideoxan
👩‍đŸ’ģ Ideoxan is a free to use online tool to learn programming.
Stars: ✭ 29 (+0%)
Mutual labels:  hacktoberfest
Groupthink
A collaborative democratic platform built atop GitHub, designed for open policymaking and manifesto writing.
Stars: ✭ 28 (-3.45%)
Mutual labels:  hacktoberfest
Tiktok Api
The Unofficial TikTok API Wrapper In Python
Stars: ✭ 940 (+3141.38%)
Mutual labels:  hacktoberfest

kscript-template 📜

Use this template Run Script License Language

A simple Github template that lets you create a kscript repository ready to run and share in a few seconds.

How to use đŸ‘Ŗ

Just click on Use this template button to create a new repo starting from this template.

Once created don't forget to update the:

  • Script name both the filename and the occurrencies inside the script.
  • The script name inside the Github Actions workflow file.

The templated script is just printing the list of files from a input directory. You can use this as a starting point to create your script around it:

Features 🎨

  • Cli Args parsing with picocli.
  • Logging functions info, warn, error, success with emoji support ✅⚠ī¸âŒ.
  • Support for ASCII colored output 🎨.
  • CI Setup with GitHub Actions.
  • Publishing of bundled artifact out of the box.
  • Issues Template (bug report + feature request).
  • Pull Request Template.

CLI Args ⌨ī¸

This project is using picocli to easily parse the CLI Options and Parameters. You can find more example on how to set up the flags on the official documentation page.

You can use the --help flag to get a nice report for the available flags:

If you want to see how a failure looks like, invoke with --fail or -f:

Logging đŸ“Ŗ

A couple of util functions are available for logging:

  • ℹī¸ info to report a info message. You can optionally provide an emoji to enrich the log.
  • ✅ succ to report a green success message.
  • ⚠ī¸ warn to report a yellow warning message.
  • ❌ error to report an error. Optionally you can provide also:
    • A Throwable that will be logged on the screen
    • An exit code Int. If not provided the default is 1

Calling error will also stop the script.

CI ⚙ī¸

This template is using GitHub Actions as CI. You don't need to setup any external service and you should have a running CI once you start using this template.

The workflow Run Script will take care of running the script and publishing the bundled version of it as an artifact (users can easily download it).

Contributing 🤝

Feel free to open a issue or submit a pull request for any bugs/improvements.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].