ComposableCommands.jl

A Julia package enabling straightforward composition and interpretation of command-line instructions for improved process management
Author singularitti
Popularity
1 Star
Updated Last
7 Months Ago
Started In
June 2023

ComposableCommands

Documentation Build Status Others
Stable Dev Build Status Build Status Build Status pipeline status Coverage GitHub license Code Style: Blue

ComposableCommands.jl is a Julia package that simplifies the process of interpreting and building command-line instructions. It allows you to programmatically construct commands, manage command parameters, handle command redirections, and much more. This is particularly useful when dealing with complex commands or dynamically generated commands.

The code is hosted on GitHub, with some continuous integration services to test its validity.

This repository is created and maintained by @singularitti. You are very welcome to contribute.

Features

  • Abstract representation of command line commands, options, flags, and arguments
  • Support for subcommands and command composition
  • Redirection and pipe handling
  • Intuitive API for building and interpreting commands

Installation

The package can be installed with the Julia package manager. From the Julia REPL, type ] to enter the Pkg REPL mode and run:

pkg> add ComposableCommands

Or, equivalently, via the Pkg API:

julia> import Pkg; Pkg.add("ComposableCommands")

Documentation

  • STABLEdocumentation of the most recently tagged version.
  • DEVdocumentation of the in-development version.

Project status

The package is tested against, and being developed for, Julia 1.6 and above on Linux, macOS, and Windows.

Questions and contributions

You are welcome to post usage questions on our discussion page.

Contributions are very welcome, as are feature requests and suggestions. Please open an issue if you encounter any problems. The Contributing page has guidelines that should be followed when opening pull requests and contributing code.

License

ComposableCommands.jl is released under the MIT License. See LICENSE for details.

Required Packages