Skip to content

darkroomengineering/omnes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Omnes is a command-line interface (CLI) tool that simplifies the execution of common commands across different package managers. It automatically detects the package manager used in your project and runs the appropriate command using the detected package manager.

The name is the translation from 'all of them' to latin.


Installation

To install Omnes globally, use the following command:

npm install -g omnes-cli

Usage

Once installed, you can use the omnes command followed by the desired command you want to run. Omnes will detect the package manager based on the presence of specific lockfiles in your project directory and execute the command accordingly.

omnes <command>

For example:

To install dependencies:

omnes install

To run a development server:

omnes run dev

To build your project:

omnes run build

Omnes supports the following package managers:

  • npm
  • Yarn
  • pnpm
  • Bun

If no lockfile is found, Omnes will default to using npm.

Omnes detects the package manager by looking for specific lockfiles in your project directory:

  • Bun: bun.lockb
  • pnpm: pnpm-lock.yaml
  • npm: package-lock.json
  • Yarn: yarn.lock

*If none of these lockfiles are found, Omnes will default to using npm.

Authors

This open source package is maintained by the darkroom.engineering team:


License

The MIT License.