Skip to content

Commit

Permalink
Rename _command to _cli
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbin committed Feb 23, 2025
1 parent 7b12924 commit 2cc4642
Show file tree
Hide file tree
Showing 26 changed files with 30 additions and 34 deletions.
2 changes: 1 addition & 1 deletion bin/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
(name main)
(package bopkit)
(public_name bopkit)
(libraries bopkit_command cmdlang-cmdliner-runner)
(libraries bopkit_cli cmdlang-cmdliner-runner)
(flags :standard -w +a-4-40-41-42-44-45-48-66 -warn-error +a))
4 changes: 1 addition & 3 deletions bin/main.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
let () =
Cmdlang_cmdliner_runner.run Bopkit_command.main ~name:"bopkit" ~version:"%%VERSION%%"
;;
let () = Cmdlang_cmdliner_runner.run Bopkit_cli.main ~name:"bopkit" ~version:"%%VERSION%%"
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/bopkit_bdd_cli/src/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(library
(name bopkit_bdd_command)
(name bopkit_bdd_cli)
(public_name bopkit.bdd-command)
(flags
:standard
Expand Down
6 changes: 3 additions & 3 deletions lib/bopkit_bdd_cli/test/dune
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
(library
(name bopkit_bdd_command_test)
(public_name bopkit-tests.bopkit_bdd_command_test)
(name bopkit_bdd_cli_test)
(public_name bopkit-tests.bopkit_bdd_cli_test)
(inline_tests)
(flags :standard -w +a-4-40-41-42-44-45-48-66 -warn-error +a)
(libraries bopkit_bdd_command)
(libraries bopkit_bdd_cli)
(lint
(pps ppx_js_style -check-doc-comments))
(preprocess
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let fmt_cmd =
let main =
Command.group
~summary:"bopkit command line"
[ "bdd", Bopkit_bdd_command.main
[ "bdd", Bopkit_bdd_cli.main
; "bop2c", Cmd_bop2c.main
; "check", Cmd_check.main
; "counter", Bopkit_counter.Counter.main
Expand All @@ -30,7 +30,7 @@ let main =
; "echo", Cmd_echo.main
; "fmt", fmt_cmd
; "print-sites", print_sites_cmd
; "process", Bopkit_process_command.main
; "process", Bopkit_process_cli.main
; "pulse", Bopkit_pulse.Pulse.main
; "simu", Cmd_simu.main
]
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions lib/bopkit_cli/src/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(library
(name bopkit_command)
(name bopkit_cli)
(public_name bopkit.command)
(flags
:standard
Expand All @@ -19,12 +19,12 @@
auto-format
base
bopkit
bopkit_bdd_command
bopkit_bdd_cli
bopkit_circuit
bopkit_compiler
bopkit_counter
bopkit_pp
bopkit_process_command
bopkit_process_cli
bopkit_pulse
bopkit_simulator
bopkit_sites
Expand Down
6 changes: 3 additions & 3 deletions lib/bopkit_cli/test/dune
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
(library
(name bopkit_command_test)
(public_name bopkit-tests.bopkit_command_test)
(name bopkit_cli_test)
(public_name bopkit-tests.bopkit_cli_test)
(inline_tests)
(flags :standard -w +a-4-40-41-42-44-45-48-66 -warn-error +a)
(libraries bopkit_command)
(libraries bopkit_cli)
(lint
(pps ppx_js_style -check-doc-comments))
(preprocess
Expand Down
2 changes: 1 addition & 1 deletion lib/bopkit_process_cli/src/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(library
(name bopkit_process_command)
(name bopkit_process_cli)
(public_name bopkit.process-command)
(flags
:standard
Expand Down
6 changes: 3 additions & 3 deletions lib/bopkit_process_cli/test/dune
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
(library
(name bopkit_process_command_test)
(public_name bopkit-tests.bopkit_process_command_test)
(name bopkit_process_cli_test)
(public_name bopkit-tests.bopkit_process_cli_test)
(inline_tests)
(flags :standard -w +a-4-40-41-42-44-45-48-66 -warn-error +a)
(libraries bopkit_process_command)
(libraries bopkit_process_cli)
(lint
(pps ppx_js_style -check-doc-comments))
(preprocess
Expand Down
2 changes: 1 addition & 1 deletion project/subleq/bin/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
(name main)
(package subleq)
(public_name subleq)
(libraries cmdlang-cmdliner-runner subleq_command)
(libraries cmdlang-cmdliner-runner subleq_cli)
(flags :standard -w +a-4-40-41-42-44-45-48-66 -warn-error +a))
4 changes: 1 addition & 3 deletions project/subleq/bin/main.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
let () =
Cmdlang_cmdliner_runner.run Subleq_command.main ~name:"subleq" ~version:"%%VERSION%%"
;;
let () = Cmdlang_cmdliner_runner.run Subleq_cli.main ~name:"subleq" ~version:"%%VERSION%%"
2 changes: 1 addition & 1 deletion project/subleq/lib/subleq_cli/src/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(library
(name subleq_command)
(name subleq_cli)
(public_name bopkit.subleq-command)
(flags
:standard
Expand Down
6 changes: 3 additions & 3 deletions project/subleq/lib/subleq_cli/test/dune
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
(library
(name subleq_command_test)
(public_name bopkit-tests.subleq_command_test)
(name subleq_cli_test)
(public_name bopkit-tests.subleq_cli_test)
(inline_tests)
(flags :standard -w +a-4-40-41-42-44-45-48-66 -warn-error +a)
(libraries subleq_command)
(libraries subleq_cli)
(lint
(pps ppx_js_style -check-doc-comments))
(preprocess
Expand Down
2 changes: 1 addition & 1 deletion project/visa/bin/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
(name main)
(package visa)
(public_name visa)
(libraries cmdlang-cmdliner-runner visa_command)
(libraries cmdlang-cmdliner-runner visa_cli)
(flags :standard -w +a-4-40-41-42-44-45-48-66 -warn-error +a))
2 changes: 1 addition & 1 deletion project/visa/bin/main.ml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
let () = Cmdlang_cmdliner_runner.run Visa_command.main ~name:"visa" ~version:"%%VERSION%%"
let () = Cmdlang_cmdliner_runner.run Visa_cli.main ~name:"visa" ~version:"%%VERSION%%"
2 changes: 1 addition & 1 deletion project/visa/lib/visa_cli/src/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(library
(name visa_command)
(name visa_cli)
(public_name bopkit.visa-command)
(flags
:standard
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions project/visa/lib/visa_cli/test/dune
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
(library
(name visa_command_test)
(public_name bopkit-tests.visa_command_test)
(name visa_cli_test)
(public_name bopkit-tests.visa_cli_test)
(inline_tests)
(flags :standard -w +a-4-40-41-42-44-45-48-66 -warn-error +a)
(libraries visa_command)
(libraries visa_cli)
(lint
(pps ppx_js_style -check-doc-comments))
(preprocess
Expand Down

0 comments on commit 2cc4642

Please sign in to comment.