devel/usage 6.12.0 FreeBSD
Specification and toolkit for CLI argument parsing and completions
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
771cc061b3- License
- MIT
- Categories
- devel
Description
Usage is a specification for defining the arguments, flags, and subcommands of command-line tools in KDL. The usage CLI reads such specs to generate shell completions for bash, zsh, fish, and PowerShell, as well as manpages, Markdown documentation, and SDKs, and can run scripts that embed their own usage spec. It is used by tools such as mise.
Install
Binary package:
pkg install usage
From the ports tree:
cd /usr/ports/devel/usage/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= usage>0:devel/usage
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | - | - | - | - |
| FreeBSD:14:quarterly | - | - | n/a | - | - |
| FreeBSD:15:latest | - | - | n/a | - | - |
| FreeBSD:15:quarterly | - | - | n/a | n/a | n/a |
| FreeBSD:16:latest | - | - | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 11
No port depends on this one.
Configuration
No options to configure.
- USES
- cargo
- Service scripts
- none
Files
distinfo 231
| File | Size | SHA256 |
|---|---|---|
| rust/crates/aho-corasick-1.1.5.crate | 184315 | c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba |
| rust/crates/alloca-0.4.0.crate | 4257 | e5a7d05ea6aea7e9e64d25b9156ba2fee3fdd659e34e41063cd2fc7cd020d7f4 |
| rust/crates/android_system_properties-0.1.6.crate | 5625 | ae221649c9976a6f6c56ae1facf410f3ddb33cc661c4b7b61020a912d4237fbc |
| rust/crates/anes-0.1.6.crate | 23857 | 4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299 |
| rust/crates/anstream-1.0.0.crate | 28916 | 824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d |
| rust/crates/anstyle-1.0.14.crate | 17787 | 940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000 |
| rust/crates/anstyle-parse-1.0.0.crate | 22042 | 52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e |
| rust/crates/anstyle-query-1.1.5.crate | 10264 | 40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc |
| rust/crates/anstyle-wincon-3.0.11.crate | 12638 | 291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d |
| rust/crates/assert_cmd-2.2.2.crate | 27683 | 2aa3a22042e45de04255c7bf3626e239f450200fd0493c1e382263544b20aea6 |
| rust/crates/autocfg-1.5.1.crate | 18911 | f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53 |
| rust/crates/base64-0.23.1.crate | 93605 | ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5 |
| rust/crates/bit-set-0.8.0.crate | 16289 | 08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3 |
| rust/crates/bit-vec-0.8.0.crate | 24132 | 5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7 |
| rust/crates/bitflags-1.3.2.crate | 23021 | bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a |
| rust/crates/bitflags-2.13.2.crate | 51678 | 3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06 |
| rust/crates/bpaf-0.9.28.crate | 181141 | 597e81e56404b7a3e26ef7b449f82a4b7a661ae76c3cac692b42d6bad06a0fbe |
| rust/crates/bpaf_derive-0.5.26.crate | 29158 | 2f7e98cee839b19076cb3ce1afdb62bb182e04ff5f71f70188827002fae91094 |
| rust/crates/bs58-0.5.1.crate | 28483 | bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4 |
| rust/crates/bstr-1.13.1.crate | 356631 | 6bb31b46c14244e20ee9984b11bf5c992b91fb6939fea616e3512c8baecdbe5f |
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
771cc061b3 |
Jordan Hubbard | devel/usage: New port: Specification and toolkit for CLI argument parsing and completions Usage is a specification for defining the arguments, flags, and
subcommands of command-line tools in KDL. The usage CLI reads such specs
to generate shell completions for bash, zsh, fish, and PowerShell, as
well as manpages, Markdown documentation, and SDKs, and can run scripts
that embed their own usage spec. It is used by tools such as mise.
WWW: https://usage.jdx.dev/
Reported by: jkh (new maintainer)
Pull Request: https://github.com/freebsd/freebsd-ports/pull/630
Co-authored-by: Claude Opus 5.5 <[email protected]> |