sussy-cli
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

sussy-cli

sussy-cli is a versatile command-line tool designed for ease of use and productivity. Simplify your tasks with user-friendly commands and customization.

Explore features and get started below.

Table of Contents

Introduction

sussy-cli is a powerful and flexible command-line tool that helps you accomplish various tasks with ease. It provides a set of useful commands and features to streamline your workflow.

Installation

Explain how to install your module. You can provide code snippets or installation commands if necessary.

npm install sussy-cli

Usage

async () => {
  const sussyCLI = await require("sussy-cli").setup();
  // Example 1: Using a menu
  const menuOptions = ["Option 1", "Option 2", "Option 3"];
  sussyCLI
    .radioSelectionMenu({ prompt: "Choose an option:", options: menuOptions })
    .then((selectedOption) => {
      console.log(`You selected: ${menuOptions[selectedOption]}`);
    });

  // Example 2: Creating a progress bar
  const totalProgress = 100;
  for (let progress = 0; progress <= totalProgress; progress += 10) {
    sussyCLI.showProgressBar(progress, totalProgress);
  }
};

License

This project is licensed under the GPL-3.0 - see the LICENSE file for details.

Package Sidebar

Install

npm i sussy-cli

Weekly Downloads

5

Version

1.1.2

License

GPL-3.0

Unpacked Size

61.1 kB

Total Files

13

Last publish

Collaborators

  • roteklaue