Skip to content

pigeonposse/clippium

Clippium

Web About Us Donate Twitter Instagram Medium

BANNER

License Version NPM package minimized gzipped size NPM Unpacked Size

Command Line Interface with Powerful and Pristine Operations

Table of contents

What is clippium?

clippium is a tool that helps to create command line interfaces (CLI) with powerful and pristine operations.

ℹ️ The first version is now available. Feel free to report any issues here

Features

  • πŸš€ Easy to Use: Simple setup with minimal configuration required.

  • ⚑ Fast: Optimized for quick execution and minimal overhead. Read more

  • πŸ“¦ lightweight: Zero dependencies and a small package

  • 🌍 Available for:

    • 🟒 Node.js
    • πŸ¦• Deno
    • 🍞 Bun
    • 🌐 Browser
  • πŸ› οΈ Customizable:

    • Change the help format, version, and error output.
    • Create style themes for your CLIs.
  • 🎨 Presets:

    • Colored: Add color to help output.
    • Default: Add standard flags like --help or --version.
    • Config: Add configuration file support.
  • Toolkit:

    • A CLI toolkit to initialize, convert, transform, and create documentation for your Clippium CLI. Read more
  • Extra tools:

    • Color: Add color support to your text (with browser support).
    • i18n: Add Internalization to your CLI (with browser support).
    • Updater: Add updater notification to your CLI.

Usage

Simple usage

import { Clippium } from 'clippium'

const cli = new Clippium( data )
cli.fn = async data => {
  // do something
}
await cli.run( process.argv.slice( 2 ) )

Module usage example

import process from 'node:process'
import { hideBin, defineData, parse } from 'clippium'

const data = defineData({ ... })
const argv = hideBin( process.argv )

const { 
	flags, 
	positionals, 
	commands 
} = parse( {argv, data} )

// do something

πŸ”‘ Installation

npm install clippium
# or
pnpm install clippium
# or
yarn add clippium
# or
bun add clippium
# or
deno add clippium

βž• More


πŸ‘¨β€πŸ’» Development

clippium is an open-source project and its development is open to anyone who wants to participate.

Issues Pull requests Read more

❀️ Donate

Help us to develop more interesting things.

Donate

πŸ“œ License

This software is licensed with MIT.

Read more

✨ About us

PigeonPosse is a code development collective focused on creating practical and interesting tools that help developers and users enjoy a more agile and comfortable experience. Our projects cover various programming sectors and we do not have a thematic limitation in terms of projects.

More

Contributors

Name Role
Angelo Angelo πŸ‘‘ Author
PigeonPosse PigeonPosse 🏒 Organization

Web About Us Donate Twitter Instagram Medium

About

Command Line Interface with Powerful and Pristine Operations

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published