Skip to content

clyops 0.1.0

Choose a tag to compare

@github-actions github-actions released this 09 Oct 00:09
· 54 commits to main since this release
d51e27e

First release.

Libraries

One-line-per-option CLI parsing with the same behavior in Bash, JavaScript, TypeScript, Python,
Rust and C
, defined by spec/SPEC.md and checked by a shared conformance suite
of 103 cases:

  • Parsing of long, short, clustered, --no- and repeatable options, optional and variadic
    positionals, and --.
  • Precedence: command line > config file (prefix:key=value, @include) > environment > default.
  • 22 validation rules with typed values, and path resolution relative to wherever a value came from.
  • Generated --help, --help-json-schema (formal schema in spec/schema.json)
    and --bash-completion data.
  • --completion bash|zsh|fish prints a completion script for the program, tested in real shells.
  • Logging helpers info, warn, error, success and die.

clyops-dispatch

A native binary that turns a directory of tools into one command: executables become
subcommands, folders become nested groups, with help listing each level's commands and their
descriptions, and bash/zsh/fish completion through every level into each command's own options.
Defined by a small shebang file, or by a shell alias such as
alias mytool='clyops-dispatch --root ~/mytool/scripts --name mytool'.

clyops runner

A desktop app that lists the clyops tools in a directory, builds a form for each from its schema,
runs them and streams their output.

Downloads

clyops runner Linux: .deb, .rpm or .AppImage (x64 amd64/x86_64, arm64 arm64/aarch64) · macOS: _universal.dmg · Windows: _x64-setup.exe or _x64_en-US.msi
clyops-dispatch clyops-dispatch-<version>-<platform>.tar.gz (Linux x64/arm64, macOS universal) or -windows-x64.zip
C libclyops-<version>-<platform>.tar.gz (static library + header) or -src.tar.gz
Bash clyops.sh
JavaScript / TypeScript clyops-<version>.tgz (npm install ./clyops-<version>.tgz)
Python clyops-<version>-py3-none-any.whl or the sdist
Rust clyops-<version>.crate

SHA256SUMS lists a checksum for every file.

The runner installers are not signed with a paid certificate yet. On macOS, right-click the app
and choose Open the first time (or run xattr -dr com.apple.quarantine "/Applications/clyops-runner.app").
On Windows, choose More info → Run anyway in the SmartScreen prompt.