š„® mooncakes.io
Modules
Skills
CLI
Build queue
Switch page
Modules
Skills
CLI
Build queue
Search
Sign in
0.1.8 (latest)
0.1.8 (latest)
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Expand all
Collapse all
README
cli
/
which
Find API in this module
/
Collapse all documentation
which
which command for MoonX.
command-line
moonx
wasm
moon add cli/which@0.1.8
Download zip
Author
cli
Version
0.1.8
License
Apache-2.0
Repository
github.com/moonbit-community/cmd
Last updated
3 days ago
Downloads
194
Dependencies (3)
cli/core
0.11.3
moonbitlang/async
0.22.9
moonbitlang/x
0.5.9
Dependents (0)
No dependents
#
which
Locate executable commands on PATH through MoonX.
#
Usage
moonx cli/which moon moonx cli/which -a moon
Search PATH or inspect an explicit path. Windows also uses PATHEXT.
#
Common options
Option
Description
-a
,
--all
Print every match instead of the first.
-s
,
--silent
Suppress output and missing-command diagnostics.
--help
Show help.
--version
Show the version.
#
Notes
Shell aliases, functions and builtins are not searched.
Build from source with the MoonBit 1.0 RC1 toolchain.
See the
compatibility guide
for the supported profile.
Source Files
main.mbt
Install
moon add cli/which@0.1.8
Download zip
which command for MoonX.
command-line
moonx
wasm
cli
Apache-2.0
github.com/moonbit-community/cmd
Updated 3 days ago
194 downloads
Dependencies (3)
cli/core
0.11.3
moonbitlang/async
0.22.9
moonbitlang/x
0.5.9
Dependents (0)
No dependents