Penguin-KarChunTKarChunT

Interactive CLI Application

Learn how to create an interactive CLI application using Taskfile to enhance user experience and task management.

In some cases, your application may need to interact with the user. So, we can use interactive: true to enable an interactive CLI application. This allows you to prompt the user for input and handle it accordingly.

Taskfile.yaml
version: '3'
 
tasks:
  default:
    cmds:
      - vim my-file.txt
    interactive: true