Skip to content

Commit dcce809

Browse files
authored
Merge pull request #28562 from mbarbin/opam-publish-cmdlang.0.0.10
5 packages from mbarbin/cmdlang at 0.0.10
2 parents f952555 + aa6d428 commit dcce809

File tree

5 files changed

+264
-0
lines changed
  • packages
    • cmdlang-stdlib-runner/cmdlang-stdlib-runner.0.0.10
    • cmdlang-to-base/cmdlang-to-base.0.0.10
    • cmdlang-to-climate/cmdlang-to-climate.0.0.10
    • cmdlang-to-cmdliner/cmdlang-to-cmdliner.0.0.10
    • cmdlang/cmdlang.0.0.10

5 files changed

+264
-0
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
opam-version: "2.0"
2+
synopsis: "A basic execution runner for cmdlang based on stdlib.arg"
3+
maintainer: ["Mathieu Barbin <[email protected]>"]
4+
authors: ["Mathieu Barbin"]
5+
license: "MIT"
6+
homepage: "https://github.com/mbarbin/cmdlang"
7+
doc: "https://mbarbin.github.io/cmdlang/"
8+
bug-reports: "https://github.com/mbarbin/cmdlang/issues"
9+
depends: [
10+
"dune" {>= "3.17"}
11+
"ocaml" {>= "4.14"}
12+
"cmdlang" {= version}
13+
"odoc" {with-doc}
14+
]
15+
build: [
16+
["dune" "subst"] {dev}
17+
[
18+
"dune"
19+
"build"
20+
"-p"
21+
name
22+
"-j"
23+
jobs
24+
"@install"
25+
"@runtest" {with-test}
26+
"@doc" {with-doc}
27+
]
28+
]
29+
dev-repo: "git+https://github.com/mbarbin/cmdlang.git"
30+
description: """\
31+
32+
[Cmdlang_stdlib_runner] is an execution engine for running command
33+
line programs specified with [cmdlang].
34+
35+
It has no dependencies other than [cmdlang] and is implemented using
36+
the [Arg] module from the OCaml standard library.
37+
38+
This package may be useful as a lightweight alternative to translating
39+
cmdlang parsers to more feature-rich libraries such as [cmdliner],
40+
[climate], or [core.command].
41+
42+
"""
43+
tags: [ "cli" "cmdlang" "stdlib.arg" ]
44+
x-maintenance-intent: [ "(latest)" ]
45+
url {
46+
src:
47+
"https://github.com/mbarbin/cmdlang/releases/download/0.0.10/cmdlang-0.0.10.tbz"
48+
checksum: [
49+
"sha256=ca68da238799022810373d060bbd528d1de7687e8f8b4a89450c0bb33a41897d"
50+
"sha512=7e223e3b02da4132f3638c83cad2b0b5bd3f672d777ad09a1d956db6bbed8d93b6125d754fcc0d970b16ac8150be08f9c3ae6a066868e2128351f9e049fefe53"
51+
]
52+
}
53+
x-commit-hash: "f32ae474676a018bf428b466f5edf0d76d738b01"
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
opam-version: "2.0"
2+
synopsis: "Convert cmdlang Parsers to core.command"
3+
maintainer: ["Mathieu Barbin <[email protected]>"]
4+
authors: ["Mathieu Barbin"]
5+
license: "MIT"
6+
homepage: "https://github.com/mbarbin/cmdlang"
7+
doc: "https://mbarbin.github.io/cmdlang/"
8+
bug-reports: "https://github.com/mbarbin/cmdlang/issues"
9+
depends: [
10+
"dune" {>= "3.17"}
11+
"ocaml" {>= "5.2"}
12+
"base" {>= "v0.17"}
13+
"cmdlang" {= version}
14+
"core" {>= "v0.17"}
15+
"ppx_compare" {>= "v0.17"}
16+
"ppx_enumerate" {>= "v0.17"}
17+
"ppx_let" {>= "v0.17"}
18+
"ppx_sexp_conv" {>= "v0.17"}
19+
"ppx_sexp_value" {>= "v0.17"}
20+
"ppxlib" {>= "0.33"}
21+
"stdio" {>= "v0.17"}
22+
"odoc" {with-doc}
23+
]
24+
build: [
25+
["dune" "subst"] {dev}
26+
[
27+
"dune"
28+
"build"
29+
"-p"
30+
name
31+
"-j"
32+
jobs
33+
"@install"
34+
"@runtest" {with-test}
35+
"@doc" {with-doc}
36+
]
37+
]
38+
dev-repo: "git+https://github.com/mbarbin/cmdlang.git"
39+
description: """\
40+
41+
[Cmdlang_to_base] allows translating command line programs specified
42+
with [cmdlang] into [core.command] commands suitable for execution.
43+
44+
[core.command]: https://github.com/janestreet/core
45+
46+
"""
47+
tags: [ "cli" "cmdlang" "core.command" ]
48+
x-maintenance-intent: [ "(latest)" ]
49+
url {
50+
src:
51+
"https://github.com/mbarbin/cmdlang/releases/download/0.0.10/cmdlang-0.0.10.tbz"
52+
checksum: [
53+
"sha256=ca68da238799022810373d060bbd528d1de7687e8f8b4a89450c0bb33a41897d"
54+
"sha512=7e223e3b02da4132f3638c83cad2b0b5bd3f672d777ad09a1d956db6bbed8d93b6125d754fcc0d970b16ac8150be08f9c3ae6a066868e2128351f9e049fefe53"
55+
]
56+
}
57+
x-commit-hash: "f32ae474676a018bf428b466f5edf0d76d738b01"
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
opam-version: "2.0"
2+
synopsis: "Convert cmdlang Parsers to climate"
3+
maintainer: ["Mathieu Barbin <[email protected]>"]
4+
authors: ["Mathieu Barbin"]
5+
license: "MIT"
6+
homepage: "https://github.com/mbarbin/cmdlang"
7+
doc: "https://mbarbin.github.io/cmdlang/"
8+
bug-reports: "https://github.com/mbarbin/cmdlang/issues"
9+
depends: [
10+
"dune" {>= "3.17"}
11+
"ocaml" {>= "4.14"}
12+
"climate" {>= "0.8.0"}
13+
"cmdlang" {= version}
14+
"odoc" {with-doc}
15+
]
16+
build: [
17+
["dune" "subst"] {dev}
18+
[
19+
"dune"
20+
"build"
21+
"-p"
22+
name
23+
"-j"
24+
jobs
25+
"@install"
26+
"@runtest" {with-test}
27+
"@doc" {with-doc}
28+
]
29+
]
30+
dev-repo: "git+https://github.com/mbarbin/cmdlang.git"
31+
description: """\
32+
33+
[Cmdlang_to_climate] allows translating command line programs
34+
specified with [cmdlang] into [climate] commands suitable for
35+
execution.
36+
37+
[climate]: https://github.com/gridbugs/climate
38+
39+
"""
40+
tags: [ "cli" "cmdlang" "climate" ]
41+
x-maintenance-intent: [ "(latest)" ]
42+
url {
43+
src:
44+
"https://github.com/mbarbin/cmdlang/releases/download/0.0.10/cmdlang-0.0.10.tbz"
45+
checksum: [
46+
"sha256=ca68da238799022810373d060bbd528d1de7687e8f8b4a89450c0bb33a41897d"
47+
"sha512=7e223e3b02da4132f3638c83cad2b0b5bd3f672d777ad09a1d956db6bbed8d93b6125d754fcc0d970b16ac8150be08f9c3ae6a066868e2128351f9e049fefe53"
48+
]
49+
}
50+
x-commit-hash: "f32ae474676a018bf428b466f5edf0d76d738b01"
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
opam-version: "2.0"
2+
synopsis: "Convert cmdlang Parsers to cmdliner"
3+
maintainer: ["Mathieu Barbin <[email protected]>"]
4+
authors: ["Mathieu Barbin"]
5+
license: "MIT"
6+
homepage: "https://github.com/mbarbin/cmdlang"
7+
doc: "https://mbarbin.github.io/cmdlang/"
8+
bug-reports: "https://github.com/mbarbin/cmdlang/issues"
9+
depends: [
10+
"dune" {>= "3.17"}
11+
"ocaml" {>= "4.14"}
12+
"cmdlang" {= version}
13+
"cmdliner" {>= "1.3.0"}
14+
"odoc" {with-doc}
15+
]
16+
build: [
17+
["dune" "subst"] {dev}
18+
[
19+
"dune"
20+
"build"
21+
"-p"
22+
name
23+
"-j"
24+
jobs
25+
"@install"
26+
"@runtest" {with-test}
27+
"@doc" {with-doc}
28+
]
29+
]
30+
dev-repo: "git+https://github.com/mbarbin/cmdlang.git"
31+
description: """\
32+
33+
[Cmdlang_to_cmdliner] allows translating command line programs
34+
specified with [cmdlang] into [cmdliner] commands suitable for
35+
execution.
36+
37+
[cmdliner]: https://github.com/dbuenzli/cmdliner
38+
39+
"""
40+
tags: [ "cli" "cmdlang" "cmdliner" ]
41+
x-maintenance-intent: [ "(latest)" ]
42+
url {
43+
src:
44+
"https://github.com/mbarbin/cmdlang/releases/download/0.0.10/cmdlang-0.0.10.tbz"
45+
checksum: [
46+
"sha256=ca68da238799022810373d060bbd528d1de7687e8f8b4a89450c0bb33a41897d"
47+
"sha512=7e223e3b02da4132f3638c83cad2b0b5bd3f672d777ad09a1d956db6bbed8d93b6125d754fcc0d970b16ac8150be08f9c3ae6a066868e2128351f9e049fefe53"
48+
]
49+
}
50+
x-commit-hash: "f32ae474676a018bf428b466f5edf0d76d738b01"
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
opam-version: "2.0"
2+
synopsis: "Declarative Command-line Parsing for OCaml"
3+
maintainer: ["Mathieu Barbin <[email protected]>"]
4+
authors: ["Mathieu Barbin"]
5+
license: "MIT"
6+
homepage: "https://github.com/mbarbin/cmdlang"
7+
doc: "https://mbarbin.github.io/cmdlang/"
8+
bug-reports: "https://github.com/mbarbin/cmdlang/issues"
9+
depends: [
10+
"dune" {>= "3.17"}
11+
"ocaml" {>= "4.14"}
12+
"odoc" {with-doc}
13+
]
14+
build: [
15+
["dune" "subst"] {dev}
16+
[
17+
"dune"
18+
"build"
19+
"-p"
20+
name
21+
"-j"
22+
jobs
23+
"@install"
24+
"@runtest" {with-test}
25+
"@doc" {with-doc}
26+
]
27+
]
28+
dev-repo: "git+https://github.com/mbarbin/cmdlang.git"
29+
description: """\
30+
31+
Cmdlang is a library for creating command-line parsers in OCaml.
32+
Implemented as an OCaml EDSL, its declarative specification language
33+
lives at the intersection of other well-established similar libraries.
34+
35+
Cmdlang doesn't include an execution engine. Instead, Cmdlang parsers
36+
are automatically translated to [cmdliner], [core.command], or
37+
[climate] commands for execution.
38+
39+
[cmdliner]: https://github.com/dbuenzli/cmdliner
40+
[climate]: https://github.com/gridbugs/climate
41+
[core.command]: https://github.com/janestreet/core
42+
43+
"""
44+
tags: [ "cli" ]
45+
x-maintenance-intent: [ "(latest)" ]
46+
url {
47+
src:
48+
"https://github.com/mbarbin/cmdlang/releases/download/0.0.10/cmdlang-0.0.10.tbz"
49+
checksum: [
50+
"sha256=ca68da238799022810373d060bbd528d1de7687e8f8b4a89450c0bb33a41897d"
51+
"sha512=7e223e3b02da4132f3638c83cad2b0b5bd3f672d777ad09a1d956db6bbed8d93b6125d754fcc0d970b16ac8150be08f9c3ae6a066868e2128351f9e049fefe53"
52+
]
53+
}
54+
x-commit-hash: "f32ae474676a018bf428b466f5edf0d76d738b01"

0 commit comments

Comments
 (0)